Class: Azure::Compute::Mgmt::V2020_09_30_preview::Models::UserArtifactManage

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-09-30-preview/generated/azure_mgmt_compute/models/user_artifact_manage.rb

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#installString

gallery application. This is limited to 4096 characters.

Returns:

  • (String)

    Required. The path and arguments to install the



18
19
20
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/user_artifact_manage.rb', line 18

def install
  @install
end

#removeString

application. This is limited to 4096 characters.

Returns:

  • (String)

    Required. The path and arguments to remove the gallery



22
23
24
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/user_artifact_manage.rb', line 22

def remove
  @remove
end

#updateString

application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.

Returns:

  • (String)

    Optional. The path and arguments to update the gallery



28
29
30
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/user_artifact_manage.rb', line 28

def update
  @update
end

Class Method Details

.mapperObject

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



35
36
37
38
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
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/user_artifact_manage.rb', line 35

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UserArtifactManage',
    type: {
      name: 'Composite',
      class_name: 'UserArtifactManage',
      model_properties: {
        install: {
          client_side_validation: true,
          required: true,
          serialized_name: 'install',
          type: {
            name: 'String'
          }
        },
        remove: {
          client_side_validation: true,
          required: true,
          serialized_name: 'remove',
          type: {
            name: 'String'
          }
        },
        update: {
          client_side_validation: true,
          required: false,
          serialized_name: 'update',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end