class Azure::ServiceFabric::V6_4_0_36::Models::ApplicationDescription

Describes a Service Fabric application.

Attributes

application_capacity[RW]

@return [ApplicationCapacityDescription] Describes capacity information for services of this application. This description can be used for describing the following.

  • Reserving the capacity for the services on the nodes

  • Limiting the total number of nodes that services of this application

can run on

  • Limiting the custom capacity metrics to limit the total consumption

of this metric by the services of this application

name[RW]

@return [String] The name of the application, including the 'fabric:' URI scheme.

parameter_list[RW]

@return [Array<ApplicationParameter>] List of application parameters with overridden values from their default values specified in the application manifest.

type_name[RW]

@return [String] The application type name as defined in the application manifest.

type_version[RW]

@return [String] The version of the application type as defined in the application manifest.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.4.0.36/generated/azure_service_fabric/models/application_description.rb, line 47
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationDescription',
    type: {
      name: 'Composite',
      class_name: 'ApplicationDescription',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        type_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'TypeName',
          type: {
            name: 'String'
          }
        },
        type_version: {
          client_side_validation: true,
          required: true,
          serialized_name: 'TypeVersion',
          type: {
            name: 'String'
          }
        },
        parameter_list: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ParameterList',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ApplicationParameterElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ApplicationParameter'
                }
            }
          }
        },
        application_capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationCapacity',
          type: {
            name: 'Composite',
            class_name: 'ApplicationCapacityDescription'
          }
        }
      }
    }
  }
end