Class: Azure::Batch::Mgmt::V2017_05_01::Models::ApplicationPackage
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2017_05_01::Models::ApplicationPackage
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-05-01/generated/azure_mgmt_batch/models/application_package.rb
Overview
An application package which represents a particular version of an application.
Instance Attribute Summary collapse
-
#format ⇒ String
is active.
-
#id ⇒ String
The ID of the application.
-
#last_activation_time ⇒ DateTime
the package is active.
-
#state ⇒ PackageState
Possible values include: ‘pending’, ‘active’, ‘unmapped’.
-
#storage_url ⇒ String
The URL for the application package in Azure Storage.
-
#storage_url_expiry ⇒ DateTime
expire.
-
#version ⇒ String
The version of the application package.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationPackage class as Ruby Hash.
Instance Attribute Details
#format ⇒ String
is active.
28 29 30 |
# File 'lib/2017-05-01/generated/azure_mgmt_batch/models/application_package.rb', line 28 def format @format end |
#id ⇒ String
Returns The ID of the application.
17 18 19 |
# File 'lib/2017-05-01/generated/azure_mgmt_batch/models/application_package.rb', line 17 def id @id end |
#last_activation_time ⇒ DateTime
the package is active.
39 40 41 |
# File 'lib/2017-05-01/generated/azure_mgmt_batch/models/application_package.rb', line 39 def last_activation_time @last_activation_time end |
#state ⇒ PackageState
Possible values include: ‘pending’, ‘active’, ‘unmapped’
24 25 26 |
# File 'lib/2017-05-01/generated/azure_mgmt_batch/models/application_package.rb', line 24 def state @state end |
#storage_url ⇒ String
Returns The URL for the application package in Azure Storage.
31 32 33 |
# File 'lib/2017-05-01/generated/azure_mgmt_batch/models/application_package.rb', line 31 def storage_url @storage_url end |
#storage_url_expiry ⇒ DateTime
expire.
35 36 37 |
# File 'lib/2017-05-01/generated/azure_mgmt_batch/models/application_package.rb', line 35 def storage_url_expiry @storage_url_expiry end |
#version ⇒ String
Returns The version of the application package.
20 21 22 |
# File 'lib/2017-05-01/generated/azure_mgmt_batch/models/application_package.rb', line 20 def version @version end |
Class Method Details
.mapper ⇒ Object
Mapper for ApplicationPackage class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2017-05-01/generated/azure_mgmt_batch/models/application_package.rb', line 46 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationPackage', type: { name: 'Composite', class_name: 'ApplicationPackage', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, version: { client_side_validation: true, required: false, read_only: true, serialized_name: 'version', type: { name: 'String' } }, state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'state', type: { name: 'Enum', module: 'PackageState' } }, format: { client_side_validation: true, required: false, read_only: true, serialized_name: 'format', type: { name: 'String' } }, storage_url: { client_side_validation: true, required: false, read_only: true, serialized_name: 'storageUrl', type: { name: 'String' } }, storage_url_expiry: { client_side_validation: true, required: false, read_only: true, serialized_name: 'storageUrlExpiry', type: { name: 'DateTime' } }, last_activation_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'lastActivationTime', type: { name: 'DateTime' } } } } } end |