Class: Azure::Compute::Mgmt::V2019_03_01::Models::GalleryApplicationVersionPublishingProfile
- Inherits:
-
GalleryArtifactPublishingProfileBase
- Object
- GalleryArtifactPublishingProfileBase
- Azure::Compute::Mgmt::V2019_03_01::Models::GalleryApplicationVersionPublishingProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_application_version_publishing_profile.rb
Overview
The publishing profile of a gallery Image Version.
Instance Attribute Summary collapse
-
#content_type ⇒ String
type of file contained in the source, e.g.
-
#enable_health_check ⇒ Boolean
health.
- #source ⇒ UserArtifactSource
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 GalleryApplicationVersionPublishingProfile class as Ruby Hash.
Instance Attribute Details
#content_type ⇒ String
type of file contained in the source, e.g. zip, json, etc.
20 21 22 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_application_version_publishing_profile.rb', line 20 def content_type @content_type end |
#enable_health_check ⇒ Boolean
health.
24 25 26 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_application_version_publishing_profile.rb', line 24 def enable_health_check @enable_health_check end |
#source ⇒ UserArtifactSource
16 17 18 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_application_version_publishing_profile.rb', line 16 def source @source end |
Class Method Details
.mapper ⇒ Object
Mapper for GalleryApplicationVersionPublishingProfile class as Ruby Hash. This will be used for serialization/deserialization.
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/2019-03-01/generated/azure_mgmt_compute/models/gallery_application_version_publishing_profile.rb', line 32 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' } }, content_type: { client_side_validation: true, required: false, serialized_name: 'contentType', type: { name: 'String' } }, enable_health_check: { client_side_validation: true, required: false, serialized_name: 'enableHealthCheck', type: { name: 'Boolean' } } } } } end |