Class: Azure::Resources::Mgmt::V2018_06_01::Models::ApplicationDefinition

Inherits:
GenericResource show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition.rb

Overview

Information about managed application definition.

Instance Attribute Summary collapse

Attributes inherited from GenericResource

#identity, #managed_by, #sku

Attributes inherited from Resource

#id, #location, #name, #tags, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#artifactsArray<ApplicationArtifact>

application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition.

Returns:



34
35
36
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition.rb', line 34

def artifacts
  @artifacts
end

#authorizationsArray<ApplicationProviderAuthorization>

application provider authorizations.

Returns:



28
29
30
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition.rb', line 28

def authorizations
  @authorizations
end

#create_ui_definitionObject

Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string.

Returns:

  • The createUiDefinition json for the backing template with



50
51
52
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition.rb', line 50

def create_ui_definition
  @create_ui_definition
end

#descriptionString

Returns The managed application definition description.

Returns:

  • (String)

    The managed application definition description.



37
38
39
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition.rb', line 37

def description
  @description
end

#display_nameString

Returns The managed application definition display name.

Returns:

  • (String)

    The managed application definition display name.



20
21
22
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition.rb', line 20

def display_name
  @display_name
end

#is_enabledString

not.

Returns:

  • (String)

    A value indicating whether the package is enabled or



24
25
26
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition.rb', line 24

def is_enabled
  @is_enabled
end

#lock_levelApplicationLockLevel

Possible values include: 'CanNotDelete', 'ReadOnly', 'None'

Returns:



17
18
19
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition.rb', line 17

def lock_level
  @lock_level
end

#main_templateObject

provisioned. It can be a JObject or well-formed JSON string.

Returns:

  • The inline main template json which has resources to be



45
46
47
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition.rb', line 45

def main_template
  @main_template
end

#package_file_uriString

Use this element

Returns:

  • (String)

    The managed application definition package file Uri.



41
42
43
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition.rb', line 41

def package_file_uri
  @package_file_uri
end

Class Method Details

.mapperObject

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



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
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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition.rb', line 57

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationDefinition',
    type: {
      name: 'Composite',
      class_name: 'ApplicationDefinition',
      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'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        managed_by: {
          client_side_validation: true,
          required: false,
          serialized_name: 'managedBy',
          type: {
            name: 'String'
          }
        },
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        },
        identity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'identity',
          type: {
            name: 'Composite',
            class_name: 'Identity'
          }
        },
        lock_level: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.lockLevel',
          type: {
            name: 'Enum',
            module: 'ApplicationLockLevel'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.displayName',
          type: {
            name: 'String'
          }
        },
        is_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isEnabled',
          type: {
            name: 'String'
          }
        },
        authorizations: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.authorizations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ApplicationProviderAuthorizationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ApplicationProviderAuthorization'
                }
            }
          }
        },
        artifacts: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.artifacts',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ApplicationArtifactElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ApplicationArtifact'
                }
            }
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        package_file_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.packageFileUri',
          type: {
            name: 'String'
          }
        },
        main_template: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.mainTemplate',
          type: {
            name: 'Object'
          }
        },
        create_ui_definition: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.createUiDefinition',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end