Class: Azure::Compute::Mgmt::V2020_09_30_preview::Models::GalleryApplicationVersionPublishingProfile

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

Overview

The publishing profile of a gallery image version.

Instance Attribute Summary collapse

Attributes inherited from GalleryArtifactPublishingProfileBase

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

Class Method Summary collapse

Instance Attribute Details

#enable_health_checkBoolean

health.

Returns:

  • (Boolean)

    Optional. Whether or not this application reports



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

def enable_health_check
  @enable_health_check
end

#manage_actionsUserArtifactManage

Returns:



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

def manage_actions
  @manage_actions
end

#sourceUserArtifactSource

Returns:



16
17
18
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_application_version_publishing_profile.rb', line 16

def source
  @source
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_application_version_publishing_profile.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'GalleryApplicationVersionPublishingProfile',
    type: {
      name: 'Composite',
      class_name: 'GalleryApplicationVersionPublishingProfile',
      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'
          }
        },
        source: {
          client_side_validation: true,
          required: true,
          serialized_name: 'source',
          type: {
            name: 'Composite',
            class_name: 'UserArtifactSource'
          }
        },
        manage_actions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'manageActions',
          type: {
            name: 'Composite',
            class_name: 'UserArtifactManage'
          }
        },
        enable_health_check: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enableHealthCheck',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end