Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::WebActivityAuthentication

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

Overview

Web activity authentication properties.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#passwordSecureString

authentication.

Returns:



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

def password
  @password
end

#pfxSecureString

Returns Base64-encoded contents of a PFX file.

Returns:



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

def pfx
  @pfx
end

#resourceString

when using MSI Authentication.

Returns:

  • (String)

    Resource for which Azure Auth token will be requested



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

def resource
  @resource
end

#typeString

(Basic/ClientCertificate/MSI)

Returns:

  • (String)

    Web activity authentication



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

def type
  @type
end

#usernameString

authentication.

Returns:

  • (String)

    Web activity authentication user name for basic



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

def username
  @username
end

Class Method Details

.mapperObject

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



39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WebActivityAuthentication',
    type: {
      name: 'Composite',
      class_name: 'WebActivityAuthentication',
      model_properties: {
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        pfx: {
          client_side_validation: true,
          required: false,
          serialized_name: 'pfx',
          type: {
            name: 'Composite',
            class_name: 'SecureString'
          }
        },
        username: {
          client_side_validation: true,
          required: false,
          serialized_name: 'username',
          type: {
            name: 'String'
          }
        },
        password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'password',
          type: {
            name: 'Composite',
            class_name: 'SecureString'
          }
        },
        resource: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resource',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end