Class: Azure::Compute::Mgmt::V2019_12_01::Models::GalleryArtifactPublishingProfileBase
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2019_12_01::Models::GalleryArtifactPublishingProfileBase
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb
Overview
Describes the basic gallery artifact publishing profile.
Direct Known Subclasses
GalleryApplicationVersionPublishingProfile, GalleryImageVersionPublishingProfile
Instance Attribute Summary collapse
-
#end_of_life_date ⇒ DateTime
This property can be used for decommissioning purposes.
-
#exclude_from_latest ⇒ Boolean
latest version of the Image Definition won't use this Image Version.
-
#published_date ⇒ DateTime
published.
-
#replica_count ⇒ Integer
created per region.
-
#storage_account_type ⇒ StorageAccountType
used to store the image.
-
#target_regions ⇒ Array<TargetRegion>
Version is going to be replicated to.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GalleryArtifactPublishingProfileBase class as Ruby Hash.
Instance Attribute Details
#end_of_life_date ⇒ DateTime
This property can be used for decommissioning purposes. This property is updatable.
35 36 37 |
# File 'lib/2019-12-01/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_latest ⇒ Boolean
latest version of the Image Definition won't use this Image Version.
26 27 28 |
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb', line 26 def exclude_from_latest @exclude_from_latest end |
#published_date ⇒ DateTime
published.
30 31 32 |
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb', line 30 def published_date @published_date end |
#replica_count ⇒ Integer
created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
22 23 24 |
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb', line 22 def replica_count @replica_count end |
#storage_account_type ⇒ StorageAccountType
used to store the image. This property is not updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS'
40 41 42 |
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb', line 40 def storage_account_type @storage_account_type end |
#target_regions ⇒ Array<TargetRegion>
Version is going to be replicated to. This property is updatable.
17 18 19 |
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb', line 17 def target_regions @target_regions end |
Class Method Details
.mapper ⇒ Object
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/2019-12-01/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 |