Class: Azure::Compute::Mgmt::V2019_07_01::Models::GalleryImageVersionPublishingProfile

Inherits:
GalleryArtifactPublishingProfileBase show all
Includes:
MsRestAzure
Defined in:
lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb

Overview

The publishing profile of a gallery Image Version.

Instance Attribute Summary

Attributes inherited from GalleryArtifactPublishingProfileBase

#end_of_life_date, #exclude_from_latest, #published_date, #replica_count, #storage_account_type, #target_regions

Class Method Summary collapse

Class Method Details

.mapperObject

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



20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb', line 20

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'GalleryImageVersionPublishingProfile',
    type: {
      name: 'Composite',
      class_name: 'GalleryImageVersionPublishingProfile',
      model_properties: {
        target_regions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'targetRegions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'TargetRegionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'TargetRegion'
                }
            }
          }
        },
        replica_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'replicaCount',
          type: {
            name: 'Number'
          }
        },
        exclude_from_latest: {
          client_side_validation: true,
          required: false,
          serialized_name: 'excludeFromLatest',
          type: {
            name: 'Boolean'
          }
        },
        published_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'publishedDate',
          type: {
            name: 'DateTime'
          }
        },
        end_of_life_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'endOfLifeDate',
          type: {
            name: 'DateTime'
          }
        },
        storage_account_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'storageAccountType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end