Class: Azure::ServiceFabric::V6_5_0_36::Models::CreateComposeDeploymentDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::CreateComposeDeploymentDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/create_compose_deployment_description.rb
Overview
Defines description for creating a Service Fabric compose deployment.
Instance Attribute Summary collapse
-
#compose_file_content ⇒ String
deployment to create.
-
#deployment_name ⇒ String
The name of the deployment.
-
#registry_credential ⇒ RegistryCredential
container registry.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CreateComposeDeploymentDescription class as Ruby Hash.
Instance Attribute Details
#compose_file_content ⇒ String
deployment to create.
20 21 22 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/create_compose_deployment_description.rb', line 20 def compose_file_content @compose_file_content end |
#deployment_name ⇒ String
Returns The name of the deployment.
16 17 18 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/create_compose_deployment_description.rb', line 16 def deployment_name @deployment_name end |
#registry_credential ⇒ RegistryCredential
container registry.
24 25 26 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/create_compose_deployment_description.rb', line 24 def registry_credential @registry_credential end |
Class Method Details
.mapper ⇒ Object
Mapper for CreateComposeDeploymentDescription class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/create_compose_deployment_description.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CreateComposeDeploymentDescription', type: { name: 'Composite', class_name: 'CreateComposeDeploymentDescription', model_properties: { deployment_name: { client_side_validation: true, required: true, serialized_name: 'DeploymentName', type: { name: 'String' } }, compose_file_content: { client_side_validation: true, required: true, serialized_name: 'ComposeFileContent', type: { name: 'String' } }, registry_credential: { client_side_validation: true, required: false, serialized_name: 'RegistryCredential', type: { name: 'Composite', class_name: 'RegistryCredential' } } } } } end |