Class: Com::Vmware::Vcenter::Ovf::LibraryItem::ResourcePoolDeploymentSpec

Inherits:
VAPI::Bindings::VapiStruct
  • Object
show all
Defined in:
/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb

Overview

The ``Com::Vmware::Vcenter::Ovf::LibraryItem::ResourcePoolDeploymentSpec`` class defines the deployment parameters that can be specified for the ``deploy`` method where the deployment target is a resource pool. See :func:`Com::Vmware::Vcenter::Ovf::LibraryItem.deploy` .

Instance Attribute Summary (collapse)

Class Method Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (ResourcePoolDeploymentSpec) initialize(ruby_values = nil, struct_value = nil)

Constructs a new instance.

Parameters:

  • ruby_values (Hash) (defaults to: nil)

    a map of initial property values (optional)

  • struct_value (VAPI::Data::StructValue) (defaults to: nil)

    a raw StructValue from the wire (optional)



574
575
576
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 574

def initialize(ruby_values=nil, struct_value=nil)
    super(self.class.binding_type, ruby_values, struct_value)
end

Instance Attribute Details

- (Boolean) accept_all_eula

Whether to accept all End User License Agreements. See :attr:`Com::Vmware::Vcenter::Ovf::LibraryItem::OvfSummary.eulas` .

Returns:

  • (Boolean)


531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 531

class ResourcePoolDeploymentSpec < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.vcenter.ovf.library_item.resource_pool_deployment_spec',
                {
                    'name' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'annotation' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'accept_all_EULA' => VAPI::Bindings::BooleanType.instance,
                    'network_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::IdType.new)),
                    'storage_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::LibraryItem::StorageGroupMapping'))),
                    'storage_provisioning' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::DiskProvisioningType')),
                    'storage_profile_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                    'locale' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'flags' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance)),
                    'additional_parameters' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::DynamicStructType.new([VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::OvfParams')]))),
                    'default_datastore_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                },
                ResourcePoolDeploymentSpec,
                false,
                nil)
        end
    end

    attr_accessor :name,
                  :annotation,
                  :accept_all_eula,
                  :network_mappings,
                  :storage_mappings,
                  :storage_provisioning,
                  :storage_profile_id,
                  :locale,
                  :flags,
                  :additional_parameters,
                  :default_datastore_id

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (Array<VAPI::Bindings::VapiStruct>?) additional_parameters

Additional OVF parameters that may be needed for the deployment. Additional OVF parameters may be required by the OVF descriptor of the OVF package in the library item. Examples of OVF parameters that can be specified through this field include, but are not limited to:


  *  :class:`Com::Vmware::Vcenter::Ovf::DeploymentOptionParams` 
   *  :class:`Com::Vmware::Vcenter::Ovf::ExtraConfigParams` 
   *  :class:`Com::Vmware::Vcenter::Ovf::IpAllocationParams` 
   *  :class:`Com::Vmware::Vcenter::Ovf::PropertyParams` 
   *  :class:`Com::Vmware::Vcenter::Ovf::ScaleOutParams` 
   *  :class:`Com::Vmware::Vcenter::Ovf::VcenterExtensionParams` 

If nil , the server will choose default settings for all parameters necessary for the ``deploy`` method . See :func:`Com::Vmware::Vcenter::Ovf::LibraryItem.deploy` .

Returns:

  • (Array<VAPI::Bindings::VapiStruct>, nil)


531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 531

class ResourcePoolDeploymentSpec < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.vcenter.ovf.library_item.resource_pool_deployment_spec',
                {
                    'name' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'annotation' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'accept_all_EULA' => VAPI::Bindings::BooleanType.instance,
                    'network_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::IdType.new)),
                    'storage_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::LibraryItem::StorageGroupMapping'))),
                    'storage_provisioning' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::DiskProvisioningType')),
                    'storage_profile_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                    'locale' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'flags' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance)),
                    'additional_parameters' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::DynamicStructType.new([VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::OvfParams')]))),
                    'default_datastore_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                },
                ResourcePoolDeploymentSpec,
                false,
                nil)
        end
    end

    attr_accessor :name,
                  :annotation,
                  :accept_all_eula,
                  :network_mappings,
                  :storage_mappings,
                  :storage_provisioning,
                  :storage_profile_id,
                  :locale,
                  :flags,
                  :additional_parameters,
                  :default_datastore_id

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (String?) annotation

Annotation assigned to the deployed target virtual machine or virtual appliance. If nil , the server will use the annotation from the OVF package.

Returns:

  • (String, nil)


531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 531

class ResourcePoolDeploymentSpec < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.vcenter.ovf.library_item.resource_pool_deployment_spec',
                {
                    'name' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'annotation' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'accept_all_EULA' => VAPI::Bindings::BooleanType.instance,
                    'network_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::IdType.new)),
                    'storage_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::LibraryItem::StorageGroupMapping'))),
                    'storage_provisioning' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::DiskProvisioningType')),
                    'storage_profile_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                    'locale' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'flags' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance)),
                    'additional_parameters' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::DynamicStructType.new([VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::OvfParams')]))),
                    'default_datastore_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                },
                ResourcePoolDeploymentSpec,
                false,
                nil)
        end
    end

    attr_accessor :name,
                  :annotation,
                  :accept_all_eula,
                  :network_mappings,
                  :storage_mappings,
                  :storage_provisioning,
                  :storage_profile_id,
                  :locale,
                  :flags,
                  :additional_parameters,
                  :default_datastore_id

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (String?) default_datastore_id

Default datastore to use for all sections of type vmw:StorageSection in the OVF descriptor. If nil , the server will choose the default datastore.

Returns:

  • (String, nil)


531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 531

class ResourcePoolDeploymentSpec < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.vcenter.ovf.library_item.resource_pool_deployment_spec',
                {
                    'name' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'annotation' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'accept_all_EULA' => VAPI::Bindings::BooleanType.instance,
                    'network_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::IdType.new)),
                    'storage_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::LibraryItem::StorageGroupMapping'))),
                    'storage_provisioning' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::DiskProvisioningType')),
                    'storage_profile_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                    'locale' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'flags' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance)),
                    'additional_parameters' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::DynamicStructType.new([VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::OvfParams')]))),
                    'default_datastore_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                },
                ResourcePoolDeploymentSpec,
                false,
                nil)
        end
    end

    attr_accessor :name,
                  :annotation,
                  :accept_all_eula,
                  :network_mappings,
                  :storage_mappings,
                  :storage_provisioning,
                  :storage_profile_id,
                  :locale,
                  :flags,
                  :additional_parameters,
                  :default_datastore_id

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (Array<String>?) flags

Flags to be use for deployment. The supported flag values can be obtained using :func:`Com::Vmware::Vcenter::Ovf::ImportFlag.list` . If nil , no flags will be used.

Returns:

  • (Array<String>, nil)


531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 531

class ResourcePoolDeploymentSpec < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.vcenter.ovf.library_item.resource_pool_deployment_spec',
                {
                    'name' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'annotation' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'accept_all_EULA' => VAPI::Bindings::BooleanType.instance,
                    'network_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::IdType.new)),
                    'storage_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::LibraryItem::StorageGroupMapping'))),
                    'storage_provisioning' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::DiskProvisioningType')),
                    'storage_profile_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                    'locale' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'flags' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance)),
                    'additional_parameters' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::DynamicStructType.new([VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::OvfParams')]))),
                    'default_datastore_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                },
                ResourcePoolDeploymentSpec,
                false,
                nil)
        end
    end

    attr_accessor :name,
                  :annotation,
                  :accept_all_eula,
                  :network_mappings,
                  :storage_mappings,
                  :storage_provisioning,
                  :storage_profile_id,
                  :locale,
                  :flags,
                  :additional_parameters,
                  :default_datastore_id

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (String?) locale

The locale to use for parsing the OVF descriptor. If nil , the server locale will be used.

Returns:

  • (String, nil)


531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 531

class ResourcePoolDeploymentSpec < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.vcenter.ovf.library_item.resource_pool_deployment_spec',
                {
                    'name' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'annotation' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'accept_all_EULA' => VAPI::Bindings::BooleanType.instance,
                    'network_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::IdType.new)),
                    'storage_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::LibraryItem::StorageGroupMapping'))),
                    'storage_provisioning' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::DiskProvisioningType')),
                    'storage_profile_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                    'locale' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'flags' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance)),
                    'additional_parameters' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::DynamicStructType.new([VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::OvfParams')]))),
                    'default_datastore_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                },
                ResourcePoolDeploymentSpec,
                false,
                nil)
        end
    end

    attr_accessor :name,
                  :annotation,
                  :accept_all_eula,
                  :network_mappings,
                  :storage_mappings,
                  :storage_provisioning,
                  :storage_profile_id,
                  :locale,
                  :flags,
                  :additional_parameters,
                  :default_datastore_id

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (String?) name

Name assigned to the deployed target virtual machine or virtual appliance. If nil , the server will use the name from the OVF package.

Returns:

  • (String, nil)


531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 531

class ResourcePoolDeploymentSpec < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.vcenter.ovf.library_item.resource_pool_deployment_spec',
                {
                    'name' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'annotation' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'accept_all_EULA' => VAPI::Bindings::BooleanType.instance,
                    'network_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::IdType.new)),
                    'storage_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::LibraryItem::StorageGroupMapping'))),
                    'storage_provisioning' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::DiskProvisioningType')),
                    'storage_profile_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                    'locale' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'flags' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance)),
                    'additional_parameters' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::DynamicStructType.new([VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::OvfParams')]))),
                    'default_datastore_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                },
                ResourcePoolDeploymentSpec,
                false,
                nil)
        end
    end

    attr_accessor :name,
                  :annotation,
                  :accept_all_eula,
                  :network_mappings,
                  :storage_mappings,
                  :storage_provisioning,
                  :storage_profile_id,
                  :locale,
                  :flags,
                  :additional_parameters,
                  :default_datastore_id

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (Hash<String, String>?) network_mappings

Specification of the target network to use for sections of type ovf:NetworkSection in the OVF descriptor. The key in the map is the section identifier of the ovf:NetworkSection section in the OVF descriptor and the value is the target network to be used for deployment. If nil , the server will choose a network mapping.

Returns:

  • (Hash<String, String>, nil)


531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 531

class ResourcePoolDeploymentSpec < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.vcenter.ovf.library_item.resource_pool_deployment_spec',
                {
                    'name' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'annotation' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'accept_all_EULA' => VAPI::Bindings::BooleanType.instance,
                    'network_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::IdType.new)),
                    'storage_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::LibraryItem::StorageGroupMapping'))),
                    'storage_provisioning' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::DiskProvisioningType')),
                    'storage_profile_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                    'locale' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'flags' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance)),
                    'additional_parameters' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::DynamicStructType.new([VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::OvfParams')]))),
                    'default_datastore_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                },
                ResourcePoolDeploymentSpec,
                false,
                nil)
        end
    end

    attr_accessor :name,
                  :annotation,
                  :accept_all_eula,
                  :network_mappings,
                  :storage_mappings,
                  :storage_provisioning,
                  :storage_profile_id,
                  :locale,
                  :flags,
                  :additional_parameters,
                  :default_datastore_id

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (Hash<String, Com::Vmware::Vcenter::Ovf::LibraryItem::StorageGroupMapping>?) storage_mappings

Specification of the target storage to use for sections of type vmw:StorageGroupSection in the OVF descriptor. The key in the map is the section identifier of the ovf:StorageGroupSection section in the OVF descriptor and the value is the target storage specification to be used for deployment. See :class:`Com::Vmware::Vcenter::Ovf::LibraryItem::StorageGroupMapping` . If nil , the server will choose a storage mapping.



531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 531

class ResourcePoolDeploymentSpec < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.vcenter.ovf.library_item.resource_pool_deployment_spec',
                {
                    'name' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'annotation' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'accept_all_EULA' => VAPI::Bindings::BooleanType.instance,
                    'network_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::IdType.new)),
                    'storage_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::LibraryItem::StorageGroupMapping'))),
                    'storage_provisioning' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::DiskProvisioningType')),
                    'storage_profile_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                    'locale' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'flags' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance)),
                    'additional_parameters' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::DynamicStructType.new([VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::OvfParams')]))),
                    'default_datastore_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                },
                ResourcePoolDeploymentSpec,
                false,
                nil)
        end
    end

    attr_accessor :name,
                  :annotation,
                  :accept_all_eula,
                  :network_mappings,
                  :storage_mappings,
                  :storage_provisioning,
                  :storage_profile_id,
                  :locale,
                  :flags,
                  :additional_parameters,
                  :default_datastore_id

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (String?) storage_profile_id

Default storage profile to use for all sections of type vmw:StorageSection in the OVF descriptor. If nil , the server will choose the default profile.

Returns:

  • (String, nil)


531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 531

class ResourcePoolDeploymentSpec < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.vcenter.ovf.library_item.resource_pool_deployment_spec',
                {
                    'name' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'annotation' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'accept_all_EULA' => VAPI::Bindings::BooleanType.instance,
                    'network_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::IdType.new)),
                    'storage_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::LibraryItem::StorageGroupMapping'))),
                    'storage_provisioning' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::DiskProvisioningType')),
                    'storage_profile_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                    'locale' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'flags' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance)),
                    'additional_parameters' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::DynamicStructType.new([VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::OvfParams')]))),
                    'default_datastore_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                },
                ResourcePoolDeploymentSpec,
                false,
                nil)
        end
    end

    attr_accessor :name,
                  :annotation,
                  :accept_all_eula,
                  :network_mappings,
                  :storage_mappings,
                  :storage_provisioning,
                  :storage_profile_id,
                  :locale,
                  :flags,
                  :additional_parameters,
                  :default_datastore_id

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (Com::Vmware::Vcenter::Ovf::DiskProvisioningType?) storage_provisioning

Default storage provisioning type to use for all sections of type vmw:StorageSection in the OVF descriptor. If nil , the server will choose the provisioning type.



531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 531

class ResourcePoolDeploymentSpec < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.vcenter.ovf.library_item.resource_pool_deployment_spec',
                {
                    'name' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'annotation' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'accept_all_EULA' => VAPI::Bindings::BooleanType.instance,
                    'network_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::IdType.new)),
                    'storage_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::LibraryItem::StorageGroupMapping'))),
                    'storage_provisioning' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::DiskProvisioningType')),
                    'storage_profile_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                    'locale' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'flags' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance)),
                    'additional_parameters' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::DynamicStructType.new([VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::OvfParams')]))),
                    'default_datastore_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
                },
                ResourcePoolDeploymentSpec,
                false,
                nil)
        end
    end

    attr_accessor :name,
                  :annotation,
                  :accept_all_eula,
                  :network_mappings,
                  :storage_mappings,
                  :storage_provisioning,
                  :storage_profile_id,
                  :locale,
                  :flags,
                  :additional_parameters,
                  :default_datastore_id

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

Class Method Details

+ (VAPI::Bindings::StructType) binding_type

Holds (gets or creates) the binding type metadata for this structure type.

Returns:

  • (VAPI::Bindings::StructType)

    the binding type



537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 537

def binding_type
    @binding_type ||= VAPI::Bindings::StructType.new(
        'com.vmware.vcenter.ovf.library_item.resource_pool_deployment_spec',
        {
            'name' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
            'annotation' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
            'accept_all_EULA' => VAPI::Bindings::BooleanType.instance,
            'network_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::IdType.new)),
            'storage_mappings' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::MapType.new(VAPI::Bindings::StringType.instance, VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::LibraryItem::StorageGroupMapping'))),
            'storage_provisioning' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::DiskProvisioningType')),
            'storage_profile_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
            'locale' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
            'flags' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::StringType.instance)),
            'additional_parameters' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ListType.new(VAPI::Bindings::DynamicStructType.new([VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Ovf::OvfParams')]))),
            'default_datastore_id' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::IdType.new),
        },
        ResourcePoolDeploymentSpec,
        false,
        nil)
end