class Azure::ServiceFabric::V6_3_0_9::Models::ProvisionApplicationTypeDescriptionBase

Represents the type of registration or provision requested, and if the operation needs to be asynchronous or not. Supported types of provision operations are from either image store or external store.

Attributes

Kind[RW]
async[RW]

@return [Boolean] Indicates whether or not provisioning should occur asynchronously. When set to true, the provision operation returns when the request is accepted by the system, and the provision operation continues without any timeout limit. The default value is false. For large application packages, we recommend setting the value to true.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.3.0.9/generated/azure_service_fabric/models/provision_application_type_description_base.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ProvisionApplicationTypeDescriptionBase',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'Kind',
      uber_parent: 'ProvisionApplicationTypeDescriptionBase',
      class_name: 'ProvisionApplicationTypeDescriptionBase',
      model_properties: {
        async: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Async',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/6.3.0.9/generated/azure_service_fabric/models/provision_application_type_description_base.rb, line 21
def initialize
  @Kind = "ProvisionApplicationTypeDescriptionBase"
end