Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::AzureMLLinkedService

Inherits:
LinkedService
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_mllinked_service.rb

Overview

Azure ML 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

#initializeAzureMLLinkedService

Returns a new instance of AzureMLLinkedService.



16
17
18
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_mllinked_service.rb', line 16

def initialize
  @type = "AzureML"
end

Instance Attribute Details

#api_keySecretBase

endpoint.

Returns:

  • (SecretBase)

    The API key for accessing the Azure ML model



28
29
30
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_mllinked_service.rb', line 28

def api_key
  @api_key
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



51
52
53
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_mllinked_service.rb', line 51

def encrypted_credential
  @encrypted_credential
end

#ml_endpointObject

endpoint. Type: string (or Expression with resultType string).

Returns:

  • The Batch Execution REST URL for an Azure ML Web Service



24
25
26
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_mllinked_service.rb', line 24

def ml_endpoint
  @ml_endpoint
end

#service_principal_idObject

the ARM-based updateResourceEndpoint of an Azure ML web service. Type: string (or Expression with resultType string).

Returns:

  • The ID of the service principal used to authenticate against



37
38
39
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_mllinked_service.rb', line 37

def service_principal_id
  @service_principal_id
end

#service_principal_keySecretBase

authenticate against the ARM-based updateResourceEndpoint of an Azure ML web service.

Returns:

  • (SecretBase)

    The key of the service principal used to



42
43
44
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_mllinked_service.rb', line 42

def service_principal_key
  @service_principal_key
end

#tenantObject

belongs. Type: string (or Expression with resultType string).

Returns:

  • The name or ID of the tenant to which the service principal



46
47
48
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_mllinked_service.rb', line 46

def tenant
  @tenant
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_mllinked_service.rb', line 20

def type
  @type
end

#update_resource_endpointObject

endpoint. Type: string (or Expression with resultType string).

Returns:

  • The Update Resource REST URL for an Azure ML Web Service



32
33
34
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_mllinked_service.rb', line 32

def update_resource_endpoint
  @update_resource_endpoint
end

Class Method Details

.mapperObject

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



58
59
60
61
62
63
64
65
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
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_mllinked_service.rb', line 58

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureML',
    type: {
      name: 'Composite',
      class_name: 'AzureMLLinkedService',
      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'
          }
        },
        ml_endpoint: {
          client_side_validation: true,
          required: true,
          serialized_name: 'typeProperties.mlEndpoint',
          type: {
            name: 'Object'
          }
        },
        api_key: {
          client_side_validation: true,
          required: true,
          serialized_name: 'typeProperties.apiKey',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'SecretBase',
            class_name: 'SecretBase'
          }
        },
        update_resource_endpoint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.updateResourceEndpoint',
          type: {
            name: 'Object'
          }
        },
        service_principal_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.servicePrincipalId',
          type: {
            name: 'Object'
          }
        },
        service_principal_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.servicePrincipalKey',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'SecretBase',
            class_name: 'SecretBase'
          }
        },
        tenant: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.tenant',
          type: {
            name: 'Object'
          }
        },
        encrypted_credential: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.encryptedCredential',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end