Class: Azure::Hdinsight::Mgmt::V2015_03_01_preview::Models::SecurityProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb

Overview

The security profile which contains Ssh public key for the HDInsight cluster.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#aadds_resource_idString

Domain Service.

Returns:

  • (String)

    The resource ID of the user’s Azure Active Directory



44
45
46
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb', line 44

def aadds_resource_id
  @aadds_resource_id
end

#cluster_users_group_dnsArray<String>

user groups

Returns:

  • (Array<String>)

    Optional. The Distinguished Names for cluster



40
41
42
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb', line 40

def cluster_users_group_dns
  @cluster_users_group_dns
end

#directory_typeDirectoryType

‘ActiveDirectory’

Returns:

  • (DirectoryType)

    The directory type. Possible values include:



18
19
20
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb', line 18

def directory_type
  @directory_type
end

#domainString

Returns The organization’s active directory domain.

Returns:

  • (String)

    The organization’s active directory domain.



21
22
23
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb', line 21

def domain
  @domain
end

#domain_user_passwordString

Returns The domain admin password.

Returns:

  • (String)

    The domain admin password.



36
37
38
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb', line 36

def domain_user_password
  @domain_user_password
end

#domain_usernameString

privileges on the cluster.

Returns:

  • (String)

    The domain user account that will have admin



33
34
35
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb', line 33

def domain_username
  @domain_username
end

#ldaps_urlsArray<String>

Active Directory.

Returns:

  • (Array<String>)

    The LDAPS protocol URLs to communicate with the



29
30
31
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb', line 29

def ldaps_urls
  @ldaps_urls
end

#msi_resource_idString

and create cluster-related artifacts in the user’s AADDS.

Returns:

  • (String)

    User assigned identity that has permissions to read



48
49
50
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb', line 48

def msi_resource_id
  @msi_resource_id
end

#organizational_unit_dnString

place the cluster and service accounts.

Returns:

  • (String)

    The organizational unit within the Active Directory to



25
26
27
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb', line 25

def organizational_unit_dn
  @organizational_unit_dn
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb', line 55

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SecurityProfile',
    type: {
      name: 'Composite',
      class_name: 'SecurityProfile',
      model_properties: {
        directory_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'directoryType',
          type: {
            name: 'Enum',
            module: 'DirectoryType'
          }
        },
        domain: {
          client_side_validation: true,
          required: false,
          serialized_name: 'domain',
          type: {
            name: 'String'
          }
        },
        organizational_unit_dn: {
          client_side_validation: true,
          required: false,
          serialized_name: 'organizationalUnitDN',
          type: {
            name: 'String'
          }
        },
        ldaps_urls: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ldapsUrls',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        domain_username: {
          client_side_validation: true,
          required: false,
          serialized_name: 'domainUsername',
          type: {
            name: 'String'
          }
        },
        domain_user_password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'domainUserPassword',
          type: {
            name: 'String'
          }
        },
        cluster_users_group_dns: {
          client_side_validation: true,
          required: false,
          serialized_name: 'clusterUsersGroupDNs',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        aadds_resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'aaddsResourceId',
          type: {
            name: 'String'
          }
        },
        msi_resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'msiResourceId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end