Class: Azure::ServiceFabric::V6_5_0_36::Models::CreateComposeDeploymentDescription

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#compose_file_contentString

deployment to create.

Returns:

  • (String)

    The content of the compose file that describes the



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_nameString

Returns The name of the deployment.

Returns:

  • (String)

    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_credentialRegistryCredential

container registry.

Returns:



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

.mapperObject

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