Class: Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPolicy

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy.rb

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#idString



17
18
19
# File 'lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy.rb', line 17

def id
  @id
end

#kindString



26
27
28
# File 'lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy.rb', line 26

def kind
  @kind
end

#locationString



29
30
31
# File 'lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy.rb', line 29

def location
  @location
end

#nameString



20
21
22
# File 'lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy.rb', line 20

def name
  @name
end

#provisioning_stateString

policy.



40
41
42
# File 'lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy.rb', line 40

def provisioning_state
  @provisioning_state
end

#requestsArray<JitNetworkAccessRequest>



36
37
38
# File 'lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy.rb', line 36

def requests
  @requests
end

#typeString



23
24
25
# File 'lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy.rb', line 23

def type
  @type
end

#virtual_machinesArray<JitNetworkAccessPolicyVirtualMachine>

for Microsoft.Compute/virtualMachines resource type.



33
34
35
# File 'lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy.rb', line 33

def virtual_machines
  @virtual_machines
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy.rb', line 47

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'JitNetworkAccessPolicy',
    type: {
      name: 'Composite',
      class_name: 'JitNetworkAccessPolicy',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        virtual_machines: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.virtualMachines',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'JitNetworkAccessPolicyVirtualMachineElementType',
                type: {
                  name: 'Composite',
                  class_name: 'JitNetworkAccessPolicyVirtualMachine'
                }
            }
          }
        },
        requests: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.requests',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'JitNetworkAccessRequestElementType',
                type: {
                  name: 'Composite',
                  class_name: 'JitNetworkAccessRequest'
                }
            }
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end