class Azure::Compute::Mgmt::V2020_09_30_preview::Models::GalleryImageVersionUpdate

Specifies information about the gallery image version that you want to update.

Attributes

provisioning_state[RW]

@return [Enum] The current state of the gallery image version. The provisioning state, which only appears in the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'

publishing_profile[RW]

@return [GalleryImageVersionPublishingProfile]

replication_status[RW]

@return [ReplicationStatus]

storage_profile[RW]

@return [GalleryImageVersionStorageProfile]

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_image_version_update.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'GalleryImageVersionUpdate',
    type: {
      name: 'Composite',
      class_name: 'GalleryImageVersionUpdate',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        publishing_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.publishingProfile',
          type: {
            name: 'Composite',
            class_name: 'GalleryImageVersionPublishingProfile'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        storage_profile: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.storageProfile',
          type: {
            name: 'Composite',
            class_name: 'GalleryImageVersionStorageProfile'
          }
        },
        replication_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.replicationStatus',
          type: {
            name: 'Composite',
            class_name: 'ReplicationStatus'
          }
        }
      }
    }
  }
end