Class: Azure::DataFactory::Mgmt::V2018_06_01::Models::AmazonMWSLinkedService

Inherits:
LinkedService
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb

Overview

Amazon Marketplace Web Service linked service.

Instance Attribute Summary collapse

Attributes inherited from LinkedService

#additional_properties, #annotations, #connect_via, #description, #parameters

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAmazonMWSLinkedService

Returns a new instance of AmazonMWSLinkedService.



16
17
18
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb', line 16

def initialize
  @type = "AmazonMWS"
end

Instance Attribute Details

#access_key_idObject

Returns The access key id used to access data.

Returns:

  • The access key id used to access data.



38
39
40
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb', line 38

def access_key_id
  @access_key_id
end

#encrypted_credentialObject

are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).

Returns:

  • The encrypted credential used for authentication. Credentials



59
60
61
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb', line 59

def encrypted_credential
  @encrypted_credential
end

#endpointObject

mws.amazonservices.com)

Returns:

  • The endpoint of the Amazon MWS server, (i.e.



24
25
26
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb', line 24

def endpoint
  @endpoint
end

#marketplace_idObject

retrieve data from multiple Marketplace IDs, separate them with a comma (,). (i.e. A2EUQ1WTGCTBG2)

Returns:

  • The Amazon Marketplace ID you want to retrieve data from. To



29
30
31
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb', line 29

def marketplace_id
  @marketplace_id
end

#mws_auth_tokenSecretBase

Returns The Amazon MWS authentication token.

Returns:

  • (SecretBase)

    The Amazon MWS authentication token.



35
36
37
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb', line 35

def mws_auth_token
  @mws_auth_token
end

#secret_keySecretBase

Returns The secret key used to access data.

Returns:

  • (SecretBase)

    The secret key used to access data.



41
42
43
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb', line 41

def secret_key
  @secret_key
end

#seller_idObject

Returns The Amazon seller ID.

Returns:

  • The Amazon seller ID.



32
33
34
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb', line 32

def seller_id
  @seller_id
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb', line 20

def type
  @type
end

#use_encrypted_endpointsObject

HTTPS. The default value is true.

Returns:

  • Specifies whether the data source endpoints are encrypted using



45
46
47
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb', line 45

def use_encrypted_endpoints
  @use_encrypted_endpoints
end

#use_host_verificationObject

certificate to match the host name of the server when connecting over SSL. The default value is true.

Returns:

  • Specifies whether to require the host name in the server’s



50
51
52
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb', line 50

def use_host_verification
  @use_host_verification
end

#use_peer_verificationObject

connecting over SSL. The default value is true.

Returns:

  • Specifies whether to verify the identity of the server when



54
55
56
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb', line 54

def use_peer_verification
  @use_peer_verification
end

Class Method Details

.mapperObject

Mapper for AmazonMWSLinkedService class as Ruby Hash. This will be used for serialization/deserialization.



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb', line 66

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AmazonMWS',
    type: {
      name: 'Composite',
      class_name: 'AmazonMWSLinkedService',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        connect_via: {
          client_side_validation: true,
          required: false,
          serialized_name: 'connectVia',
          type: {
            name: 'Composite',
            class_name: 'IntegrationRuntimeReference'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'parameters',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ParameterSpecificationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ParameterSpecification'
                }
            }
          }
        },
        annotations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'annotations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        endpoint: {
          client_side_validation: true,
          required: true,
          serialized_name: 'typeProperties.endpoint',
          type: {
            name: 'Object'
          }
        },
        marketplace_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'typeProperties.marketplaceID',
          type: {
            name: 'Object'
          }
        },
        seller_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'typeProperties.sellerID',
          type: {
            name: 'Object'
          }
        },
        mws_auth_token: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.mwsAuthToken',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'SecretBase',
            class_name: 'SecretBase'
          }
        },
        access_key_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'typeProperties.accessKeyId',
          type: {
            name: 'Object'
          }
        },
        secret_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.secretKey',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'SecretBase',
            class_name: 'SecretBase'
          }
        },
        use_encrypted_endpoints: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.useEncryptedEndpoints',
          type: {
            name: 'Object'
          }
        },
        use_host_verification: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.useHostVerification',
          type: {
            name: 'Object'
          }
        },
        use_peer_verification: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.usePeerVerification',
          type: {
            name: 'Object'
          }
        },
        encrypted_credential: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.encryptedCredential',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end