Class: Azure::Compute::Mgmt::V2019_03_01::Models::GalleryImageVersionPublishingProfile
- Inherits:
-
GalleryArtifactPublishingProfileBase
- Object
- GalleryArtifactPublishingProfileBase
- Azure::Compute::Mgmt::V2019_03_01::Models::GalleryImageVersionPublishingProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_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
-
.mapper ⇒ Object
Mapper for GalleryImageVersionPublishingProfile class as Ruby Hash.
Instance Attribute Details
#source ⇒ GalleryArtifactSource
16 17 18 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb', line 16 def source @source end |
Class Method Details
.mapper ⇒ Object
Mapper for GalleryImageVersionPublishingProfile class as Ruby Hash. This will be used for serialization/deserialization.
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 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb', line 23 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' } }, source: { client_side_validation: true, required: true, serialized_name: 'source', type: { name: 'Composite', class_name: 'GalleryArtifactSource' } } } } } end |