Class: Azure::NetApp::Mgmt::V2020_11_01::Models::ExportPolicyRule

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb

Overview

Volume Export Policy Rule

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#allowed_clientsString

with IPv4 CIDRs, IPv4 host addresses and host names



61
62
63
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb', line 61

def allowed_clients
  @allowed_clients
end

#cifsBoolean



49
50
51
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb', line 49

def cifs
  @cifs
end

#has_root_accessBoolean



64
65
66
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb', line 64

def has_root_access
  @has_root_access
end

#kerberos5i_read_onlyBoolean

version 2020-05-01 or later. Default value: false .



34
35
36
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb', line 34

def kerberos5i_read_only
  @kerberos5i_read_only
end

#kerberos5i_read_writeBoolean

swagger version 2020-05-01 or later. Default value: false .



38
39
40
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb', line 38

def kerberos5i_read_write
  @kerberos5i_read_write
end

#kerberos5p_read_onlyBoolean

version 2020-05-01 or later. Default value: false .



42
43
44
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb', line 42

def kerberos5p_read_only
  @kerberos5p_read_only
end

#kerberos5p_read_writeBoolean

swagger version 2020-05-01 or later. Default value: false .



46
47
48
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb', line 46

def kerberos5p_read_write
  @kerberos5p_read_write
end

#kerberos5read_onlyBoolean

version 2020-05-01 or later. Default value: false .



26
27
28
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb', line 26

def kerberos5read_only
  @kerberos5read_only
end

#kerberos5read_writeBoolean

swagger version 2020-05-01 or later. Default value: false .



30
31
32
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb', line 30

def kerberos5read_write
  @kerberos5read_write
end

#nfsv3Boolean

volumes



53
54
55
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb', line 53

def nfsv3
  @nfsv3
end

#nfsv41Boolean

volumes



57
58
59
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb', line 57

def nfsv41
  @nfsv41
end

#rule_indexInteger



16
17
18
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb', line 16

def rule_index
  @rule_index
end

#unix_read_onlyBoolean



19
20
21
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb', line 19

def unix_read_only
  @unix_read_only
end

#unix_read_writeBoolean



22
23
24
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb', line 22

def unix_read_write
  @unix_read_write
end

Class Method Details

.mapperObject

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



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
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb', line 71

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'exportPolicyRule',
    type: {
      name: 'Composite',
      class_name: 'ExportPolicyRule',
      model_properties: {
        rule_index: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ruleIndex',
          type: {
            name: 'Number'
          }
        },
        unix_read_only: {
          client_side_validation: true,
          required: false,
          serialized_name: 'unixReadOnly',
          type: {
            name: 'Boolean'
          }
        },
        unix_read_write: {
          client_side_validation: true,
          required: false,
          serialized_name: 'unixReadWrite',
          type: {
            name: 'Boolean'
          }
        },
        kerberos5read_only: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kerberos5ReadOnly',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        },
        kerberos5read_write: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kerberos5ReadWrite',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        },
        kerberos5i_read_only: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kerberos5iReadOnly',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        },
        kerberos5i_read_write: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kerberos5iReadWrite',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        },
        kerberos5p_read_only: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kerberos5pReadOnly',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        },
        kerberos5p_read_write: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kerberos5pReadWrite',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        },
        cifs: {
          client_side_validation: true,
          required: false,
          serialized_name: 'cifs',
          type: {
            name: 'Boolean'
          }
        },
        nfsv3: {
          client_side_validation: true,
          required: false,
          serialized_name: 'nfsv3',
          type: {
            name: 'Boolean'
          }
        },
        nfsv41: {
          client_side_validation: true,
          required: false,
          serialized_name: 'nfsv41',
          type: {
            name: 'Boolean'
          }
        },
        allowed_clients: {
          client_side_validation: true,
          required: false,
          serialized_name: 'allowedClients',
          type: {
            name: 'String'
          }
        },
        has_root_access: {
          client_side_validation: true,
          required: false,
          serialized_name: 'hasRootAccess',
          default_value: true,
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end