class Azure::Compute::Mgmt::V2019_03_01::Models::GalleryImageVersionPublishingProfile

The publishing profile of a gallery Image Version.

Attributes

end_of_life_date[RW]

@return [DateTime] The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.

exclude_from_latest[RW]

@return [Boolean] If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

published_date[RW]

@return [DateTime] The timestamp for when the gallery Image Version is published.

replica_count[RW]

@return [Integer] The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

storage_account_type[RW]

@return [StorageAccountType] Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS'

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb, line 42
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'
                }
            }
          }
        },
        source: {
          client_side_validation: true,
          required: true,
          serialized_name: 'source',
          type: {
            name: 'Composite',
            class_name: 'GalleryArtifactSource'
          }
        },
        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