class Azure::ServiceFabric::V6_5_0_36::Models::CreateComposeDeploymentDescription

Defines description for creating a Service Fabric compose deployment.

Attributes

compose_file_content[RW]

@return [String] The content of the compose file that describes the deployment to create.

deployment_name[RW]

@return [String] The name of the deployment.

registry_credential[RW]

@return [RegistryCredential] Credential information to connect to container registry.

Public Class Methods

mapper() click to toggle source

Mapper for CreateComposeDeploymentDescription class as Ruby Hash. This will be used for serialization/deserialization.

# 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