Class: Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackageReference
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackageReference
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01/generated/azure_mgmt_batch/models/application_package_reference.rb
Overview
Link to an application package inside the batch account
Instance Attribute Summary collapse
-
#id ⇒ String
must be inside the same batch account as the pool.
-
#version ⇒ String
the default version is deployed.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationPackageReference class as Ruby Hash.
Instance Attribute Details
#id ⇒ String
must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists.
19 20 21 |
# File 'lib/2017-09-01/generated/azure_mgmt_batch/models/application_package_reference.rb', line 19 def id @id end |
#version ⇒ String
the default version is deployed. If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
26 27 28 |
# File 'lib/2017-09-01/generated/azure_mgmt_batch/models/application_package_reference.rb', line 26 def version @version end |
Class Method Details
.mapper ⇒ Object
Mapper for ApplicationPackageReference class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2017-09-01/generated/azure_mgmt_batch/models/application_package_reference.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationPackageReference', type: { name: 'Composite', class_name: 'ApplicationPackageReference', model_properties: { id: { client_side_validation: true, required: true, serialized_name: 'id', type: { name: 'String' } }, version: { client_side_validation: true, required: false, serialized_name: 'version', type: { name: 'String' } } } } } end |