Class: Azure::Compute::Mgmt::V2020_09_30_preview::Models::GalleryArtifactPublishingProfileBase

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

Overview

Describes the basic gallery artifact publishing profile.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#end_of_life_dateDateTime

This property can be used for decommissioning purposes. This property is updatable.

Returns:

  • (DateTime)

    The end of life date of the gallery image version.



35
36
37
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb', line 35

def end_of_life_date
  @end_of_life_date
end

#exclude_from_latestBoolean

latest version of the Image Definition won't use this Image Version.

Returns:

  • (Boolean)

    If set to true, Virtual Machines deployed from the



26
27
28
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb', line 26

def exclude_from_latest
  @exclude_from_latest
end

#published_dateDateTime

published.

Returns:

  • (DateTime)

    The timestamp for when the gallery image version is



30
31
32
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb', line 30

def published_date
  @published_date
end

#replica_countInteger

created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

Returns:

  • (Integer)

    The number of replicas of the Image Version to be



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

def replica_count
  @replica_count
end

#storage_account_typeStorageAccountType

used to store the image. This property is not updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS'

Returns:



40
41
42
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb', line 40

def 
  @storage_account_type
end

#target_regionsArray<TargetRegion>

Version is going to be replicated to. This property is updatable.

Returns:

  • (Array<TargetRegion>)

    The target regions where the Image



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

def target_regions
  @target_regions
end

Class Method Details

.mapperObject

Mapper for GalleryArtifactPublishingProfileBase 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
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb', line 47

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'GalleryArtifactPublishingProfileBase',
    type: {
      name: 'Composite',
      class_name: 'GalleryArtifactPublishingProfileBase',
      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