class Azure::ServiceFabric::V6_2_0_9::Models::ProvisionApplicationTypeDescription

Describes the operation to register or provision an application type using an application package uploaded to the Service Fabric image store.

Attributes

Kind[RW]
application_package_cleanup_policy[RW]

@return [ApplicationPackageCleanupPolicy] The kind of action that needs to be taken for cleaning up the application package after successful provision. Possible values include: 'Invalid', 'Default', 'Automatic', 'Manual'

application_type_build_path[RW]

@return [String] The relative path for the application package in the image store specified during the prior upload operation.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.2.0.9/generated/azure_service_fabric/models/provision_application_type_description.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ImageStorePath',
    type: {
      name: 'Composite',
      class_name: 'ProvisionApplicationTypeDescription',
      model_properties: {
        async: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Async',
          type: {
            name: 'Boolean'
          }
        },
        Kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Kind',
          type: {
            name: 'String'
          }
        },
        application_type_build_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationTypeBuildPath',
          type: {
            name: 'String'
          }
        },
        application_package_cleanup_policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationPackageCleanupPolicy',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/6.2.0.9/generated/azure_service_fabric/models/provision_application_type_description.rb, line 17
def initialize
  @Kind = "ImageStorePath"
end