diff --git a/README.md b/README.md index e281ffac..0fc4975a 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ This document for the vSphere Automation SDK for perl describes - 2. The procedure for contributing new samples ## Supported OnPrem vCenter Releases: -vCenter 6.0, 6.5, 6.7, 6.7U1 and 7.0 +vCenter 6.0, 6.5, 6.7, 6.7U1, 7.0 and 7.0U1 Please refer to the notes in each sample for detailed compatibility information. @@ -132,8 +132,8 @@ Use a command like the following to get list of VMs present in vCenter. ### vSphere API Documentation -* [vSphere 7.0 (latest)](https://vmware.github.io/vsphere-automation-sdk-perl/vsphere/7.0.0.1/index.html) -* Previous releases: [6.7.0](https://vmware.github.io/vsphere-automation-sdk-perl/vsphere/6.7.0) [6.5.0](https://vmware.github.io/vsphere-automation-sdk-perl/vsphere/6.5.0) [6.7.1](https://vmware.github.io/vsphere-automation-sdk-perl/vsphere/6.7.1/) +* [vSphere 7.0 Update 1(latest)](https://vmware.github.io/vsphere-automation-sdk-perl/vsphere/7.0.1.0/annotated.html) +* Previous releases: [7.0](https://vmware.github.io/vsphere-automation-sdk-perl/vsphere/7.0.0.1/index.html) [6.7.1](https://vmware.github.io/vsphere-automation-sdk-perl/vsphere/6.7.1/) [6.7.0](https://vmware.github.io/vsphere-automation-sdk-perl/vsphere/6.7.0) [6.5.0](https://vmware.github.io/vsphere-automation-sdk-perl/vsphere/6.5.0) ## Repository Administrator Resources ### Board Members @@ -151,5 +151,5 @@ Items added to the repository, including items from the Board members, require 2 * [vSphere Automation SDK Overview](http://pubs.vmware.com/vsphere-65/index.jsp#com.vmware.vapi.progguide.doc/GUID-AF73991C-FC1C-47DF-8362-184B6544CFDE.html) * [VMware Code](https://code.vmware.com/home) * [VMware Developer Community](https://communities.vmware.com/community/vmtn/developer) -* VMware vSphere [REST API Reference documentation](https://code.vmware.com/apis/366/vsphere-automation) +* VMware vSphere [REST API Reference documentation](https://developer.vmware.com/docs/vsphere-automation/latest/) * [VMware Perl forum](https://code.vmware.com/forums/7562/vsphere-automation-sdk-for-perl) diff --git a/lib/sdk/Com/Vmware/Appliance/SubtaskInfo.pm b/lib/sdk/Com/Vmware/Appliance/SubtaskInfo.pm index 7426a221..03ccb069 100644 --- a/lib/sdk/Com/Vmware/Appliance/SubtaskInfo.pm +++ b/lib/sdk/Com/Vmware/Appliance/SubtaskInfo.pm @@ -104,7 +104,8 @@ sub set_progress { # # @retval result - The current value of the field. # Result of the operation. If an operation reports partial results before it completes, -# this *field* could be *set* before the null has the value +# this *field* could be *set* before the +# :attr:`Com::Vmware::Cis::Task::CommonInfo.status` has the value # :attr:`Com::Vmware::Cis::Task::Status.SUCCEEDED` . The value could change as the # operation progresses. This *field* was added in vSphere API 6.7. # @@ -119,7 +120,8 @@ sub get_result { # # @param result - New value for the field. # Result of the operation. If an operation reports partial results before it completes, -# this *field* could be *set* before the null has the value +# this *field* could be *set* before the +# :attr:`Com::Vmware::Cis::Task::CommonInfo.status` has the value # :attr:`Com::Vmware::Cis::Task::Status.SUCCEEDED` . The value could change as the # operation progresses. This *field* was added in vSphere API 6.7. # diff --git a/lib/sdk/Com/Vmware/Appliance/System/Security/GlobalFips.pm b/lib/sdk/Com/Vmware/Appliance/System/Security/GlobalFips.pm new file mode 100644 index 00000000..87af251c --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/System/Security/GlobalFips.pm @@ -0,0 +1,256 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file GlobalFips.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +## @class Com::Vmware::Appliance::System::Security::GlobalFips +# The ``Com::Vmware::Appliance::System::Security::GlobalFips`` *interface* provides +# *methods* to enable/disable appliance FIPS mode. +# + +package Com::Vmware::Appliance::System::Security::GlobalFips; + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Appliance::System::Security::GlobalFipsStub; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiInterface); + +# +# Identifier of the service +# +use constant _VAPI_SERVICE_ID => 'com.vmware.appliance.system.security.global_fips'; + + +## @method new () +# Constructor to initialize the object +# +# @param api_provider - protocol connection to use with +# stubs created by this factory +# @param StubConfig - Stub's additional configuration +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $stub_config = $args {stub_config}; + my $api_provider = $args {api_provider}; + + my $self = $class->SUPER::new('stub_config' => $stub_config, + 'api_provider' => $api_provider); + bless $self, $class; + return $self; +} + +## @method get () +# Get current appliance FIPS settings. +# +# @retval +# Current FIPS settings state. +# The return type will be Com::Vmware::Appliance::System::Security::GlobalFips::Info +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# Generic error +# +sub get { + my ($self, %args) = @_; + return $self->invoke(method_name => 'get', method_args => {}); +} + +## @method update () +# Enable/Disable Global FIPS mode for the appliance. +# +# @param spec [REQUIRED] +# . The value must be Com::Vmware::Appliance::System::Security::GlobalFips::UpdateSpec. +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# Generic error +# +sub update { + my ($self, %args) = @_; + my $spec = $args {spec}; + + $self->validate_args (method_name => 'update', + method_args => \%args); + + return $self->invoke (method_name => 'update', + method_args => \%args); +} + +1; + +######################################################################################### +# Begins enumerations for the Com::Vmware::Appliance::System::Security::GlobalFips service +######################################################################################### + + + +######################################################################################### +# Ends enumerations for the Com::Vmware::Appliance::System::Security::GlobalFips service +######################################################################################### + +######################################################################################### +# Begins structures for the Com::Vmware::Appliance::System::Security::GlobalFips service +######################################################################################### + +## @class Com::Vmware::Appliance::System::Security::GlobalFips::UpdateSpec +# +# + + +package Com::Vmware::Appliance::System::Security::GlobalFips::UpdateSpec; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::System::Security::GlobalFips::UpdateSpec structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{enabled} = $args{'enabled'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::System::Security::GlobalFips::UpdateSpec'); + $self->set_binding_name('name' => 'com.vmware.appliance.system.security.global_fips.update_spec'); + $self->set_binding_field('key' => 'enabled', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::BooleanType())); + bless $self, $class; + return $self; +} + +## @method get_enabled () +# Gets the value of 'enabled' property. +# +# @retval enabled - The current value of the field. +# FIPS setting state. +# +# Optional# +sub get_enabled { + my ($self, %args) = @_; + return $self->{'enabled'}; +} + +## @method set_enabled () +# Sets the given value for 'enabled' property. +# +# @param enabled - New value for the field. +# FIPS setting state. +# +sub set_enabled { + my ($self, %args) = @_; + $self->{'enabled'} = $args{'enabled'}; + return; +} + + +1; + + +## @class Com::Vmware::Appliance::System::Security::GlobalFips::Info +# +# + + +package Com::Vmware::Appliance::System::Security::GlobalFips::Info; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::System::Security::GlobalFips::Info structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{enabled} = $args{'enabled'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::System::Security::GlobalFips::Info'); + $self->set_binding_name('name' => 'com.vmware.appliance.system.security.global_fips.info'); + $self->set_binding_field('key' => 'enabled', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + bless $self, $class; + return $self; +} + +## @method get_enabled () +# Gets the value of 'enabled' property. +# +# @retval enabled - The current value of the field. +# FIPS setting state. +# +# boolean# +sub get_enabled { + my ($self, %args) = @_; + return $self->{'enabled'}; +} + +## @method set_enabled () +# Sets the given value for 'enabled' property. +# +# @param enabled - New value for the field. +# FIPS setting state. +# +sub set_enabled { + my ($self, %args) = @_; + $self->{'enabled'} = $args{'enabled'}; + return; +} + + +1; + + + +######################################################################################### +# Ends structures for the Com::Vmware::Appliance::System::Security::GlobalFips service +######################################################################################### diff --git a/lib/sdk/Com/Vmware/Appliance/System/Security/GlobalFipsStub.pm b/lib/sdk/Com/Vmware/Appliance/System/Security/GlobalFipsStub.pm new file mode 100644 index 00000000..4b4d3811 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/System/Security/GlobalFipsStub.pm @@ -0,0 +1,132 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file GlobalFipsStub.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +package Com::Vmware::Appliance::System::Security::GlobalFipsStub; + +## @class Com::Vmware::Appliance::System::Security::GlobalFips +# +#The {@name GlobalFips} {@term service} provides {@term operations} +#to enable/disable appliance FIPS mode. +# + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::BlobType; +use Com::Vmware::Vapi::Bindings::Type::BooleanType; +use Com::Vmware::Vapi::Bindings::Type::DateTimeType; +use Com::Vmware::Vapi::Bindings::Type::DoubleType; +use Com::Vmware::Vapi::Bindings::Type::EnumType; +use Com::Vmware::Vapi::Bindings::Type::ErrorType; +use Com::Vmware::Vapi::Bindings::Type::ListType; +use Com::Vmware::Vapi::Bindings::Type::LongType; +use Com::Vmware::Vapi::Bindings::Type::MapType; +use Com::Vmware::Vapi::Bindings::Type::OpaqueType; +use Com::Vmware::Vapi::Bindings::Type::OptionalType; +use Com::Vmware::Vapi::Bindings::Type::ReferenceType; +use Com::Vmware::Vapi::Bindings::Type::SecretType; +use Com::Vmware::Vapi::Bindings::Type::SetType; +use Com::Vmware::Vapi::Bindings::Type::StringType; +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vapi::Bindings::Type::DynamicStructType; +use Com::Vmware::Vapi::Bindings::Type::URIType; +use Com::Vmware::Vapi::Bindings::Type::VoidType; +use Com::Vmware::Vapi::Data::UnionValidator; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::ApiInterfaceStub); + +## @method new +# Constructor to initialize the object +# +# @param ApiProvider - ApiProvider for vAPI stubs +# +# @return +# Blessed object +# +sub new +{ + my ($class, %args) = @_; + my $api_provider = $args {api_provider}; + $class = ref($class) || $class; + # + # properties for get operation + # + my $get_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => {} + ); + my $get_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + + }; + + my $get_input_validator_list = [ + ]; + my $get_output_validator_list = []; + + # + # properties for update operation + # + my $update_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'spec' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::System::Security', 'type_name' => 'GlobalFips::UpdateSpec'), + } + ); + my $update_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + + }; + + my $update_input_validator_list = [ + ]; + my $update_output_validator_list = []; + + # + # All the methods (operations) info in a hash + # + my $operations = { + 'get' => { + 'input_type'=> $get_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::System::Security', 'type_name' => 'GlobalFips::Info'), + 'errors'=> $get_error_dict, + 'input_validator_list'=> $get_input_validator_list, + 'output_validator_list'=> $get_output_validator_list, + }, + 'update' => { + 'input_type'=> $update_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::VoidType(), + 'errors'=> $update_error_dict, + 'input_validator_list'=> $update_input_validator_list, + 'output_validator_list'=> $update_output_validator_list, + }, + }; + + my $self = $class->SUPER::new ('api_provider' => $api_provider, + 'iface_name' => 'com.vmware.appliance.system.security.global_fips', + 'operations' => $operations + ); + bless $self, $class; + return $self; +} + +1; diff --git a/lib/sdk/Com/Vmware/Appliance/Update/Pending.pm b/lib/sdk/Com/Vmware/Appliance/Update/Pending.pm index 29bd266e..79718830 100644 --- a/lib/sdk/Com/Vmware/Appliance/Update/Pending.pm +++ b/lib/sdk/Com/Vmware/Appliance/Update/Pending.pm @@ -465,10 +465,12 @@ sub new { my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{name} = $args{'name'}; $self->{contents} = $args{'contents'}; $self->{services_will_be_stopped} = $args{'services_will_be_stopped'}; $self->{eulas} = $args{'eulas'}; $self->{staged} = $args{'staged'}; + $self->{knowledge_base} = $args{'knowledge_base'}; $self->{description} = $args{'description'}; $self->{priority} = $args{'priority'}; $self->{severity} = $args{'severity'}; @@ -479,10 +481,12 @@ sub new { $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Update::Pending::Info'); $self->set_binding_name('name' => 'com.vmware.appliance.update.pending.info'); + $self->set_binding_field('key' => 'name', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); $self->set_binding_field('key' => 'contents', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std', 'type_name' => 'LocalizableMessage'))); $self->set_binding_field('key' => 'services_will_be_stopped', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Update', 'type_name' => 'ServiceInfo'))); $self->set_binding_field('key' => 'eulas', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std', 'type_name' => 'LocalizableMessage'))); $self->set_binding_field('key' => 'staged', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + $self->set_binding_field('key' => 'knowledge_base', 'value' => new Com::Vmware::Vapi::Bindings::Type::URIType()); $self->set_binding_field('key' => 'description', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std', 'type_name' => 'LocalizableMessage')); $self->set_binding_field('key' => 'priority', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Update', 'type_name' => 'CommonInfo::Priority')); $self->set_binding_field('key' => 'severity', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Update', 'type_name' => 'CommonInfo::Severity')); @@ -494,6 +498,30 @@ sub new { return $self; } +## @method get_name () +# Gets the value of 'name' property. +# +# @retval name - The current value of the field. +# Name of the update. This *field* was added in vSphere API 6.7. +# +# String# +sub get_name { + my ($self, %args) = @_; + return $self->{'name'}; +} + +## @method set_name () +# Sets the given value for 'name' property. +# +# @param name - New value for the field. +# Name of the update. This *field* was added in vSphere API 6.7. +# +sub set_name { + my ($self, %args) = @_; + $self->{'name'} = $args{'name'}; + return; +} + ## @method get_contents () # Gets the value of 'contents' property. # @@ -596,6 +624,32 @@ sub set_staged { return; } +## @method get_knowledge_base () +# Gets the value of 'knowledge_base' property. +# +# @retval knowledge_base - The current value of the field. +# URL for the knowledge base article describing this update. This *field* was added in +# vSphere API 6.7. +# +# URI# +sub get_knowledge_base { + my ($self, %args) = @_; + return $self->{'knowledge_base'}; +} + +## @method set_knowledge_base () +# Sets the given value for 'knowledge_base' property. +# +# @param knowledge_base - New value for the field. +# URL for the knowledge base article describing this update. This *field* was added in +# vSphere API 6.7. +# +sub set_knowledge_base { + my ($self, %args) = @_; + $self->{'knowledge_base'} = $args{'knowledge_base'}; + return; +} + ## @method get_description () # Gets the value of 'description' property. # diff --git a/lib/sdk/Com/Vmware/Appliance/Update/Policy.pm b/lib/sdk/Com/Vmware/Appliance/Update/Policy.pm index 97815279..7b67933d 100644 --- a/lib/sdk/Com/Vmware/Appliance/Update/Policy.pm +++ b/lib/sdk/Com/Vmware/Appliance/Update/Policy.pm @@ -355,6 +355,7 @@ sub new { $self->{auto_stage} = $args{'auto_stage'}; $self->{auto_update} = $args{'auto_update'}; $self->{manual_control} = $args{'manual_control'}; + $self->{certificate_check} = $args{'certificate_check'}; $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Update::Policy::Info'); $self->set_binding_name('name' => 'com.vmware.appliance.update.policy.info'); @@ -365,6 +366,7 @@ sub new { $self->set_binding_field('key' => 'auto_stage', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); $self->set_binding_field('key' => 'auto_update', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); $self->set_binding_field('key' => 'manual_control', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + $self->set_binding_field('key' => 'certificate_check', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); bless $self, $class; return $self; } @@ -549,6 +551,40 @@ sub set_manual_control { return; } +## @method get_certificate_check () +# Gets the value of 'certificate_check' property. +# +# @retval certificate_check - The current value of the field. +# Indicates whether certificates will be checked during patching.

+# +# Warning: If this *field* is set to false, an insecure connection is made to the +# update repository which can potentially put the appliance security at risk.

+# +# . This *field* was added in vSphere API 6.7. +# +# boolean# +sub get_certificate_check { + my ($self, %args) = @_; + return $self->{'certificate_check'}; +} + +## @method set_certificate_check () +# Sets the given value for 'certificate_check' property. +# +# @param certificate_check - New value for the field. +# Indicates whether certificates will be checked during patching.

+# +# Warning: If this *field* is set to false, an insecure connection is made to the +# update repository which can potentially put the appliance security at risk.

+# +# . This *field* was added in vSphere API 6.7. +# +sub set_certificate_check { + my ($self, %args) = @_; + $self->{'certificate_check'} = $args{'certificate_check'}; + return; +} + 1; @@ -590,6 +626,7 @@ sub new { $self->{password} = $args{'password'}; $self->{check_schedule} = $args{'check_schedule'}; $self->{auto_stage} = $args{'auto_stage'}; + $self->{certificate_check} = $args{'certificate_check'}; $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Update::Policy::Config'); $self->set_binding_name('name' => 'com.vmware.appliance.update.policy.config'); @@ -598,6 +635,7 @@ sub new { $self->set_binding_field('key' => 'password', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::SecretType())); $self->set_binding_field('key' => 'check_schedule', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Update', 'type_name' => 'Policy::Time'))); $self->set_binding_field('key' => 'auto_stage', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + $self->set_binding_field('key' => 'certificate_check', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::BooleanType())); bless $self, $class; return $self; } @@ -726,6 +764,40 @@ sub set_auto_stage { return; } +## @method get_certificate_check () +# Gets the value of 'certificate_check' property. +# +# @retval certificate_check - The current value of the field. +# Indicates whether certificates will be checked during patching.

+# +# Warning: Setting this *field* to false will result in an insecure connection to +# update repository which can potentially put the appliance security at risk.

+# +# . This *field* was added in vSphere API 6.7. +# +# Optional# +sub get_certificate_check { + my ($self, %args) = @_; + return $self->{'certificate_check'}; +} + +## @method set_certificate_check () +# Sets the given value for 'certificate_check' property. +# +# @param certificate_check - New value for the field. +# Indicates whether certificates will be checked during patching.

+# +# Warning: Setting this *field* to false will result in an insecure connection to +# update repository which can potentially put the appliance security at risk.

+# +# . This *field* was added in vSphere API 6.7. +# +sub set_certificate_check { + my ($self, %args) = @_; + $self->{'certificate_check'} = $args{'certificate_check'}; + return; +} + 1; diff --git a/lib/sdk/Com/Vmware/Appliance/Update/Staged.pm b/lib/sdk/Com/Vmware/Appliance/Update/Staged.pm index 69689a21..468cb07f 100644 --- a/lib/sdk/Com/Vmware/Appliance/Update/Staged.pm +++ b/lib/sdk/Com/Vmware/Appliance/Update/Staged.pm @@ -156,6 +156,7 @@ sub new { my $self = $class->SUPER::new('validator_list' => $validatorList, %args); $self->{staging_complete} = $args{'staging_complete'}; $self->{version} = $args{'version'}; + $self->{name} = $args{'name'}; $self->{description} = $args{'description'}; $self->{priority} = $args{'priority'}; $self->{severity} = $args{'severity'}; @@ -168,6 +169,7 @@ sub new { $self->set_binding_name('name' => 'com.vmware.appliance.update.staged.info'); $self->set_binding_field('key' => 'staging_complete', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); $self->set_binding_field('key' => 'version', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'name', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); $self->set_binding_field('key' => 'description', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std', 'type_name' => 'LocalizableMessage')); $self->set_binding_field('key' => 'priority', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Update', 'type_name' => 'CommonInfo::Priority')); $self->set_binding_field('key' => 'severity', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Update', 'type_name' => 'CommonInfo::Severity')); @@ -229,6 +231,30 @@ sub set_version { return; } +## @method get_name () +# Gets the value of 'name' property. +# +# @retval name - The current value of the field. +# Name of the update. This *field* was added in vSphere API 6.7. +# +# String# +sub get_name { + my ($self, %args) = @_; + return $self->{'name'}; +} + +## @method set_name () +# Sets the given value for 'name' property. +# +# @param name - New value for the field. +# Name of the update. This *field* was added in vSphere API 6.7. +# +sub set_name { + my ($self, %args) = @_; + $self->{'name'} = $args{'name'}; + return; +} + ## @method get_description () # Gets the value of 'description' property. # diff --git a/lib/sdk/Com/Vmware/Appliance/Update/Summary.pm b/lib/sdk/Com/Vmware/Appliance/Update/Summary.pm index 66ab9570..ffe50d62 100644 --- a/lib/sdk/Com/Vmware/Appliance/Update/Summary.pm +++ b/lib/sdk/Com/Vmware/Appliance/Update/Summary.pm @@ -31,6 +31,7 @@ sub new { my $self = $class->SUPER::new('validator_list' => $validatorList, %args); $self->{version} = $args{'version'}; + $self->{name} = $args{'name'}; $self->{description} = $args{'description'}; $self->{priority} = $args{'priority'}; $self->{severity} = $args{'severity'}; @@ -42,6 +43,7 @@ sub new { $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Update::Summary'); $self->set_binding_name('name' => 'com.vmware.appliance.update.summary'); $self->set_binding_field('key' => 'version', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'name', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); $self->set_binding_field('key' => 'description', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std', 'type_name' => 'LocalizableMessage')); $self->set_binding_field('key' => 'priority', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Update', 'type_name' => 'CommonInfo::Priority')); $self->set_binding_field('key' => 'severity', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Update', 'type_name' => 'CommonInfo::Severity')); @@ -79,6 +81,30 @@ sub set_version { return; } +## @method get_name () +# Gets the value of 'name' property. +# +# @retval name - The current value of the field. +# Name of the update. This *field* was added in vSphere API 6.7. +# +# String# +sub get_name { + my ($self, %args) = @_; + return $self->{'name'}; +} + +## @method set_name () +# Sets the given value for 'name' property. +# +# @param name - New value for the field. +# Name of the update. This *field* was added in vSphere API 6.7. +# +sub set_name { + my ($self, %args) = @_; + $self->{'name'} = $args{'name'}; + return; +} + ## @method get_description () # Gets the value of 'description' property. # diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/ComplianceResult.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/ComplianceResult.pm new file mode 100644 index 00000000..d0404a67 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/ComplianceResult.pm @@ -0,0 +1,84 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::ComplianceResult +# +# +# The ``Com::Vmware::Appliance::Vcenter::Settings::V1::ComplianceResult`` *class* +# defines the information about scan results. Warning: This *class* is +# available as Technology Preview. These are early access APIs provided to test, +# automate and provide feedback on the feature. Since this can change based on feedback, +# VMware does not guarantee backwards compatibility and recommends against using them in +# production environments. Some Technology Preview APIs might only be applicable to +# specific environments. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::ComplianceResult; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::ComplianceResult structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{diff_results} = $args{'diff_results'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::ComplianceResult'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.compliance_result'); + $self->set_binding_field('key' => 'diff_results', 'value' => new Com::Vmware::Vapi::Bindings::Type::MapType('binding_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StructType('name' => 'map-entry', 'fields' => {'key' => new Com::Vmware::Vapi::Bindings::Type::StringType(), 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1', 'type_name' => 'DiffResult')})))); + bless $self, $class; + return $self; +} + +## @method get_diff_results () +# Gets the value of 'diff_results' property. +# +# @retval diff_results - The current value of the field. +# Map of property value differences between current software state and working profile. +# Warning: This *field* is available as Technology Preview. These are early +# access APIs provided to test, automate and provide feedback on the feature. Since this +# can change based on feedback, VMware does not guarantee backwards compatibility and +# recommends against using them in production environments. Some Technology Preview APIs +# might only be applicable to specific environments. +# +# Map# +sub get_diff_results { + my ($self, %args) = @_; + return $self->{'diff_results'}; +} + +## @method set_diff_results () +# Sets the given value for 'diff_results' property. +# +# @param diff_results - New value for the field. +# Map of property value differences between current software state and working profile. +# Warning: This *field* is available as Technology Preview. These are early +# access APIs provided to test, automate and provide feedback on the feature. Since this +# can change based on feedback, VMware does not guarantee backwards compatibility and +# recommends against using them in production environments. Some Technology Preview APIs +# might only be applicable to specific environments. +# +sub set_diff_results { + my ($self, %args) = @_; + $self->{'diff_results'} = $args{'diff_results'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config.pm new file mode 100644 index 00000000..8f7010c7 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config.pm @@ -0,0 +1,838 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file Config.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config +# The ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config`` *interface* provides +# *methods* to manage desired configuration specification of vCenter. +# + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config; + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Appliance::Vcenter::Settings::V1::ConfigStub; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiInterface); + +# +# Identifier of the service +# +use constant _VAPI_SERVICE_ID => 'com.vmware.appliance.vcenter.settings.v1.config'; + +# +# Identifiers of the task operations +# +our $_VAPI_OPERATION_IDS = (); +$_VAPI_OPERATION_IDS->{'scan_task'} = 'scan$task'; +$_VAPI_OPERATION_IDS->{'scan_desired_state_task'} = 'scan_desired_state$task'; + +## @method new () +# Constructor to initialize the object +# +# @param api_provider - protocol connection to use with +# stubs created by this factory +# @param StubConfig - Stub's additional configuration +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $stub_config = $args {stub_config}; + my $api_provider = $args {api_provider}; + + my $self = $class->SUPER::new('stub_config' => $stub_config, + 'api_provider' => $api_provider); + bless $self, $class; + return $self; +} + +## @method create () +# Creates a Profile. Warning: This *method* is available as Technology Preview. +# These are early access APIs provided to test, automate and provide feedback on the +# feature. Since this can change based on feedback, VMware does not guarantee backwards +# compatibility and recommends against using them in production environments. Some +# Technology Preview APIs might only be applicable to specific environments. +# +# @param spec [REQUIRED] Specification of the profile to be created. +# . The value must be Com::Vmware::Appliance::Vcenter::Settings::V1::Config::CreateSpec. +# +# @retval +# ID of newly-created profile. +# The value will be an identifier for the resource type +# getQualifiedName(com.vmware.appliance.vcenter.settings.v1.config.profile). +# The return type will be str +# +# @throw Com::Vmware::Vapi::Std::Errors::AlreadyExists +# if a profile with the specified name already exists. +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if the system reports an error while responding to the request. +# +# @throw Com::Vmware::Vapi::Std::Errors::InvalidArgument +# if any of the specified parameters are invalid. +# +# @throw Com::Vmware::Vapi::Std::Errors::ServiceUnavailable +# if the system is unable to communicate with a service to complete the request. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the user can not be authenticated. +# +sub create { + my ($self, %args) = @_; + my $spec = $args {spec}; + + $self->validate_args (method_name => 'create', + method_args => \%args); + + return $self->invoke (method_name => 'create', + method_args => \%args); +} + +## @method get () +# Returns information about a profile. Warning: This *method* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# @retval +# Information about the specified profile. +# The return type will be Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Info +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if the system reports an error while responding to the request. +# +# @throw Com::Vmware::Vapi::Std::Errors::InvalidArgument +# If given version is different than the latest one. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# If there is no profile or version associated with ``profile`` or ``version`` in +# the system. +# +# @throw Com::Vmware::Vapi::Std::Errors::ServiceUnavailable +# if the system is unable to communicate with a service to complete the request. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the user can not be authenticated. +# +sub get { + my ($self, %args) = @_; + return $self->invoke(method_name => 'get', method_args => {}); +} + +## @method delete () +# Deletes a profile. Warning: This *method* is available as Technology Preview. +# These are early access APIs provided to test, automate and provide feedback on the +# feature. Since this can change based on feedback, VMware does not guarantee backwards +# compatibility and recommends against using them in production environments. Some +# Technology Preview APIs might only be applicable to specific environments. +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if the system reports an error while responding to the request. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotAllowedInCurrentState +# if any other operation running on the same profile. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if the profile is not found. +# +# @throw Com::Vmware::Vapi::Std::Errors::ServiceUnavailable +# if the system is unable to communicate service to complete the request. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the user can not be authenticated. +# +sub delete { + my ($self, %args) = @_; + return $self->invoke(method_name => 'delete', method_args => {}); +} + +## @method scan_task () +# Scans all the components in the profiles against the applied profile. result of this +# operation can be queried by calling the api cis/tasks/{task-id} where the task-id is the +# response of this operation. Warning: This *method* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback on +# the feature. Since this can change based on feedback, VMware does not guarantee backwards +# compatibility and recommends against using them in production environments. Some +# Technology Preview APIs might only be applicable to specific environments. +# +# @param version [REQUIRED] version of the profile. +# The value must be an identifier for the resource type +# getQualifiedName(com.vmware.appliance.vcenter.settings.v1.config.version). +# . The value must be str. +# +# @retval +# Result of the scan operation. +# The return type will be string +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# If there is unknown internal error. The accompanying error message will give more +# details about the failure. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# If there is no profile associated with ``profile`` in the system. +# +# @throw Com::Vmware::Vapi::Std::Errors::ServiceUnavailable +# If the service is not available. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# If the caller is not authenticated. +# +sub scan_task { + my ($self, %args) = @_; + my $version = $args {version}; + + $self->validate_args (method_name => 'scan$task', + method_args => \%args); + + return $self->invoke (method_name => 'scan$task', + method_args => \%args); +} + + +## @method scan_desired_state_task () +# Scans all the components in the desired state against the applied profile. result of this +# operation can be queried by calling the api cis/tasks/{task-id} where the task-id is the +# response of this operation. Warning: This *method* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback on +# the feature. Since this can change based on feedback, VMware does not guarantee backwards +# compatibility and recommends against using them in production environments. Some +# Technology Preview APIs might only be applicable to specific environments. +# +# @param spec [REQUIRED] +# . The value must be Com::Vmware::Appliance::Vcenter::Settings::V1::Config::ScanSpec. +# +# @retval +# Result of the scan operation. +# The return type will be string +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# If there is unknown internal error. The accompanying error message will give more +# details about the failure. +# +# @throw Com::Vmware::Vapi::Std::Errors::ServiceUnavailable +# If the service is not available. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# If the caller is not authenticated. +# +sub scan_desired_state_task { + my ($self, %args) = @_; + my $spec = $args {spec}; + + $self->validate_args (method_name => 'scan_desired_state$task', + method_args => \%args); + + return $self->invoke (method_name => 'scan_desired_state$task', + method_args => \%args); +} + + +1; + +######################################################################################### +# Begins enumerations for the Com::Vmware::Appliance::Vcenter::Settings::V1::Config service +######################################################################################### + + + +######################################################################################### +# Ends enumerations for the Com::Vmware::Appliance::Vcenter::Settings::V1::Config service +######################################################################################### + +######################################################################################### +# Begins structures for the Com::Vmware::Appliance::Vcenter::Settings::V1::Config service +######################################################################################### + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::CreateSpec +# +# +# The ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::CreateSpec`` *class* +# contains the specification required to create a profile in vCenter. the spec contains +# *fields* that describe information about the profile. Warning: This *class* +# is available as Technology Preview. These are early access APIs provided to test, +# automate and provide feedback on the feature. Since this can change based on feedback, +# VMware does not guarantee backwards compatibility and recommends against using them in +# production environments. Some Technology Preview APIs might only be applicable to +# specific environments. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::CreateSpec; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::CreateSpec structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{name} = $args{'name'}; + $self->{description} = $args{'description'}; + $self->{desired_state} = $args{'desired_state'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::CreateSpec'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.create_spec'); + $self->set_binding_field('key' => 'name', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'description', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'desired_state', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1', 'type_name' => 'DesiredState')); + bless $self, $class; + return $self; +} + +## @method get_name () +# Gets the value of 'name' property. +# +# @retval name - The current value of the field. +# Name of the profile. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +# String# +sub get_name { + my ($self, %args) = @_; + return $self->{'name'}; +} + +## @method set_name () +# Sets the given value for 'name' property. +# +# @param name - New value for the field. +# Name of the profile. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +sub set_name { + my ($self, %args) = @_; + $self->{'name'} = $args{'name'}; + return; +} + +## @method get_description () +# Gets the value of 'description' property. +# +# @retval description - The current value of the field. +# Description of the profile. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +# Optional# +sub get_description { + my ($self, %args) = @_; + return $self->{'description'}; +} + +## @method set_description () +# Sets the given value for 'description' property. +# +# @param description - New value for the field. +# Description of the profile. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +sub set_description { + my ($self, %args) = @_; + $self->{'description'} = $args{'description'}; + return; +} + +## @method get_desired_state () +# Gets the value of 'desired_state' property. +# +# @retval desired_state - The current value of the field. +# Defines the desired state. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +# DesiredState# +sub get_desired_state { + my ($self, %args) = @_; + return $self->{'desired_state'}; +} + +## @method set_desired_state () +# Sets the given value for 'desired_state' property. +# +# @param desired_state - New value for the field. +# Defines the desired state. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +sub set_desired_state { + my ($self, %args) = @_; + $self->{'desired_state'} = $args{'desired_state'}; + return; +} + + +1; + + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::ScanSpec +# +# +# The ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::ScanSpec`` *class* +# contains the specification required for compliance check against the vCenter current +# config state. Warning: This *class* is available as Technology Preview. These +# are early access APIs provided to test, automate and provide feedback on the feature. +# Since this can change based on feedback, VMware does not guarantee backwards +# compatibility and recommends against using them in production environments. Some +# Technology Preview APIs might only be applicable to specific environments. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::ScanSpec; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::ScanSpec structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{message} = $args{'message'}; + $self->{desired_state} = $args{'desired_state'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::ScanSpec'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.scan_spec'); + $self->set_binding_field('key' => 'message', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'desired_state', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1', 'type_name' => 'DesiredState')); + bless $self, $class; + return $self; +} + +## @method get_message () +# Gets the value of 'message' property. +# +# @retval message - The current value of the field. +# Message for the scan. This may act as an identification for the scan operation. +# Warning: This *field* is available as Technology Preview. These are early +# access APIs provided to test, automate and provide feedback on the feature. Since this +# can change based on feedback, VMware does not guarantee backwards compatibility and +# recommends against using them in production environments. Some Technology Preview APIs +# might only be applicable to specific environments. +# +# Optional# +sub get_message { + my ($self, %args) = @_; + return $self->{'message'}; +} + +## @method set_message () +# Sets the given value for 'message' property. +# +# @param message - New value for the field. +# Message for the scan. This may act as an identification for the scan operation. +# Warning: This *field* is available as Technology Preview. These are early +# access APIs provided to test, automate and provide feedback on the feature. Since this +# can change based on feedback, VMware does not guarantee backwards compatibility and +# recommends against using them in production environments. Some Technology Preview APIs +# might only be applicable to specific environments. +# +sub set_message { + my ($self, %args) = @_; + $self->{'message'} = $args{'message'}; + return; +} + +## @method get_desired_state () +# Gets the value of 'desired_state' property. +# +# @retval desired_state - The current value of the field. +# Defines the desired state. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +# DesiredState# +sub get_desired_state { + my ($self, %args) = @_; + return $self->{'desired_state'}; +} + +## @method set_desired_state () +# Sets the given value for 'desired_state' property. +# +# @param desired_state - New value for the field. +# Defines the desired state. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +sub set_desired_state { + my ($self, %args) = @_; + $self->{'desired_state'} = $args{'desired_state'}; + return; +} + + +1; + + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Info +# +# +# The ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Info`` *class* +# represents information about the config profile. the spec contains *fields* that +# describe information about the profile. Warning: This *class* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Info; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Info structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{profile} = $args{'profile'}; + $self->{version} = $args{'version'}; + $self->{name} = $args{'name'}; + $self->{creation_time} = $args{'creation_time'}; + $self->{owner} = $args{'owner'}; + $self->{description} = $args{'description'}; + $self->{desired_state} = $args{'desired_state'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Info'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.info'); + $self->set_binding_field('key' => 'profile', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'version', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'name', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'creation_time', 'value' => new Com::Vmware::Vapi::Bindings::Type::DateTimeType()); + $self->set_binding_field('key' => 'owner', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'description', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'desired_state', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1', 'type_name' => 'DesiredState')); + bless $self, $class; + return $self; +} + +## @method get_profile () +# Gets the value of 'profile' property. +# +# @retval profile - The current value of the field. +# The identifier of the profile. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# ID# +sub get_profile { + my ($self, %args) = @_; + return $self->{'profile'}; +} + +## @method set_profile () +# Sets the given value for 'profile' property. +# +# @param profile - New value for the field. +# The identifier of the profile. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +sub set_profile { + my ($self, %args) = @_; + $self->{'profile'} = $args{'profile'}; + return; +} + +## @method get_version () +# Gets the value of 'version' property. +# +# @retval version - The current value of the field. +# Version of the profile. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +# ID# +sub get_version { + my ($self, %args) = @_; + return $self->{'version'}; +} + +## @method set_version () +# Sets the given value for 'version' property. +# +# @param version - New value for the field. +# Version of the profile. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +sub set_version { + my ($self, %args) = @_; + $self->{'version'} = $args{'version'}; + return; +} + +## @method get_name () +# Gets the value of 'name' property. +# +# @retval name - The current value of the field. +# Name of the profile. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +# String# +sub get_name { + my ($self, %args) = @_; + return $self->{'name'}; +} + +## @method set_name () +# Sets the given value for 'name' property. +# +# @param name - New value for the field. +# Name of the profile. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +sub set_name { + my ($self, %args) = @_; + $self->{'name'} = $args{'name'}; + return; +} + +## @method get_creation_time () +# Gets the value of 'creation_time' property. +# +# @retval creation_time - The current value of the field. +# Creation time of the profile. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# DateTime# +sub get_creation_time { + my ($self, %args) = @_; + return $self->{'creation_time'}; +} + +## @method set_creation_time () +# Sets the given value for 'creation_time' property. +# +# @param creation_time - New value for the field. +# Creation time of the profile. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +sub set_creation_time { + my ($self, %args) = @_; + $self->{'creation_time'} = $args{'creation_time'}; + return; +} + +## @method get_owner () +# Gets the value of 'owner' property. +# +# @retval owner - The current value of the field. +# Owner of the profile, the one who created. Warning: This *field* is available +# as Technology Preview. These are early access APIs provided to test, automate and +# provide feedback on the feature. Since this can change based on feedback, VMware does +# not guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# String# +sub get_owner { + my ($self, %args) = @_; + return $self->{'owner'}; +} + +## @method set_owner () +# Sets the given value for 'owner' property. +# +# @param owner - New value for the field. +# Owner of the profile, the one who created. Warning: This *field* is available +# as Technology Preview. These are early access APIs provided to test, automate and +# provide feedback on the feature. Since this can change based on feedback, VMware does +# not guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +sub set_owner { + my ($self, %args) = @_; + $self->{'owner'} = $args{'owner'}; + return; +} + +## @method get_description () +# Gets the value of 'description' property. +# +# @retval description - The current value of the field. +# Custom description provided by the user. Warning: This *field* is available +# as Technology Preview. These are early access APIs provided to test, automate and +# provide feedback on the feature. Since this can change based on feedback, VMware does +# not guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# Optional# +sub get_description { + my ($self, %args) = @_; + return $self->{'description'}; +} + +## @method set_description () +# Sets the given value for 'description' property. +# +# @param description - New value for the field. +# Custom description provided by the user. Warning: This *field* is available +# as Technology Preview. These are early access APIs provided to test, automate and +# provide feedback on the feature. Since this can change based on feedback, VMware does +# not guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +sub set_description { + my ($self, %args) = @_; + $self->{'description'} = $args{'description'}; + return; +} + +## @method get_desired_state () +# Gets the value of 'desired_state' property. +# +# @retval desired_state - The current value of the field. +# The desired state. Warning: This *field* is available as Technology Preview. +# These are early access APIs provided to test, automate and provide feedback on the +# feature. Since this can change based on feedback, VMware does not guarantee backwards +# compatibility and recommends against using them in production environments. Some +# Technology Preview APIs might only be applicable to specific environments. +# +# DesiredState# +sub get_desired_state { + my ($self, %args) = @_; + return $self->{'desired_state'}; +} + +## @method set_desired_state () +# Sets the given value for 'desired_state' property. +# +# @param desired_state - New value for the field. +# The desired state. Warning: This *field* is available as Technology Preview. +# These are early access APIs provided to test, automate and provide feedback on the +# feature. Since this can change based on feedback, VMware does not guarantee backwards +# compatibility and recommends against using them in production environments. Some +# Technology Preview APIs might only be applicable to specific environments. +# +sub set_desired_state { + my ($self, %args) = @_; + $self->{'desired_state'} = $args{'desired_state'}; + return; +} + + +1; + + + +######################################################################################### +# Ends structures for the Com::Vmware::Appliance::Vcenter::Settings::V1::Config service +######################################################################################### diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/ApplianceManagement.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/ApplianceManagement.pm new file mode 100644 index 00000000..d548091b --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/ApplianceManagement.pm @@ -0,0 +1,446 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ApplianceManagement +# +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ApplianceManagement`` +# *class* This structure contains the Spec required for Appliance Management +# configurations. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ApplianceManagement; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ApplianceManagement structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{software_update_policy} = $args{'software_update_policy'}; + $self->{backup_schedules} = $args{'backup_schedules'}; + $self->{ssh} = $args{'ssh'}; + $self->{dcui} = $args{'dcui'}; + $self->{console_cli} = $args{'console_cli'}; + $self->{shell} = $args{'shell'}; + $self->{time_zone} = $args{'time_zone'}; + $self->{time_sync} = $args{'time_sync'}; + $self->{ntp} = $args{'ntp'}; + $self->{syslog} = $args{'syslog'}; + $self->{local_accounts_policy} = $args{'local_accounts_policy'}; + $self->{root_local_account} = $args{'root_local_account'}; + $self->{smtp} = $args{'smtp'}; + $self->{network} = $args{'network'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ApplianceManagement'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.appliance_management'); + $self->set_binding_field('key' => 'software_update_policy', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'SoftwareUpdatePolicy'))); + $self->set_binding_field('key' => 'backup_schedules', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'BackupSchedule')))); + $self->set_binding_field('key' => 'ssh', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'Ssh')); + $self->set_binding_field('key' => 'dcui', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'Dcui')); + $self->set_binding_field('key' => 'console_cli', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'Consolecli')); + $self->set_binding_field('key' => 'shell', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'Shell')); + $self->set_binding_field('key' => 'time_zone', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'Timezone'))); + $self->set_binding_field('key' => 'time_sync', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'Timesync'))); + $self->set_binding_field('key' => 'ntp', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'Ntp'))); + $self->set_binding_field('key' => 'syslog', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'LogForwarding')))); + $self->set_binding_field('key' => 'local_accounts_policy', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'LocalAccountsPolicy'))); + $self->set_binding_field('key' => 'root_local_account', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'LocalAccounts'))); + $self->set_binding_field('key' => 'smtp', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'Smtp'))); + $self->set_binding_field('key' => 'network', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'ApplianceNetwork'))); + bless $self, $class; + return $self; +} + +## @method get_software_update_policy () +# Gets the value of 'software_update_policy' property. +# +# @retval software_update_policy - The current value of the field. +# Policy to update vCenter. +# +# Optional# +sub get_software_update_policy { + my ($self, %args) = @_; + return $self->{'software_update_policy'}; +} + +## @method set_software_update_policy () +# Sets the given value for 'software_update_policy' property. +# +# @param software_update_policy - New value for the field. +# Policy to update vCenter. +# +sub set_software_update_policy { + my ($self, %args) = @_; + $self->{'software_update_policy'} = $args{'software_update_policy'}; + return; +} + +## @method get_backup_schedules () +# Gets the value of 'backup_schedules' property. +# +# @retval backup_schedules - The current value of the field. +# Backup schedule of vCenter. +# +# Optional# +sub get_backup_schedules { + my ($self, %args) = @_; + return $self->{'backup_schedules'}; +} + +## @method set_backup_schedules () +# Sets the given value for 'backup_schedules' property. +# +# @param backup_schedules - New value for the field. +# Backup schedule of vCenter. +# +sub set_backup_schedules { + my ($self, %args) = @_; + $self->{'backup_schedules'} = $args{'backup_schedules'}; + return; +} + +## @method get_ssh () +# Gets the value of 'ssh' property. +# +# @retval ssh - The current value of the field. +# Get/Set enabled state of SSH-based controlled CLI. +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Ssh`` +# *interface* provides *methods* +# +# Ssh# +sub get_ssh { + my ($self, %args) = @_; + return $self->{'ssh'}; +} + +## @method set_ssh () +# Sets the given value for 'ssh' property. +# +# @param ssh - New value for the field. +# Get/Set enabled state of SSH-based controlled CLI. +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Ssh`` +# *interface* provides *methods* +# +sub set_ssh { + my ($self, %args) = @_; + $self->{'ssh'} = $args{'ssh'}; + return; +} + +## @method get_dcui () +# Gets the value of 'dcui' property. +# +# @retval dcui - The current value of the field. +# Get/Set enabled of Direct Console User Interface (DCUI TTY2). +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Dcui`` +# *interface* provides *methods* +# +# Dcui# +sub get_dcui { + my ($self, %args) = @_; + return $self->{'dcui'}; +} + +## @method set_dcui () +# Sets the given value for 'dcui' property. +# +# @param dcui - New value for the field. +# Get/Set enabled of Direct Console User Interface (DCUI TTY2). +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Dcui`` +# *interface* provides *methods* +# +sub set_dcui { + my ($self, %args) = @_; + $self->{'dcui'} = $args{'dcui'}; + return; +} + +## @method get_console_cli () +# Gets the value of 'console_cli' property. +# +# @retval console_cli - The current value of the field. +# Get/Set enabled state of the console-based controlled CLI. +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Consolecli`` +# *interface* provides *methods* +# +# Consolecli# +sub get_console_cli { + my ($self, %args) = @_; + return $self->{'console_cli'}; +} + +## @method set_console_cli () +# Sets the given value for 'console_cli' property. +# +# @param console_cli - New value for the field. +# Get/Set enabled state of the console-based controlled CLI. +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Consolecli`` +# *interface* provides *methods* +# +sub set_console_cli { + my ($self, %args) = @_; + $self->{'console_cli'} = $args{'console_cli'}; + return; +} + +## @method get_shell () +# Gets the value of 'shell' property. +# +# @retval shell - The current value of the field. +# Get/Set enabled state of BASH. +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Shell`` +# *interface* provides *methods* +# +# Shell# +sub get_shell { + my ($self, %args) = @_; + return $self->{'shell'}; +} + +## @method set_shell () +# Sets the given value for 'shell' property. +# +# @param shell - New value for the field. +# Get/Set enabled state of BASH. +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Shell`` +# *interface* provides *methods* +# +sub set_shell { + my ($self, %args) = @_; + $self->{'shell'} = $args{'shell'}; + return; +} + +## @method get_time_zone () +# Gets the value of 'time_zone' property. +# +# @retval time_zone - The current value of the field. +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timezone`` +# *interface* provides *methods* to get and set the appliance timezone. +# +# Optional# +sub get_time_zone { + my ($self, %args) = @_; + return $self->{'time_zone'}; +} + +## @method set_time_zone () +# Sets the given value for 'time_zone' property. +# +# @param time_zone - New value for the field. +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timezone`` +# *interface* provides *methods* to get and set the appliance timezone. +# +sub set_time_zone { + my ($self, %args) = @_; + $self->{'time_zone'} = $args{'time_zone'}; + return; +} + +## @method get_time_sync () +# Gets the value of 'time_sync' property. +# +# @retval time_sync - The current value of the field. +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timesync`` +# *interface* provides *methods* Performs time synchronization configuration. +# +# Optional# +sub get_time_sync { + my ($self, %args) = @_; + return $self->{'time_sync'}; +} + +## @method set_time_sync () +# Sets the given value for 'time_sync' property. +# +# @param time_sync - New value for the field. +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timesync`` +# *interface* provides *methods* Performs time synchronization configuration. +# +sub set_time_sync { + my ($self, %args) = @_; + $self->{'time_sync'} = $args{'time_sync'}; + return; +} + +## @method get_ntp () +# Gets the value of 'ntp' property. +# +# @retval ntp - The current value of the field. +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Ntp`` +# *interface* provides *methods* Gets NTP configuration status and tests connection +# to ntp servers. +# +# Optional# +sub get_ntp { + my ($self, %args) = @_; + return $self->{'ntp'}; +} + +## @method set_ntp () +# Sets the given value for 'ntp' property. +# +# @param ntp - New value for the field. +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Ntp`` +# *interface* provides *methods* Gets NTP configuration status and tests connection +# to ntp servers. +# +sub set_ntp { + my ($self, %args) = @_; + $self->{'ntp'} = $args{'ntp'}; + return; +} + +## @method get_syslog () +# Gets the value of 'syslog' property. +# +# @retval syslog - The current value of the field. +# The ``syslog`` *interface* provides *methods* to manage forwarding of log +# messages to remote logging servers. +# +# Optional# +sub get_syslog { + my ($self, %args) = @_; + return $self->{'syslog'}; +} + +## @method set_syslog () +# Sets the given value for 'syslog' property. +# +# @param syslog - New value for the field. +# The ``syslog`` *interface* provides *methods* to manage forwarding of log +# messages to remote logging servers. +# +sub set_syslog { + my ($self, %args) = @_; + $self->{'syslog'} = $args{'syslog'}; + return; +} + +## @method get_local_accounts_policy () +# Gets the value of 'local_accounts_policy' property. +# +# @retval local_accounts_policy - The current value of the field. +# The ``localAccountsPolicy`` *interface* provides *methods* to manage local user +# accounts. +# +# Optional# +sub get_local_accounts_policy { + my ($self, %args) = @_; + return $self->{'local_accounts_policy'}; +} + +## @method set_local_accounts_policy () +# Sets the given value for 'local_accounts_policy' property. +# +# @param local_accounts_policy - New value for the field. +# The ``localAccountsPolicy`` *interface* provides *methods* to manage local user +# accounts. +# +sub set_local_accounts_policy { + my ($self, %args) = @_; + $self->{'local_accounts_policy'} = $args{'local_accounts_policy'}; + return; +} + +## @method get_root_local_account () +# Gets the value of 'root_local_account' property. +# +# @retval root_local_account - The current value of the field. +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LocalAccounts`` +# *interface* provides *methods* to manage local user account. +# +# Optional# +sub get_root_local_account { + my ($self, %args) = @_; + return $self->{'root_local_account'}; +} + +## @method set_root_local_account () +# Sets the given value for 'root_local_account' property. +# +# @param root_local_account - New value for the field. +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LocalAccounts`` +# *interface* provides *methods* to manage local user account. +# +sub set_root_local_account { + my ($self, %args) = @_; + $self->{'root_local_account'} = $args{'root_local_account'}; + return; +} + +## @method get_smtp () +# Gets the value of 'smtp' property. +# +# @retval smtp - The current value of the field. +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LocalAccounts`` +# *interface* provides *methods* to manage local user account. +# +# Optional# +sub get_smtp { + my ($self, %args) = @_; + return $self->{'smtp'}; +} + +## @method set_smtp () +# Sets the given value for 'smtp' property. +# +# @param smtp - New value for the field. +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LocalAccounts`` +# *interface* provides *methods* to manage local user account. +# +sub set_smtp { + my ($self, %args) = @_; + $self->{'smtp'} = $args{'smtp'}; + return; +} + +## @method get_network () +# Gets the value of 'network' property. +# +# @retval network - The current value of the field. +# Network configurations to be applied. +# +# Optional# +sub get_network { + my ($self, %args) = @_; + return $self->{'network'}; +} + +## @method set_network () +# Sets the given value for 'network' property. +# +# @param network - New value for the field. +# Network configurations to be applied. +# +sub set_network { + my ($self, %args) = @_; + $self->{'network'} = $args{'network'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/ApplianceNetwork.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/ApplianceNetwork.pm new file mode 100644 index 00000000..47834a41 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/ApplianceNetwork.pm @@ -0,0 +1,122 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ApplianceNetwork +# +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ApplianceNetwork`` +# *class* This structure contains the Spec required for Appliance Network +# configurations. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ApplianceNetwork; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ApplianceNetwork structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{firewall_rule_policies} = $args{'firewall_rule_policies'}; + $self->{dns_server_configuration} = $args{'dns_server_configuration'}; + $self->{proxy_configuration} = $args{'proxy_configuration'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ApplianceNetwork'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.appliance_network'); + $self->set_binding_field('key' => 'firewall_rule_policies', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'FirewallRulePolicy')))); + $self->set_binding_field('key' => 'dns_server_configuration', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'DnsServerConfiguration'))); + $self->set_binding_field('key' => 'proxy_configuration', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'ProxyConfiguration')))); + bless $self, $class; + return $self; +} + +## @method get_firewall_rule_policies () +# Gets the value of 'firewall_rule_policies' property. +# +# @retval firewall_rule_policies - The current value of the field. +# List of Firewall Rules to be applied. +# +# Optional# +sub get_firewall_rule_policies { + my ($self, %args) = @_; + return $self->{'firewall_rule_policies'}; +} + +## @method set_firewall_rule_policies () +# Sets the given value for 'firewall_rule_policies' property. +# +# @param firewall_rule_policies - New value for the field. +# List of Firewall Rules to be applied. +# +sub set_firewall_rule_policies { + my ($self, %args) = @_; + $self->{'firewall_rule_policies'} = $args{'firewall_rule_policies'}; + return; +} + +## @method get_dns_server_configuration () +# Gets the value of 'dns_server_configuration' property. +# +# @retval dns_server_configuration - The current value of the field. +# DNS configuration to be applied. +# +# Optional# +sub get_dns_server_configuration { + my ($self, %args) = @_; + return $self->{'dns_server_configuration'}; +} + +## @method set_dns_server_configuration () +# Sets the given value for 'dns_server_configuration' property. +# +# @param dns_server_configuration - New value for the field. +# DNS configuration to be applied. +# +sub set_dns_server_configuration { + my ($self, %args) = @_; + $self->{'dns_server_configuration'} = $args{'dns_server_configuration'}; + return; +} + +## @method get_proxy_configuration () +# Gets the value of 'proxy_configuration' property. +# +# @retval proxy_configuration - The current value of the field. +# Proxy configuration to be applied. +# +# Optional# +sub get_proxy_configuration { + my ($self, %args) = @_; + return $self->{'proxy_configuration'}; +} + +## @method set_proxy_configuration () +# Sets the given value for 'proxy_configuration' property. +# +# @param proxy_configuration - New value for the field. +# Proxy configuration to be applied. +# +sub set_proxy_configuration { + my ($self, %args) = @_; + $self->{'proxy_configuration'} = $args{'proxy_configuration'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/BackupSchedule.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/BackupSchedule.pm new file mode 100644 index 00000000..90cb62a1 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/BackupSchedule.pm @@ -0,0 +1,289 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::BackupSchedule +# +# +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::BackupSchedule`` +# *class* contains fields to be specified for creating a new schedule. The structure +# includes parts, location information, encryption password and enable flag. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::BackupSchedule; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::BackupSchedule structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{parts} = $args{'parts'}; + $self->{backup_password} = $args{'backup_password'}; + $self->{location} = $args{'location'}; + $self->{location_user} = $args{'location_user'}; + $self->{location_password} = $args{'location_password'}; + $self->{enable} = $args{'enable'}; + $self->{recurrence_info} = $args{'recurrence_info'}; + $self->{retention_info} = $args{'retention_info'}; + $self->{schedule_id} = $args{'schedule_id'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::BackupSchedule'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.backup_schedule'); + $self->set_binding_field('key' => 'parts', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); + $self->set_binding_field('key' => 'backup_password', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::SecretType())); + $self->set_binding_field('key' => 'location', 'value' => new Com::Vmware::Vapi::Bindings::Type::URIType()); + $self->set_binding_field('key' => 'location_user', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'location_password', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::SecretType())); + $self->set_binding_field('key' => 'enable', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::BooleanType())); + $self->set_binding_field('key' => 'recurrence_info', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'RecurrenceInfo'))); + $self->set_binding_field('key' => 'retention_info', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'RetentionInfo'))); + $self->set_binding_field('key' => 'schedule_id', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + bless $self, $class; + return $self; +} + +## @method get_parts () +# Gets the value of 'parts' property. +# +# @retval parts - The current value of the field. +# List of optional parts to be backed up. Use the null *method* to get information +# about the supported parts. +# +# Optional# +sub get_parts { + my ($self, %args) = @_; + return $self->{'parts'}; +} + +## @method set_parts () +# Sets the given value for 'parts' property. +# +# @param parts - New value for the field. +# List of optional parts to be backed up. Use the null *method* to get information +# about the supported parts. +# +sub set_parts { + my ($self, %args) = @_; + $self->{'parts'} = $args{'parts'}; + return; +} + +## @method get_backup_password () +# Gets the value of 'backup_password' property. +# +# @retval backup_password - The current value of the field. +# Password for a backup piece. The backupPassword must adhere to the following password +# requirements: At least 8 characters, cannot be more than 20 characters in length. At +# least 1 uppercase letter. At least 1 lowercase letter. At least 1 numeric digit. At +# least 1 special character (i.e. any character not in [0-9,a-z,A-Z]). Only visible +# ASCII characters (for example, no space). +# +# Optional# +sub get_backup_password { + my ($self, %args) = @_; + return $self->{'backup_password'}; +} + +## @method set_backup_password () +# Sets the given value for 'backup_password' property. +# +# @param backup_password - New value for the field. +# Password for a backup piece. The backupPassword must adhere to the following password +# requirements: At least 8 characters, cannot be more than 20 characters in length. At +# least 1 uppercase letter. At least 1 lowercase letter. At least 1 numeric digit. At +# least 1 special character (i.e. any character not in [0-9,a-z,A-Z]). Only visible +# ASCII characters (for example, no space). +# +sub set_backup_password { + my ($self, %args) = @_; + $self->{'backup_password'} = $args{'backup_password'}; + return; +} + +## @method get_location () +# Gets the value of 'location' property. +# +# @retval location - The current value of the field. +# URL of the backup location. +# +# URI# +sub get_location { + my ($self, %args) = @_; + return $self->{'location'}; +} + +## @method set_location () +# Sets the given value for 'location' property. +# +# @param location - New value for the field. +# URL of the backup location. +# +sub set_location { + my ($self, %args) = @_; + $self->{'location'} = $args{'location'}; + return; +} + +## @method get_location_user () +# Gets the value of 'location_user' property. +# +# @retval location_user - The current value of the field. +# Username for the given location. +# +# Optional# +sub get_location_user { + my ($self, %args) = @_; + return $self->{'location_user'}; +} + +## @method set_location_user () +# Sets the given value for 'location_user' property. +# +# @param location_user - New value for the field. +# Username for the given location. +# +sub set_location_user { + my ($self, %args) = @_; + $self->{'location_user'} = $args{'location_user'}; + return; +} + +## @method get_location_password () +# Gets the value of 'location_password' property. +# +# @retval location_password - The current value of the field. +# Password for the given location. +# +# Optional# +sub get_location_password { + my ($self, %args) = @_; + return $self->{'location_password'}; +} + +## @method set_location_password () +# Sets the given value for 'location_password' property. +# +# @param location_password - New value for the field. +# Password for the given location. +# +sub set_location_password { + my ($self, %args) = @_; + $self->{'location_password'} = $args{'location_password'}; + return; +} + +## @method get_enable () +# Gets the value of 'enable' property. +# +# @retval enable - The current value of the field. +# Enable or disable a schedule. +# +# Optional# +sub get_enable { + my ($self, %args) = @_; + return $self->{'enable'}; +} + +## @method set_enable () +# Sets the given value for 'enable' property. +# +# @param enable - New value for the field. +# Enable or disable a schedule. +# +sub set_enable { + my ($self, %args) = @_; + $self->{'enable'} = $args{'enable'}; + return; +} + +## @method get_recurrence_info () +# Gets the value of 'recurrence_info' property. +# +# @retval recurrence_info - The current value of the field. +# Recurrence information for the schedule. +# +# Optional# +sub get_recurrence_info { + my ($self, %args) = @_; + return $self->{'recurrence_info'}; +} + +## @method set_recurrence_info () +# Sets the given value for 'recurrence_info' property. +# +# @param recurrence_info - New value for the field. +# Recurrence information for the schedule. +# +sub set_recurrence_info { + my ($self, %args) = @_; + $self->{'recurrence_info'} = $args{'recurrence_info'}; + return; +} + +## @method get_retention_info () +# Gets the value of 'retention_info' property. +# +# @retval retention_info - The current value of the field. +# Retention information for the schedule. +# +# Optional# +sub get_retention_info { + my ($self, %args) = @_; + return $self->{'retention_info'}; +} + +## @method set_retention_info () +# Sets the given value for 'retention_info' property. +# +# @param retention_info - New value for the field. +# Retention information for the schedule. +# +sub set_retention_info { + my ($self, %args) = @_; + $self->{'retention_info'} = $args{'retention_info'}; + return; +} + +## @method get_schedule_id () +# Gets the value of 'schedule_id' property. +# +# @retval schedule_id - The current value of the field. +# Identifier of the schedule. +# +# String# +sub get_schedule_id { + my ($self, %args) = @_; + return $self->{'schedule_id'}; +} + +## @method set_schedule_id () +# Sets the given value for 'schedule_id' property. +# +# @param schedule_id - New value for the field. +# Identifier of the schedule. +# +sub set_schedule_id { + my ($self, %args) = @_; + $self->{'schedule_id'} = $args{'schedule_id'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Consolecli.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Consolecli.pm new file mode 100644 index 00000000..786eb08c --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Consolecli.pm @@ -0,0 +1,70 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Consolecli +# +# +# Get/Set of the console-based controlled CLI. +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Consolecli`` +# *interface* provides *methods* + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Consolecli; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Consolecli structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{enabled} = $args{'enabled'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Consolecli'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.consolecli'); + $self->set_binding_field('key' => 'enabled', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + bless $self, $class; + return $self; +} + +## @method get_enabled () +# Gets the value of 'enabled' property. +# +# @retval enabled - The current value of the field. +# Set enabled state of the console-based controlled CLI (TTY1). +# +# boolean# +sub get_enabled { + my ($self, %args) = @_; + return $self->{'enabled'}; +} + +## @method set_enabled () +# Sets the given value for 'enabled' property. +# +# @param enabled - New value for the field. +# Set enabled state of the console-based controlled CLI (TTY1). +# +sub set_enabled { + my ($self, %args) = @_; + $self->{'enabled'} = $args{'enabled'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Dcui.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Dcui.pm new file mode 100644 index 00000000..f2920b74 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Dcui.pm @@ -0,0 +1,70 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Dcui +# +# +# Get/Set enabled state of Direct Console User Interface (DCUI TTY2). +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Dcui`` +# *interface* provides *methods* + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Dcui; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Dcui structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{enabled} = $args{'enabled'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Dcui'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.dcui'); + $self->set_binding_field('key' => 'enabled', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + bless $self, $class; + return $self; +} + +## @method get_enabled () +# Gets the value of 'enabled' property. +# +# @retval enabled - The current value of the field. +# Set enabled state of Direct Console User Interface (DCUI). +# +# boolean# +sub get_enabled { + my ($self, %args) = @_; + return $self->{'enabled'}; +} + +## @method set_enabled () +# Sets the given value for 'enabled' property. +# +# @param enabled - New value for the field. +# Set enabled state of Direct Console User Interface (DCUI). +# +sub set_enabled { + my ($self, %args) = @_; + $self->{'enabled'} = $args{'enabled'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/DnsServerConfiguration.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/DnsServerConfiguration.pm new file mode 100644 index 00000000..88704325 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/DnsServerConfiguration.pm @@ -0,0 +1,149 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::DnsServerConfiguration +# +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::DnsServerConfiguration`` +# *class* This structure represents the configuration state used to determine DNS +# servers. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::DnsServerConfiguration; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::DnsServerConfiguration structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{mode} = $args{'mode'}; + $self->{servers} = $args{'servers'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::DnsServerConfiguration'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.dns_server_configuration'); + $self->set_binding_field('key' => 'mode', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'DnsServerConfiguration::DNSServerMode')); + $self->set_binding_field('key' => 'servers', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType())); + bless $self, $class; + return $self; +} + +## @method get_mode () +# Gets the value of 'mode' property. +# +# @retval mode - The current value of the field. +# Define how to determine the DNS servers. Leave the servers argument empty if the mode +# argument is "DHCP". Set the servers argument to a comma-separated list of +# DNS servers if the mode argument is "static". The DNS server are assigned +# from the specified list. +# +# DNSServerMode# +sub get_mode { + my ($self, %args) = @_; + return $self->{'mode'}; +} + +## @method set_mode () +# Sets the given value for 'mode' property. +# +# @param mode - New value for the field. +# Define how to determine the DNS servers. Leave the servers argument empty if the mode +# argument is "DHCP". Set the servers argument to a comma-separated list of +# DNS servers if the mode argument is "static". The DNS server are assigned +# from the specified list. +# +sub set_mode { + my ($self, %args) = @_; + $self->{'mode'} = $args{'mode'}; + return; +} + +## @method get_servers () +# Gets the value of 'servers' property. +# +# @retval servers - The current value of the field. +# List of the currently used DNS servers. DNS server configuration. +# +# List# +sub get_servers { + my ($self, %args) = @_; + return $self->{'servers'}; +} + +## @method set_servers () +# Sets the given value for 'servers' property. +# +# @param servers - New value for the field. +# List of the currently used DNS servers. DNS server configuration. +# +sub set_servers { + my ($self, %args) = @_; + $self->{'servers'} = $args{'servers'}; + return; +} + + +1; + + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::DnsServerConfiguration::DNSServerMode +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::DnsServerConfiguration::DNSServerMode`` +# *enumerated type* Describes DNS Server source (DHCP,static). +# +# +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::DnsServerConfiguration::DNSServerMode::DHCP # +#DNS address is automatically assigned by a DHCP server. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::DnsServerConfiguration::DNSServerMode::STATIC # +#DNS address is static. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::DnsServerConfiguration::DNSServerMode; + +use constant { + DHCP => 'DHCP', + STATIC => 'STATIC', +}; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiEnum); + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::DnsServerConfiguration::DNSServerMode enumeration. +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $self = $class->SUPER::new(); + my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType( + 'name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.dns_server_configuration.DNS_server_mode', + 'binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::DnsServerConfiguration::DNSServerMode'); + $class->SUPER::set_binding_type('binding_type' => $bindingType); + + bless $self, $class; + return $self; +} + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/FirewallRulePolicy.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/FirewallRulePolicy.pm new file mode 100644 index 00000000..189c290f --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/FirewallRulePolicy.pm @@ -0,0 +1,206 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::FirewallRulePolicy +# +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::FirewallRulePolicy`` +# *class* Structure that defines a single address-based firewall rule. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::FirewallRulePolicy; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::FirewallRulePolicy structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{address} = $args{'address'}; + $self->{prefix} = $args{'prefix'}; + $self->{policy} = $args{'policy'}; + $self->{interface_name} = $args{'interface_name'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::FirewallRulePolicy'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.firewall_rule_policy'); + $self->set_binding_field('key' => 'address', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'prefix', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'policy', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'FirewallRulePolicy::Policy')); + $self->set_binding_field('key' => 'interface_name', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + bless $self, $class; + return $self; +} + +## @method get_address () +# Gets the value of 'address' property. +# +# @retval address - The current value of the field. +# IPv4 or IPv6 address. +# +# String# +sub get_address { + my ($self, %args) = @_; + return $self->{'address'}; +} + +## @method set_address () +# Sets the given value for 'address' property. +# +# @param address - New value for the field. +# IPv4 or IPv6 address. +# +sub set_address { + my ($self, %args) = @_; + $self->{'address'} = $args{'address'}; + return; +} + +## @method get_prefix () +# Gets the value of 'prefix' property. +# +# @retval prefix - The current value of the field. +# CIDR prefix used to mask address. For example, an IPv4 prefix of 24 ignores the +# low-order 8 bits of address. +# +# Long# +sub get_prefix { + my ($self, %args) = @_; + return $self->{'prefix'}; +} + +## @method set_prefix () +# Sets the given value for 'prefix' property. +# +# @param prefix - New value for the field. +# CIDR prefix used to mask address. For example, an IPv4 prefix of 24 ignores the +# low-order 8 bits of address. +# +sub set_prefix { + my ($self, %args) = @_; + $self->{'prefix'} = $args{'prefix'}; + return; +} + +## @method get_policy () +# Gets the value of 'policy' property. +# +# @retval policy - The current value of the field. +# The allow or deny policy of this rule. +# +# Policy# +sub get_policy { + my ($self, %args) = @_; + return $self->{'policy'}; +} + +## @method set_policy () +# Sets the given value for 'policy' property. +# +# @param policy - New value for the field. +# The allow or deny policy of this rule. +# +sub set_policy { + my ($self, %args) = @_; + $self->{'policy'} = $args{'policy'}; + return; +} + +## @method get_interface_name () +# Gets the value of 'interface_name' property. +# +# @retval interface_name - The current value of the field. +# The interface to which this rule applies. An empty string indicates that the rule +# applies to all interfaces. +# +# Optional# +sub get_interface_name { + my ($self, %args) = @_; + return $self->{'interface_name'}; +} + +## @method set_interface_name () +# Sets the given value for 'interface_name' property. +# +# @param interface_name - New value for the field. +# The interface to which this rule applies. An empty string indicates that the rule +# applies to all interfaces. +# +sub set_interface_name { + my ($self, %args) = @_; + $self->{'interface_name'} = $args{'interface_name'}; + return; +} + + +1; + + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::FirewallRulePolicy::Policy +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::FirewallRulePolicy::Policy`` +# *enumerated type* Defines firewall rule policies. +# +# +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::FirewallRulePolicy::Policy::IGNORE # +#Drop packet with correpsonding address. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::FirewallRulePolicy::Policy::ACCEPT # +#Allow packet with corresponding address. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::FirewallRulePolicy::Policy::REJECT # +#Drop packet with corresponding address sending destination is not reachable. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::FirewallRulePolicy::Policy::RETURN # +#Apply default or port-specific rules to packet with corresponding address. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::FirewallRulePolicy::Policy; + +use constant { + IGNORE => 'IGNORE', + ACCEPT => 'ACCEPT', + REJECT => 'REJECT', + RETURN => 'RETURN', +}; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiEnum); + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::FirewallRulePolicy::Policy enumeration. +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $self = $class->SUPER::new(); + my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType( + 'name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.firewall_rule_policy.policy', + 'binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::FirewallRulePolicy::Policy'); + $class->SUPER::set_binding_type('binding_type' => $bindingType); + + bless $self, $class; + return $self; +} + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/LocalAccounts.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/LocalAccounts.pm new file mode 100644 index 00000000..aa73a159 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/LocalAccounts.pm @@ -0,0 +1,330 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LocalAccounts +# +# +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LocalAccounts`` +# *interface* provides *methods* to manage local user account. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LocalAccounts; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LocalAccounts structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{fullname} = $args{'fullname'}; + $self->{roles} = $args{'roles'}; + $self->{enabled} = $args{'enabled'}; + $self->{has_password} = $args{'has_password'}; + $self->{last_password_change} = $args{'last_password_change'}; + $self->{password_expires_at} = $args{'password_expires_at'}; + $self->{min_days_between_password_change} = $args{'min_days_between_password_change'}; + $self->{max_days_between_password_change} = $args{'max_days_between_password_change'}; + $self->{warn_days_before_password_expiration} = $args{'warn_days_before_password_expiration'}; + $self->{password} = $args{'password'}; + $self->{email} = $args{'email'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LocalAccounts'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.local_accounts'); + $self->set_binding_field('key' => 'fullname', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'roles', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); + $self->set_binding_field('key' => 'enabled', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + $self->set_binding_field('key' => 'has_password', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + $self->set_binding_field('key' => 'last_password_change', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::DateTimeType())); + $self->set_binding_field('key' => 'password_expires_at', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::DateTimeType())); + $self->set_binding_field('key' => 'min_days_between_password_change', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::LongType())); + $self->set_binding_field('key' => 'max_days_between_password_change', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::LongType())); + $self->set_binding_field('key' => 'warn_days_before_password_expiration', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::LongType())); + $self->set_binding_field('key' => 'password', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::SecretType())); + $self->set_binding_field('key' => 'email', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + bless $self, $class; + return $self; +} + +## @method get_fullname () +# Gets the value of 'fullname' property. +# +# @retval fullname - The current value of the field. +# Full name of the user +# +# Optional# +sub get_fullname { + my ($self, %args) = @_; + return $self->{'fullname'}; +} + +## @method set_fullname () +# Sets the given value for 'fullname' property. +# +# @param fullname - New value for the field. +# Full name of the user +# +sub set_fullname { + my ($self, %args) = @_; + $self->{'fullname'} = $args{'fullname'}; + return; +} + +## @method get_roles () +# Gets the value of 'roles' property. +# +# @retval roles - The current value of the field. +# User roles +# +# Optional# +sub get_roles { + my ($self, %args) = @_; + return $self->{'roles'}; +} + +## @method set_roles () +# Sets the given value for 'roles' property. +# +# @param roles - New value for the field. +# User roles +# +sub set_roles { + my ($self, %args) = @_; + $self->{'roles'} = $args{'roles'}; + return; +} + +## @method get_enabled () +# Gets the value of 'enabled' property. +# +# @retval enabled - The current value of the field. +# Flag indicating if the account is enabled +# +# boolean# +sub get_enabled { + my ($self, %args) = @_; + return $self->{'enabled'}; +} + +## @method set_enabled () +# Sets the given value for 'enabled' property. +# +# @param enabled - New value for the field. +# Flag indicating if the account is enabled +# +sub set_enabled { + my ($self, %args) = @_; + $self->{'enabled'} = $args{'enabled'}; + return; +} + +## @method get_has_password () +# Gets the value of 'has_password' property. +# +# @retval has_password - The current value of the field. +# Is the user password set. +# +# boolean# +sub get_has_password { + my ($self, %args) = @_; + return $self->{'has_password'}; +} + +## @method set_has_password () +# Sets the given value for 'has_password' property. +# +# @param has_password - New value for the field. +# Is the user password set. +# +sub set_has_password { + my ($self, %args) = @_; + $self->{'has_password'} = $args{'has_password'}; + return; +} + +## @method get_last_password_change () +# Gets the value of 'last_password_change' property. +# +# @retval last_password_change - The current value of the field. +# Date and time password was changed. +# +# Optional# +sub get_last_password_change { + my ($self, %args) = @_; + return $self->{'last_password_change'}; +} + +## @method set_last_password_change () +# Sets the given value for 'last_password_change' property. +# +# @param last_password_change - New value for the field. +# Date and time password was changed. +# +sub set_last_password_change { + my ($self, %args) = @_; + $self->{'last_password_change'} = $args{'last_password_change'}; + return; +} + +## @method get_password_expires_at () +# Gets the value of 'password_expires_at' property. +# +# @retval password_expires_at - The current value of the field. +# Date when the account's password will expire +# +# Optional# +sub get_password_expires_at { + my ($self, %args) = @_; + return $self->{'password_expires_at'}; +} + +## @method set_password_expires_at () +# Sets the given value for 'password_expires_at' property. +# +# @param password_expires_at - New value for the field. +# Date when the account's password will expire +# +sub set_password_expires_at { + my ($self, %args) = @_; + $self->{'password_expires_at'} = $args{'password_expires_at'}; + return; +} + +## @method get_min_days_between_password_change () +# Gets the value of 'min_days_between_password_change' property. +# +# @retval min_days_between_password_change - The current value of the field. +# Minimum number of days between password change +# +# Optional# +sub get_min_days_between_password_change { + my ($self, %args) = @_; + return $self->{'min_days_between_password_change'}; +} + +## @method set_min_days_between_password_change () +# Sets the given value for 'min_days_between_password_change' property. +# +# @param min_days_between_password_change - New value for the field. +# Minimum number of days between password change +# +sub set_min_days_between_password_change { + my ($self, %args) = @_; + $self->{'min_days_between_password_change'} = $args{'min_days_between_password_change'}; + return; +} + +## @method get_max_days_between_password_change () +# Gets the value of 'max_days_between_password_change' property. +# +# @retval max_days_between_password_change - The current value of the field. +# Maximum number of days between password change +# +# Optional# +sub get_max_days_between_password_change { + my ($self, %args) = @_; + return $self->{'max_days_between_password_change'}; +} + +## @method set_max_days_between_password_change () +# Sets the given value for 'max_days_between_password_change' property. +# +# @param max_days_between_password_change - New value for the field. +# Maximum number of days between password change +# +sub set_max_days_between_password_change { + my ($self, %args) = @_; + $self->{'max_days_between_password_change'} = $args{'max_days_between_password_change'}; + return; +} + +## @method get_warn_days_before_password_expiration () +# Gets the value of 'warn_days_before_password_expiration' property. +# +# @retval warn_days_before_password_expiration - The current value of the field. +# Number of days of warning before password expires +# +# Optional# +sub get_warn_days_before_password_expiration { + my ($self, %args) = @_; + return $self->{'warn_days_before_password_expiration'}; +} + +## @method set_warn_days_before_password_expiration () +# Sets the given value for 'warn_days_before_password_expiration' property. +# +# @param warn_days_before_password_expiration - New value for the field. +# Number of days of warning before password expires +# +sub set_warn_days_before_password_expiration { + my ($self, %args) = @_; + $self->{'warn_days_before_password_expiration'} = $args{'warn_days_before_password_expiration'}; + return; +} + +## @method get_password () +# Gets the value of 'password' property. +# +# @retval password - The current value of the field. +# Password +# +# Optional# +sub get_password { + my ($self, %args) = @_; + return $self->{'password'}; +} + +## @method set_password () +# Sets the given value for 'password' property. +# +# @param password - New value for the field. +# Password +# +sub set_password { + my ($self, %args) = @_; + $self->{'password'} = $args{'password'}; + return; +} + +## @method get_email () +# Gets the value of 'email' property. +# +# @retval email - The current value of the field. +# Email address of the local account +# +# Optional# +sub get_email { + my ($self, %args) = @_; + return $self->{'email'}; +} + +## @method set_email () +# Sets the given value for 'email' property. +# +# @param email - New value for the field. +# Email address of the local account +# +sub set_email { + my ($self, %args) = @_; + $self->{'email'} = $args{'email'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/LocalAccountsPolicy.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/LocalAccountsPolicy.pm new file mode 100644 index 00000000..69cdf9a8 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/LocalAccountsPolicy.pm @@ -0,0 +1,128 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LocalAccountsPolicy +# +# +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LocalAccountsPolicy`` +# *interface* provides *methods* to manage local user accounts password lifecycle. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LocalAccountsPolicy; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LocalAccountsPolicy structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{max_days} = $args{'max_days'}; + $self->{min_days} = $args{'min_days'}; + $self->{warn_days} = $args{'warn_days'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LocalAccountsPolicy'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.local_accounts_policy'); + $self->set_binding_field('key' => 'max_days', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::LongType())); + $self->set_binding_field('key' => 'min_days', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::LongType())); + $self->set_binding_field('key' => 'warn_days', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::LongType())); + bless $self, $class; + return $self; +} + +## @method get_max_days () +# Gets the value of 'max_days' property. +# +# @retval max_days - The current value of the field. +# Maximum number of days a password may be used. If the password is older than this, a +# password change will be forced. +# +# Optional# +sub get_max_days { + my ($self, %args) = @_; + return $self->{'max_days'}; +} + +## @method set_max_days () +# Sets the given value for 'max_days' property. +# +# @param max_days - New value for the field. +# Maximum number of days a password may be used. If the password is older than this, a +# password change will be forced. +# +sub set_max_days { + my ($self, %args) = @_; + $self->{'max_days'} = $args{'max_days'}; + return; +} + +## @method get_min_days () +# Gets the value of 'min_days' property. +# +# @retval min_days - The current value of the field. +# Minimum number of days allowed between password changes. Any password changes +# attempted sooner than this will be rejected. +# +# Optional# +sub get_min_days { + my ($self, %args) = @_; + return $self->{'min_days'}; +} + +## @method set_min_days () +# Sets the given value for 'min_days' property. +# +# @param min_days - New value for the field. +# Minimum number of days allowed between password changes. Any password changes +# attempted sooner than this will be rejected. +# +sub set_min_days { + my ($self, %args) = @_; + $self->{'min_days'} = $args{'min_days'}; + return; +} + +## @method get_warn_days () +# Gets the value of 'warn_days' property. +# +# @retval warn_days - The current value of the field. +# Number of days warning given before a password expires. A zero means warning is given +# only upon the day of expiration. +# +# Optional# +sub get_warn_days { + my ($self, %args) = @_; + return $self->{'warn_days'}; +} + +## @method set_warn_days () +# Sets the given value for 'warn_days' property. +# +# @param warn_days - New value for the field. +# Number of days warning given before a password expires. A zero means warning is given +# only upon the day of expiration. +# +sub set_warn_days { + my ($self, %args) = @_; + $self->{'warn_days'} = $args{'warn_days'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/LogForwarding.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/LogForwarding.pm new file mode 100644 index 00000000..321287b8 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/LogForwarding.pm @@ -0,0 +1,175 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LogForwarding +# +# +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LogForwarding`` +# *interface* provides *methods* to manage forwarding of log messages to remote +# logging servers. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LogForwarding; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LogForwarding structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{hostname} = $args{'hostname'}; + $self->{port} = $args{'port'}; + $self->{protocol} = $args{'protocol'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LogForwarding'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.log_forwarding'); + $self->set_binding_field('key' => 'hostname', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'port', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'protocol', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'LogForwarding::Protocol')); + bless $self, $class; + return $self; +} + +## @method get_hostname () +# Gets the value of 'hostname' property. +# +# @retval hostname - The current value of the field. +# FQDN or IP address of the logging server to which messages are forwarded. +# +# String# +sub get_hostname { + my ($self, %args) = @_; + return $self->{'hostname'}; +} + +## @method set_hostname () +# Sets the given value for 'hostname' property. +# +# @param hostname - New value for the field. +# FQDN or IP address of the logging server to which messages are forwarded. +# +sub set_hostname { + my ($self, %args) = @_; + $self->{'hostname'} = $args{'hostname'}; + return; +} + +## @method get_port () +# Gets the value of 'port' property. +# +# @retval port - The current value of the field. +# The port on which the remote logging server is listening for forwarded log messages. +# +# long# +sub get_port { + my ($self, %args) = @_; + return $self->{'port'}; +} + +## @method set_port () +# Sets the given value for 'port' property. +# +# @param port - New value for the field. +# The port on which the remote logging server is listening for forwarded log messages. +# +sub set_port { + my ($self, %args) = @_; + $self->{'port'} = $args{'port'}; + return; +} + +## @method get_protocol () +# Gets the value of 'protocol' property. +# +# @retval protocol - The current value of the field. +# Transport protocol used to forward log messages. +# +# Protocol# +sub get_protocol { + my ($self, %args) = @_; + return $self->{'protocol'}; +} + +## @method set_protocol () +# Sets the given value for 'protocol' property. +# +# @param protocol - New value for the field. +# Transport protocol used to forward log messages. +# +sub set_protocol { + my ($self, %args) = @_; + $self->{'protocol'} = $args{'protocol'}; + return; +} + + +1; + + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LogForwarding::Protocol +# +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LogForwarding::Protocol`` +# *enumerated type* defines transport protocols for outbound log messages. +# +# +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LogForwarding::Protocol::TLS # +#Log messages will be forwarded to the remote host by using the TLS protocol. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LogForwarding::Protocol::UDP # +#Log messages will be forwarded to the remote host using the UDP protocol. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LogForwarding::Protocol::TCP # +#Log messages will be forwarded to the remote host using the TCP protocol. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LogForwarding::Protocol; + +use constant { + TLS => 'TLS', + UDP => 'UDP', + TCP => 'TCP', +}; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiEnum); + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LogForwarding::Protocol enumeration. +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $self = $class->SUPER::new(); + my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType( + 'name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.log_forwarding.protocol', + 'binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::LogForwarding::Protocol'); + $class->SUPER::set_binding_type('binding_type' => $bindingType); + + bless $self, $class; + return $self; +} + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Ntp.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Ntp.pm new file mode 100644 index 00000000..9bd758ca --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Ntp.pm @@ -0,0 +1,72 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Ntp +# +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Ntp`` +# *interface* provides *methods* Get/Set NTP configuration status and tests +# connection to ntp servers. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Ntp; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Ntp structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{servers} = $args{'servers'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Ntp'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.ntp'); + $self->set_binding_field('key' => 'servers', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType())); + bless $self, $class; + return $self; +} + +## @method get_servers () +# Gets the value of 'servers' property. +# +# @retval servers - The current value of the field. +# Set NTP servers. This variable updates old NTP servers from configuration and sets the +# input NTP servers in the configuration. +# +# List# +sub get_servers { + my ($self, %args) = @_; + return $self->{'servers'}; +} + +## @method set_servers () +# Sets the given value for 'servers' property. +# +# @param servers - New value for the field. +# Set NTP servers. This variable updates old NTP servers from configuration and sets the +# input NTP servers in the configuration. +# +sub set_servers { + my ($self, %args) = @_; + $self->{'servers'} = $args{'servers'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/ProxyConfiguration.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/ProxyConfiguration.pm new file mode 100644 index 00000000..47cf25d4 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/ProxyConfiguration.pm @@ -0,0 +1,261 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ProxyConfiguration +# +# +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ProxyConfiguration`` +# *class* defines proxy configuration. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ProxyConfiguration; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ProxyConfiguration structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{protocol} = $args{'protocol'}; + $self->{server} = $args{'server'}; + $self->{port} = $args{'port'}; + $self->{username} = $args{'username'}; + $self->{password} = $args{'password'}; + $self->{enabled} = $args{'enabled'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ProxyConfiguration'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.proxy_configuration'); + $self->set_binding_field('key' => 'protocol', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'ProxyConfiguration::Protocol')); + $self->set_binding_field('key' => 'server', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'port', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'username', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'password', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::SecretType())); + $self->set_binding_field('key' => 'enabled', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + bless $self, $class; + return $self; +} + +## @method get_protocol () +# Gets the value of 'protocol' property. +# +# @retval protocol - The current value of the field. +# The protocol for which proxy should be set. +# +# Protocol# +sub get_protocol { + my ($self, %args) = @_; + return $self->{'protocol'}; +} + +## @method set_protocol () +# Sets the given value for 'protocol' property. +# +# @param protocol - New value for the field. +# The protocol for which proxy should be set. +# +sub set_protocol { + my ($self, %args) = @_; + $self->{'protocol'} = $args{'protocol'}; + return; +} + +## @method get_server () +# Gets the value of 'server' property. +# +# @retval server - The current value of the field. +# URL of the proxy server +# +# String# +sub get_server { + my ($self, %args) = @_; + return $self->{'server'}; +} + +## @method set_server () +# Sets the given value for 'server' property. +# +# @param server - New value for the field. +# URL of the proxy server +# +sub set_server { + my ($self, %args) = @_; + $self->{'server'} = $args{'server'}; + return; +} + +## @method get_port () +# Gets the value of 'port' property. +# +# @retval port - The current value of the field. +# Port to connect to the proxy server. In a 'get' call, indicates the port +# connected to the proxy server. In a 'set' call, specifies the port to +# connect to the proxy server. A value of -1 indicates the default port. +# +# Long# +sub get_port { + my ($self, %args) = @_; + return $self->{'port'}; +} + +## @method set_port () +# Sets the given value for 'port' property. +# +# @param port - New value for the field. +# Port to connect to the proxy server. In a 'get' call, indicates the port +# connected to the proxy server. In a 'set' call, specifies the port to +# connect to the proxy server. A value of -1 indicates the default port. +# +sub set_port { + my ($self, %args) = @_; + $self->{'port'} = $args{'port'}; + return; +} + +## @method get_username () +# Gets the value of 'username' property. +# +# @retval username - The current value of the field. +# Username for proxy server. +# +# Optional# +sub get_username { + my ($self, %args) = @_; + return $self->{'username'}; +} + +## @method set_username () +# Sets the given value for 'username' property. +# +# @param username - New value for the field. +# Username for proxy server. +# +sub set_username { + my ($self, %args) = @_; + $self->{'username'} = $args{'username'}; + return; +} + +## @method get_password () +# Gets the value of 'password' property. +# +# @retval password - The current value of the field. +# Password for proxy server. +# +# Optional# +sub get_password { + my ($self, %args) = @_; + return $self->{'password'}; +} + +## @method set_password () +# Sets the given value for 'password' property. +# +# @param password - New value for the field. +# Password for proxy server. +# +sub set_password { + my ($self, %args) = @_; + $self->{'password'} = $args{'password'}; + return; +} + +## @method get_enabled () +# Gets the value of 'enabled' property. +# +# @retval enabled - The current value of the field. +# In the result of the ``#get`` and ``#list`` *methods* this *field* indicates +# whether proxying is enabled for a particular protocol. In the input to the ``test`` +# and ``set`` *methods* this *field* specifies whether proxying should be enabled +# for a particular protocol. +# +# boolean# +sub get_enabled { + my ($self, %args) = @_; + return $self->{'enabled'}; +} + +## @method set_enabled () +# Sets the given value for 'enabled' property. +# +# @param enabled - New value for the field. +# In the result of the ``#get`` and ``#list`` *methods* this *field* indicates +# whether proxying is enabled for a particular protocol. In the input to the ``test`` +# and ``set`` *methods* this *field* specifies whether proxying should be enabled +# for a particular protocol. +# +sub set_enabled { + my ($self, %args) = @_; + $self->{'enabled'} = $args{'enabled'}; + return; +} + + +1; + + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ProxyConfiguration::Protocol +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ProxyConfiguration::Protocol`` +# *enumerated type* defines the protocols for which proxying is supported. +# +# +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ProxyConfiguration::Protocol::HTTP # +#Proxy configuration for http. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ProxyConfiguration::Protocol::HTTPS # +#Proxy configuration for https. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ProxyConfiguration::Protocol::FTP # +#Proxy configuration for ftp. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ProxyConfiguration::Protocol; + +use constant { + HTTP => 'HTTP', + HTTPS => 'HTTPS', + FTP => 'FTP', +}; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiEnum); + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ProxyConfiguration::Protocol enumeration. +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $self = $class->SUPER::new(); + my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType( + 'name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.proxy_configuration.protocol', + 'binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::ProxyConfiguration::Protocol'); + $class->SUPER::set_binding_type('binding_type' => $bindingType); + + bless $self, $class; + return $self; +} + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/RecurrenceInfo.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/RecurrenceInfo.pm new file mode 100644 index 00000000..801f973d --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/RecurrenceInfo.pm @@ -0,0 +1,194 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo +# +# +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo`` +# *class* contains the recurrence information associated with a schedule. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{minute} = $args{'minute'}; + $self->{hour} = $args{'hour'}; + $self->{days} = $args{'days'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.recurrence_info'); + $self->set_binding_field('key' => 'minute', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'hour', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'days', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'RecurrenceInfo::DayOfWeek')))); + bless $self, $class; + return $self; +} + +## @method get_minute () +# Gets the value of 'minute' property. +# +# @retval minute - The current value of the field. +# Minute when backup should run. +# +# Long# +sub get_minute { + my ($self, %args) = @_; + return $self->{'minute'}; +} + +## @method set_minute () +# Sets the given value for 'minute' property. +# +# @param minute - New value for the field. +# Minute when backup should run. +# +sub set_minute { + my ($self, %args) = @_; + $self->{'minute'} = $args{'minute'}; + return; +} + +## @method get_hour () +# Gets the value of 'hour' property. +# +# @retval hour - The current value of the field. +# Hour when backup should run. The hour should be specified in 24-hour clock format. +# +# Long# +sub get_hour { + my ($self, %args) = @_; + return $self->{'hour'}; +} + +## @method set_hour () +# Sets the given value for 'hour' property. +# +# @param hour - New value for the field. +# Hour when backup should run. The hour should be specified in 24-hour clock format. +# +sub set_hour { + my ($self, %args) = @_; + $self->{'hour'} = $args{'hour'}; + return; +} + +## @method get_days () +# Gets the value of 'days' property. +# +# @retval days - The current value of the field. +# Day of week when the backup should be run. Days can be specified as list of days. +# +# Optional# +sub get_days { + my ($self, %args) = @_; + return $self->{'days'}; +} + +## @method set_days () +# Sets the given value for 'days' property. +# +# @param days - New value for the field. +# Day of week when the backup should be run. Days can be specified as list of days. +# +sub set_days { + my ($self, %args) = @_; + $self->{'days'} = $args{'days'}; + return; +} + + +1; + + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo::DayOfWeek +# +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo::DayOfWeek`` +# *enumerated type* defines the set of days when backup can be scheduled. The days can +# be specified as a list of individual days. You specify the days when you set the +# recurrence for a schedule. See +# :attr:`Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo.days` +# . +# +# +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo::DayOfWeek::MONDAY # +#Monday +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo::DayOfWeek::TUESDAY # +#Tuesday +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo::DayOfWeek::WEDNESDAY # +#Wednesday +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo::DayOfWeek::THURSDAY # +#Thursday +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo::DayOfWeek::FRIDAY # +#Friday +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo::DayOfWeek::SATURDAY # +#Saturday +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo::DayOfWeek::SUNDAY # +#Sunday + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo::DayOfWeek; + +use constant { + MONDAY => 'MONDAY', + TUESDAY => 'TUESDAY', + WEDNESDAY => 'WEDNESDAY', + THURSDAY => 'THURSDAY', + FRIDAY => 'FRIDAY', + SATURDAY => 'SATURDAY', + SUNDAY => 'SUNDAY', +}; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiEnum); + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo::DayOfWeek enumeration. +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $self = $class->SUPER::new(); + my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType( + 'name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.recurrence_info.day_of_week', + 'binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RecurrenceInfo::DayOfWeek'); + $class->SUPER::set_binding_type('binding_type' => $bindingType); + + bless $self, $class; + return $self; +} + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/RetentionInfo.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/RetentionInfo.pm new file mode 100644 index 00000000..8a6ee6f5 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/RetentionInfo.pm @@ -0,0 +1,72 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RetentionInfo +# +# +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RetentionInfo`` +# *class* contains retention information associated with a schedule. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RetentionInfo; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RetentionInfo structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{max_count} = $args{'max_count'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::RetentionInfo'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.retention_info'); + $self->set_binding_field('key' => 'max_count', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + bless $self, $class; + return $self; +} + +## @method get_max_count () +# Gets the value of 'max_count' property. +# +# @retval max_count - The current value of the field. +# Number of backups which should be retained. If retention is not set, all the backups +# will be retained forever. +# +# Long# +sub get_max_count { + my ($self, %args) = @_; + return $self->{'max_count'}; +} + +## @method set_max_count () +# Sets the given value for 'max_count' property. +# +# @param max_count - New value for the field. +# Number of backups which should be retained. If retention is not set, all the backups +# will be retained forever. +# +sub set_max_count { + my ($self, %args) = @_; + $self->{'max_count'} = $args{'max_count'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Shell.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Shell.pm new file mode 100644 index 00000000..77cc0b10 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Shell.pm @@ -0,0 +1,98 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Shell +# +# +# Get/Set enabled state of BASH, that is, access to BASH from within the controlled CLI. +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Shell`` +# *interface* provides *methods* . + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Shell; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Shell structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{enabled} = $args{'enabled'}; + $self->{timeout} = $args{'timeout'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Shell'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.shell'); + $self->set_binding_field('key' => 'enabled', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + $self->set_binding_field('key' => 'timeout', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + bless $self, $class; + return $self; +} + +## @method get_enabled () +# Gets the value of 'enabled' property. +# +# @retval enabled - The current value of the field. +# Enabled can be set to true or false +# +# boolean# +sub get_enabled { + my ($self, %args) = @_; + return $self->{'enabled'}; +} + +## @method set_enabled () +# Sets the given value for 'enabled' property. +# +# @param enabled - New value for the field. +# Enabled can be set to true or false +# +sub set_enabled { + my ($self, %args) = @_; + $self->{'enabled'} = $args{'enabled'}; + return; +} + +## @method get_timeout () +# Gets the value of 'timeout' property. +# +# @retval timeout - The current value of the field. +# The timeout (in seconds) specifies how long you enable the Shell access. The maximum +# timeout is 86400 seconds(1 day). +# +# long# +sub get_timeout { + my ($self, %args) = @_; + return $self->{'timeout'}; +} + +## @method set_timeout () +# Sets the given value for 'timeout' property. +# +# @param timeout - New value for the field. +# The timeout (in seconds) specifies how long you enable the Shell access. The maximum +# timeout is 86400 seconds(1 day). +# +sub set_timeout { + my ($self, %args) = @_; + $self->{'timeout'} = $args{'timeout'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Smtp.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Smtp.pm new file mode 100644 index 00000000..ffa59c71 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Smtp.pm @@ -0,0 +1,96 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Smtp +# +# +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Smtp`` +# *interface* provides *methods* to manage send mail configuration. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Smtp; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Smtp structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{mail_server} = $args{'mail_server'}; + $self->{relay_port} = $args{'relay_port'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Smtp'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.smtp'); + $self->set_binding_field('key' => 'mail_server', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'relay_port', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + bless $self, $class; + return $self; +} + +## @method get_mail_server () +# Gets the value of 'mail_server' property. +# +# @retval mail_server - The current value of the field. +# Mail server IP address. +# +# Optional# +sub get_mail_server { + my ($self, %args) = @_; + return $self->{'mail_server'}; +} + +## @method set_mail_server () +# Sets the given value for 'mail_server' property. +# +# @param mail_server - New value for the field. +# Mail server IP address. +# +sub set_mail_server { + my ($self, %args) = @_; + $self->{'mail_server'} = $args{'mail_server'}; + return; +} + +## @method get_relay_port () +# Gets the value of 'relay_port' property. +# +# @retval relay_port - The current value of the field. +# Relay port number. +# +# Optional# +sub get_relay_port { + my ($self, %args) = @_; + return $self->{'relay_port'}; +} + +## @method set_relay_port () +# Sets the given value for 'relay_port' property. +# +# @param relay_port - New value for the field. +# Relay port number. +# +sub set_relay_port { + my ($self, %args) = @_; + $self->{'relay_port'} = $args{'relay_port'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/SoftwareUpdatePolicy.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/SoftwareUpdatePolicy.pm new file mode 100644 index 00000000..bbb9cbbf --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/SoftwareUpdatePolicy.pm @@ -0,0 +1,288 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::SoftwareUpdatePolicy +# +# +# This +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::SoftwareUpdatePolicy`` +# *class* to set/get background check for the new updates. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::SoftwareUpdatePolicy; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::SoftwareUpdatePolicy structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{custom_URL} = $args{'custom_URL'}; + $self->{default_URL} = $args{'default_URL'}; + $self->{auto_stage} = $args{'auto_stage'}; + $self->{check_schedule} = $args{'check_schedule'}; + $self->{username} = $args{'username'}; + $self->{password} = $args{'password'}; + $self->{certificate_check} = $args{'certificate_check'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::SoftwareUpdatePolicy'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.software_update_policy'); + $self->set_binding_field('key' => 'custom_URL', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'default_URL', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'auto_stage', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'SoftwareUpdatePolicy::AutoUpdateNotification')); + $self->set_binding_field('key' => 'check_schedule', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'Time'))); + $self->set_binding_field('key' => 'username', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'password', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::SecretType())); + $self->set_binding_field('key' => 'certificate_check', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + bless $self, $class; + return $self; +} + +## @method get_custom_URL () +# Gets the value of 'custom_URL' property. +# +# @retval custom_URL - The current value of the field. +# Current appliance update repository URL. Enter "default" to reset the url to +# the default url. +# +# Optional# +sub get_custom_URL { + my ($self, %args) = @_; + return $self->{'custom_URL'}; +} + +## @method set_custom_URL () +# Sets the given value for 'custom_URL' property. +# +# @param custom_URL - New value for the field. +# Current appliance update repository URL. Enter "default" to reset the url to +# the default url. +# +sub set_custom_URL { + my ($self, %args) = @_; + $self->{'custom_URL'} = $args{'custom_URL'}; + return; +} + +## @method get_default_URL () +# Gets the value of 'default_URL' property. +# +# @retval default_URL - The current value of the field. +# Default appliance update repository URL. +# +# Optional# +sub get_default_URL { + my ($self, %args) = @_; + return $self->{'default_URL'}; +} + +## @method set_default_URL () +# Sets the given value for 'default_URL' property. +# +# @param default_URL - New value for the field. +# Default appliance update repository URL. +# +sub set_default_URL { + my ($self, %args) = @_; + $self->{'default_URL'} = $args{'default_URL'}; + return; +} + +## @method get_auto_stage () +# Gets the value of 'auto_stage' property. +# +# @retval auto_stage - The current value of the field. +# Check for update at the pre-configured repository URL. +# +# AutoUpdateNotification# +sub get_auto_stage { + my ($self, %args) = @_; + return $self->{'auto_stage'}; +} + +## @method set_auto_stage () +# Sets the given value for 'auto_stage' property. +# +# @param auto_stage - New value for the field. +# Check for update at the pre-configured repository URL. +# +sub set_auto_stage { + my ($self, %args) = @_; + $self->{'auto_stage'} = $args{'auto_stage'}; + return; +} + +## @method get_check_schedule () +# Gets the value of 'check_schedule' property. +# +# @retval check_schedule - The current value of the field. +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time`` +# *class* defines day and time the automatic check for new updates will be run. +# +# Optional# +sub get_check_schedule { + my ($self, %args) = @_; + return $self->{'check_schedule'}; +} + +## @method set_check_schedule () +# Sets the given value for 'check_schedule' property. +# +# @param check_schedule - New value for the field. +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time`` +# *class* defines day and time the automatic check for new updates will be run. +# +sub set_check_schedule { + my ($self, %args) = @_; + $self->{'check_schedule'} = $args{'check_schedule'}; + return; +} + +## @method get_username () +# Gets the value of 'username' property. +# +# @retval username - The current value of the field. +# Username for the url update repository +# +# Optional# +sub get_username { + my ($self, %args) = @_; + return $self->{'username'}; +} + +## @method set_username () +# Sets the given value for 'username' property. +# +# @param username - New value for the field. +# Username for the url update repository +# +sub set_username { + my ($self, %args) = @_; + $self->{'username'} = $args{'username'}; + return; +} + +## @method get_password () +# Gets the value of 'password' property. +# +# @retval password - The current value of the field. +# Password for the url update repository +# +# Optional# +sub get_password { + my ($self, %args) = @_; + return $self->{'password'}; +} + +## @method set_password () +# Sets the given value for 'password' property. +# +# @param password - New value for the field. +# Password for the url update repository +# +sub set_password { + my ($self, %args) = @_; + $self->{'password'} = $args{'password'}; + return; +} + +## @method get_certificate_check () +# Gets the value of 'certificate_check' property. +# +# @retval certificate_check - The current value of the field. +# Indicates whether certificates will be checked during patching.

+# +# Warning: If this *field* is set to false, an insecure connection is made to the +# update repository which can potentially put the appliance security at risk.

+# +# boolean# +sub get_certificate_check { + my ($self, %args) = @_; + return $self->{'certificate_check'}; +} + +## @method set_certificate_check () +# Sets the given value for 'certificate_check' property. +# +# @param certificate_check - New value for the field. +# Indicates whether certificates will be checked during patching.

+# +# Warning: If this *field* is set to false, an insecure connection is made to the +# update repository which can potentially put the appliance security at risk.

+# +sub set_certificate_check { + my ($self, %args) = @_; + $self->{'certificate_check'} = $args{'certificate_check'}; + return; +} + + +1; + + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::SoftwareUpdatePolicy::AutoUpdateNotification +# +# Defines state for automatic update notification. +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::SoftwareUpdatePolicy::AutoUpdateNotification`` +# *enumerated type* +# +# +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::SoftwareUpdatePolicy::AutoUpdateNotification::DISABLED # +#Automatic update notification is disabled. Disable periodically query the configured url +# for updates. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::SoftwareUpdatePolicy::AutoUpdateNotification::ENABLED # +#Automatic update notification is enabled. Enable periodically query the configured url for +# updates. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::SoftwareUpdatePolicy::AutoUpdateNotification; + +use constant { + DISABLED => 'DISABLED', + ENABLED => 'ENABLED', +}; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiEnum); + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::SoftwareUpdatePolicy::AutoUpdateNotification enumeration. +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $self = $class->SUPER::new(); + my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType( + 'name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.software_update_policy.auto_update_notification', + 'binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::SoftwareUpdatePolicy::AutoUpdateNotification'); + $class->SUPER::set_binding_type('binding_type' => $bindingType); + + bless $self, $class; + return $self; +} + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Ssh.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Ssh.pm new file mode 100644 index 00000000..bad02a5e --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Ssh.pm @@ -0,0 +1,70 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Ssh +# +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Ssh`` +# *interface* provides *methods* to Get/Set enabled state of SSH-based controlled +# CLI. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Ssh; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Ssh structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{enabled} = $args{'enabled'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Ssh'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.ssh'); + $self->set_binding_field('key' => 'enabled', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + bless $self, $class; + return $self; +} + +## @method get_enabled () +# Gets the value of 'enabled' property. +# +# @retval enabled - The current value of the field. +# Set enabled state of the SSH-based controlled CLI. +# +# boolean# +sub get_enabled { + my ($self, %args) = @_; + return $self->{'enabled'}; +} + +## @method set_enabled () +# Sets the given value for 'enabled' property. +# +# @param enabled - New value for the field. +# Set enabled state of the SSH-based controlled CLI. +# +sub set_enabled { + my ($self, %args) = @_; + $self->{'enabled'} = $args{'enabled'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Time.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Time.pm new file mode 100644 index 00000000..efb60039 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Time.pm @@ -0,0 +1,193 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time +# +# +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time`` +# *class* defines weekday and time the automatic check for new updates will be run + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{hour} = $args{'hour'}; + $self->{minute} = $args{'minute'}; + $self->{day} = $args{'day'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.time'); + $self->set_binding_field('key' => 'hour', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'minute', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'day', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'Time::UpdateDay'))); + bless $self, $class; + return $self; +} + +## @method get_hour () +# Gets the value of 'hour' property. +# +# @retval hour - The current value of the field. +# Time to query for updates Format: HH:MM:SS Military (24 hour) Time Format +# +# Optional# +sub get_hour { + my ($self, %args) = @_; + return $self->{'hour'}; +} + +## @method set_hour () +# Sets the given value for 'hour' property. +# +# @param hour - New value for the field. +# Time to query for updates Format: HH:MM:SS Military (24 hour) Time Format +# +sub set_hour { + my ($self, %args) = @_; + $self->{'hour'} = $args{'hour'}; + return; +} + +## @method get_minute () +# Gets the value of 'minute' property. +# +# @retval minute - The current value of the field. +# Time to query for updates Format: HH:MM:SS Military (24 hour) Time Format +# +# Optional# +sub get_minute { + my ($self, %args) = @_; + return $self->{'minute'}; +} + +## @method set_minute () +# Sets the given value for 'minute' property. +# +# @param minute - New value for the field. +# Time to query for updates Format: HH:MM:SS Military (24 hour) Time Format +# +sub set_minute { + my ($self, %args) = @_; + $self->{'minute'} = $args{'minute'}; + return; +} + +## @method get_day () +# Gets the value of 'day' property. +# +# @retval day - The current value of the field. +# Day to query for updates +# +# Optional# +sub get_day { + my ($self, %args) = @_; + return $self->{'day'}; +} + +## @method set_day () +# Sets the given value for 'day' property. +# +# @param day - New value for the field. +# Day to query for updates +# +sub set_day { + my ($self, %args) = @_; + $self->{'day'} = $args{'day'}; + return; +} + + +1; + + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time::UpdateDay +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time::UpdateDay`` +# *enumerated type* Defines days to query for updates. +# +# +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time::UpdateDay::MONDAY # +#Query for updates on Monday. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time::UpdateDay::TUESDAY # +#Query for updates on Tuesday. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time::UpdateDay::FRIDAY # +#Query for updates on Friday. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time::UpdateDay::WEDNESDAY # +#Query for updates on Wednesday. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time::UpdateDay::THURSDAY # +#Query for updates on Thursday. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time::UpdateDay::SATURDAY # +#Query for updates on Saturday. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time::UpdateDay::SUNDAY # +#Query for updates on Sunday. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time::UpdateDay::EVERYDAY # +#Query for updates everyday. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time::UpdateDay; + +use constant { + MONDAY => 'MONDAY', + TUESDAY => 'TUESDAY', + FRIDAY => 'FRIDAY', + WEDNESDAY => 'WEDNESDAY', + THURSDAY => 'THURSDAY', + SATURDAY => 'SATURDAY', + SUNDAY => 'SUNDAY', + EVERYDAY => 'EVERYDAY', +}; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiEnum); + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time::UpdateDay enumeration. +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $self = $class->SUPER::new(); + my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType( + 'name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.time.update_day', + 'binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Time::UpdateDay'); + $class->SUPER::set_binding_type('binding_type' => $bindingType); + + bless $self, $class; + return $self; +} + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Timesync.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Timesync.pm new file mode 100644 index 00000000..4f48f59c --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Timesync.pm @@ -0,0 +1,121 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timesync +# +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timesync`` +# *interface* provides *methods* Performs time synchronization configuration. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timesync; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timesync structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{mode} = $args{'mode'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timesync'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.timesync'); + $self->set_binding_field('key' => 'mode', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'Timesync::TimeSyncMode')); + bless $self, $class; + return $self; +} + +## @method get_mode () +# Gets the value of 'mode' property. +# +# @retval mode - The current value of the field. + +# +# TimeSyncMode# +sub get_mode { + my ($self, %args) = @_; + return $self->{'mode'}; +} + +## @method set_mode () +# Sets the given value for 'mode' property. +# +# @param mode - New value for the field. + +# +sub set_mode { + my ($self, %args) = @_; + $self->{'mode'} = $args{'mode'}; + return; +} + + +1; + + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timesync::TimeSyncMode +# +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timesync::TimeSyncMode`` +# *enumerated type* defines time synchronization modes +# +# +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timesync::TimeSyncMode::DISABLED # +#Time synchronization is disabled. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timesync::TimeSyncMode::NTP # +#NTP-based time synchronization. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timesync::TimeSyncMode::HOST # +#VMware Tool-based time synchronization. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timesync::TimeSyncMode; + +use constant { + DISABLED => 'DISABLED', + NTP => 'NTP', + HOST => 'HOST', +}; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiEnum); + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timesync::TimeSyncMode enumeration. +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $self = $class->SUPER::new(); + my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType( + 'name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.timesync.time_sync_mode', + 'binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timesync::TimeSyncMode'); + $class->SUPER::set_binding_type('binding_type' => $bindingType); + + bless $self, $class; + return $self; +} + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Timezone.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Timezone.pm new file mode 100644 index 00000000..8f0c211c --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Applmgmt/Timezone.pm @@ -0,0 +1,70 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timezone +# +# +# The +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timezone`` +# *interface* provides *methods* to get and set the appliance timezone. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timezone; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timezone structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{name} = $args{'name'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt::Timezone'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt.timezone'); + $self->set_binding_field('key' => 'name', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + bless $self, $class; + return $self; +} + +## @method get_name () +# Gets the value of 'name' property. +# +# @retval name - The current value of the field. +# Set time zone. +# +# Optional# +sub get_name { + my ($self, %args) = @_; + return $self->{'name'}; +} + +## @method set_name () +# Sets the given value for 'name' property. +# +# @param name - New value for the field. +# Set time zone. +# +sub set_name { + my ($self, %args) = @_; + $self->{'name'} = $args{'name'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/AuthenticationManagement.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/AuthenticationManagement.pm new file mode 100644 index 00000000..834b4531 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/AuthenticationManagement.pm @@ -0,0 +1,200 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::AuthenticationManagement +# +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::AuthenticationManagement`` +# *class* This structure contains the Spec required for Authentication Management +# configurations. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::AuthenticationManagement; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::AuthenticationManagement structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{privileges_list} = $args{'privileges_list'}; + $self->{global_permission_list} = $args{'global_permission_list'}; + $self->{role_list} = $args{'role_list'}; + $self->{password_policy} = $args{'password_policy'}; + $self->{token_policy} = $args{'token_policy'}; + $self->{lockout_policy} = $args{'lockout_policy'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::AuthenticationManagement'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.authmanagement.authentication_management'); + $self->set_binding_field('key' => 'privileges_list', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement', 'type_name' => 'Privileges'))); + $self->set_binding_field('key' => 'global_permission_list', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement', 'type_name' => 'GlobalPermission'))); + $self->set_binding_field('key' => 'role_list', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement', 'type_name' => 'Roles'))); + $self->set_binding_field('key' => 'password_policy', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement', 'type_name' => 'PasswordPolicy'))); + $self->set_binding_field('key' => 'token_policy', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement', 'type_name' => 'TokenPolicy'))); + $self->set_binding_field('key' => 'lockout_policy', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement', 'type_name' => 'LockoutPolicy'))); + bless $self, $class; + return $self; +} + +## @method get_privileges_list () +# Gets the value of 'privileges_list' property. +# +# @retval privileges_list - The current value of the field. +# List of Privileges. +# +# List# +sub get_privileges_list { + my ($self, %args) = @_; + return $self->{'privileges_list'}; +} + +## @method set_privileges_list () +# Sets the given value for 'privileges_list' property. +# +# @param privileges_list - New value for the field. +# List of Privileges. +# +sub set_privileges_list { + my ($self, %args) = @_; + $self->{'privileges_list'} = $args{'privileges_list'}; + return; +} + +## @method get_global_permission_list () +# Gets the value of 'global_permission_list' property. +# +# @retval global_permission_list - The current value of the field. +# List of Global Permission. +# +# List# +sub get_global_permission_list { + my ($self, %args) = @_; + return $self->{'global_permission_list'}; +} + +## @method set_global_permission_list () +# Sets the given value for 'global_permission_list' property. +# +# @param global_permission_list - New value for the field. +# List of Global Permission. +# +sub set_global_permission_list { + my ($self, %args) = @_; + $self->{'global_permission_list'} = $args{'global_permission_list'}; + return; +} + +## @method get_role_list () +# Gets the value of 'role_list' property. +# +# @retval role_list - The current value of the field. +# List of Roles. +# +# List# +sub get_role_list { + my ($self, %args) = @_; + return $self->{'role_list'}; +} + +## @method set_role_list () +# Sets the given value for 'role_list' property. +# +# @param role_list - New value for the field. +# List of Roles. +# +sub set_role_list { + my ($self, %args) = @_; + $self->{'role_list'} = $args{'role_list'}; + return; +} + +## @method get_password_policy () +# Gets the value of 'password_policy' property. +# +# @retval password_policy - The current value of the field. +# Password Policy. +# +# Optional# +sub get_password_policy { + my ($self, %args) = @_; + return $self->{'password_policy'}; +} + +## @method set_password_policy () +# Sets the given value for 'password_policy' property. +# +# @param password_policy - New value for the field. +# Password Policy. +# +sub set_password_policy { + my ($self, %args) = @_; + $self->{'password_policy'} = $args{'password_policy'}; + return; +} + +## @method get_token_policy () +# Gets the value of 'token_policy' property. +# +# @retval token_policy - The current value of the field. +# Token Policy. +# +# Optional# +sub get_token_policy { + my ($self, %args) = @_; + return $self->{'token_policy'}; +} + +## @method set_token_policy () +# Sets the given value for 'token_policy' property. +# +# @param token_policy - New value for the field. +# Token Policy. +# +sub set_token_policy { + my ($self, %args) = @_; + $self->{'token_policy'} = $args{'token_policy'}; + return; +} + +## @method get_lockout_policy () +# Gets the value of 'lockout_policy' property. +# +# @retval lockout_policy - The current value of the field. +# Lockout Policy. +# +# Optional# +sub get_lockout_policy { + my ($self, %args) = @_; + return $self->{'lockout_policy'}; +} + +## @method set_lockout_policy () +# Sets the given value for 'lockout_policy' property. +# +# @param lockout_policy - New value for the field. +# Lockout Policy. +# +sub set_lockout_policy { + my ($self, %args) = @_; + $self->{'lockout_policy'} = $args{'lockout_policy'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/GlobalPermission.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/GlobalPermission.pm new file mode 100644 index 00000000..5ab683f4 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/GlobalPermission.pm @@ -0,0 +1,121 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::GlobalPermission +# +# +# ``GlobalPermissions`` *class* This structure represents the configuration for +# Global Permissions + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::GlobalPermission; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::GlobalPermission structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{principal} = $args{'principal'}; + $self->{role_ids} = $args{'role_ids'}; + $self->{propagate} = $args{'propagate'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::GlobalPermission'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.authmanagement.global_permission'); + $self->set_binding_field('key' => 'principal', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement', 'type_name' => 'Principal')); + $self->set_binding_field('key' => 'role_ids', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::LongType())); + $self->set_binding_field('key' => 'propagate', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + bless $self, $class; + return $self; +} + +## @method get_principal () +# Gets the value of 'principal' property. +# +# @retval principal - The current value of the field. +# Role identifier. +# +# Principal# +sub get_principal { + my ($self, %args) = @_; + return $self->{'principal'}; +} + +## @method set_principal () +# Sets the given value for 'principal' property. +# +# @param principal - New value for the field. +# Role identifier. +# +sub set_principal { + my ($self, %args) = @_; + $self->{'principal'} = $args{'principal'}; + return; +} + +## @method get_role_ids () +# Gets the value of 'role_ids' property. +# +# @retval role_ids - The current value of the field. +# Role Ids assigned to this Principal +# +# List# +sub get_role_ids { + my ($self, %args) = @_; + return $self->{'role_ids'}; +} + +## @method set_role_ids () +# Sets the given value for 'role_ids' property. +# +# @param role_ids - New value for the field. +# Role Ids assigned to this Principal +# +sub set_role_ids { + my ($self, %args) = @_; + $self->{'role_ids'} = $args{'role_ids'}; + return; +} + +## @method get_propagate () +# Gets the value of 'propagate' property. +# +# @retval propagate - The current value of the field. +# Propagating to child objects. +# +# Boolean# +sub get_propagate { + my ($self, %args) = @_; + return $self->{'propagate'}; +} + +## @method set_propagate () +# Sets the given value for 'propagate' property. +# +# @param propagate - New value for the field. +# Propagating to child objects. +# +sub set_propagate { + my ($self, %args) = @_; + $self->{'propagate'} = $args{'propagate'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/LockoutPolicy.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/LockoutPolicy.pm new file mode 100644 index 00000000..1b6e80fa --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/LockoutPolicy.pm @@ -0,0 +1,121 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::LockoutPolicy +# +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::LockoutPolicy`` +# *class* This structure represents the configuration in Lockout Policy. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::LockoutPolicy; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::LockoutPolicy structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{failed_login_attempts} = $args{'failed_login_attempts'}; + $self->{failure_interval} = $args{'failure_interval'}; + $self->{unlock_time} = $args{'unlock_time'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::LockoutPolicy'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.authmanagement.lockout_policy'); + $self->set_binding_field('key' => 'failed_login_attempts', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'failure_interval', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'unlock_time', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + bless $self, $class; + return $self; +} + +## @method get_failed_login_attempts () +# Gets the value of 'failed_login_attempts' property. +# +# @retval failed_login_attempts - The current value of the field. +# Maximum number of failed login attempts. +# +# Long# +sub get_failed_login_attempts { + my ($self, %args) = @_; + return $self->{'failed_login_attempts'}; +} + +## @method set_failed_login_attempts () +# Sets the given value for 'failed_login_attempts' property. +# +# @param failed_login_attempts - New value for the field. +# Maximum number of failed login attempts. +# +sub set_failed_login_attempts { + my ($self, %args) = @_; + $self->{'failed_login_attempts'} = $args{'failed_login_attempts'}; + return; +} + +## @method get_failure_interval () +# Gets the value of 'failure_interval' property. +# +# @retval failure_interval - The current value of the field. +# Time interval between failures. +# +# Long# +sub get_failure_interval { + my ($self, %args) = @_; + return $self->{'failure_interval'}; +} + +## @method set_failure_interval () +# Sets the given value for 'failure_interval' property. +# +# @param failure_interval - New value for the field. +# Time interval between failures. +# +sub set_failure_interval { + my ($self, %args) = @_; + $self->{'failure_interval'} = $args{'failure_interval'}; + return; +} + +## @method get_unlock_time () +# Gets the value of 'unlock_time' property. +# +# @retval unlock_time - The current value of the field. +# Unlock time. +# +# Long# +sub get_unlock_time { + my ($self, %args) = @_; + return $self->{'unlock_time'}; +} + +## @method set_unlock_time () +# Sets the given value for 'unlock_time' property. +# +# @param unlock_time - New value for the field. +# Unlock time. +# +sub set_unlock_time { + my ($self, %args) = @_; + $self->{'unlock_time'} = $args{'unlock_time'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/PasswordPolicy.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/PasswordPolicy.pm new file mode 100644 index 00000000..2b43cc49 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/PasswordPolicy.pm @@ -0,0 +1,303 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::PasswordPolicy +# +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::PasswordPolicy`` +# *class* This structure represents the configuration in Password Policy. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::PasswordPolicy; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::PasswordPolicy structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{special_chars} = $args{'special_chars'}; + $self->{alpha_chars} = $args{'alpha_chars'}; + $self->{uppercase_chars} = $args{'uppercase_chars'}; + $self->{lowercase_chars} = $args{'lowercase_chars'}; + $self->{numeric_chars} = $args{'numeric_chars'}; + $self->{adj_identical_chars} = $args{'adj_identical_chars'}; + $self->{password_reuse} = $args{'password_reuse'}; + $self->{max_life} = $args{'max_life'}; + $self->{max_length} = $args{'max_length'}; + $self->{min_length} = $args{'min_length'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::PasswordPolicy'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.authmanagement.password_policy'); + $self->set_binding_field('key' => 'special_chars', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'alpha_chars', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'uppercase_chars', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'lowercase_chars', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'numeric_chars', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'adj_identical_chars', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'password_reuse', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'max_life', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'max_length', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'min_length', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + bless $self, $class; + return $self; +} + +## @method get_special_chars () +# Gets the value of 'special_chars' property. +# +# @retval special_chars - The current value of the field. +# Minimum special characters. +# +# Long# +sub get_special_chars { + my ($self, %args) = @_; + return $self->{'special_chars'}; +} + +## @method set_special_chars () +# Sets the given value for 'special_chars' property. +# +# @param special_chars - New value for the field. +# Minimum special characters. +# +sub set_special_chars { + my ($self, %args) = @_; + $self->{'special_chars'} = $args{'special_chars'}; + return; +} + +## @method get_alpha_chars () +# Gets the value of 'alpha_chars' property. +# +# @retval alpha_chars - The current value of the field. +# Minimum alphabetic characters. +# +# Long# +sub get_alpha_chars { + my ($self, %args) = @_; + return $self->{'alpha_chars'}; +} + +## @method set_alpha_chars () +# Sets the given value for 'alpha_chars' property. +# +# @param alpha_chars - New value for the field. +# Minimum alphabetic characters. +# +sub set_alpha_chars { + my ($self, %args) = @_; + $self->{'alpha_chars'} = $args{'alpha_chars'}; + return; +} + +## @method get_uppercase_chars () +# Gets the value of 'uppercase_chars' property. +# +# @retval uppercase_chars - The current value of the field. +# Minimum uppercase characters. +# +# Long# +sub get_uppercase_chars { + my ($self, %args) = @_; + return $self->{'uppercase_chars'}; +} + +## @method set_uppercase_chars () +# Sets the given value for 'uppercase_chars' property. +# +# @param uppercase_chars - New value for the field. +# Minimum uppercase characters. +# +sub set_uppercase_chars { + my ($self, %args) = @_; + $self->{'uppercase_chars'} = $args{'uppercase_chars'}; + return; +} + +## @method get_lowercase_chars () +# Gets the value of 'lowercase_chars' property. +# +# @retval lowercase_chars - The current value of the field. +# Minimum lowercase characters. +# +# Long# +sub get_lowercase_chars { + my ($self, %args) = @_; + return $self->{'lowercase_chars'}; +} + +## @method set_lowercase_chars () +# Sets the given value for 'lowercase_chars' property. +# +# @param lowercase_chars - New value for the field. +# Minimum lowercase characters. +# +sub set_lowercase_chars { + my ($self, %args) = @_; + $self->{'lowercase_chars'} = $args{'lowercase_chars'}; + return; +} + +## @method get_numeric_chars () +# Gets the value of 'numeric_chars' property. +# +# @retval numeric_chars - The current value of the field. +# Minimum numeric characters. +# +# Long# +sub get_numeric_chars { + my ($self, %args) = @_; + return $self->{'numeric_chars'}; +} + +## @method set_numeric_chars () +# Sets the given value for 'numeric_chars' property. +# +# @param numeric_chars - New value for the field. +# Minimum numeric characters. +# +sub set_numeric_chars { + my ($self, %args) = @_; + $self->{'numeric_chars'} = $args{'numeric_chars'}; + return; +} + +## @method get_adj_identical_chars () +# Gets the value of 'adj_identical_chars' property. +# +# @retval adj_identical_chars - The current value of the field. +# Maximum adjacent identical characters. +# +# Long# +sub get_adj_identical_chars { + my ($self, %args) = @_; + return $self->{'adj_identical_chars'}; +} + +## @method set_adj_identical_chars () +# Sets the given value for 'adj_identical_chars' property. +# +# @param adj_identical_chars - New value for the field. +# Maximum adjacent identical characters. +# +sub set_adj_identical_chars { + my ($self, %args) = @_; + $self->{'adj_identical_chars'} = $args{'adj_identical_chars'}; + return; +} + +## @method get_password_reuse () +# Gets the value of 'password_reuse' property. +# +# @retval password_reuse - The current value of the field. +# Previous password reuse restriction. +# +# Long# +sub get_password_reuse { + my ($self, %args) = @_; + return $self->{'password_reuse'}; +} + +## @method set_password_reuse () +# Sets the given value for 'password_reuse' property. +# +# @param password_reuse - New value for the field. +# Previous password reuse restriction. +# +sub set_password_reuse { + my ($self, %args) = @_; + $self->{'password_reuse'} = $args{'password_reuse'}; + return; +} + +## @method get_max_life () +# Gets the value of 'max_life' property. +# +# @retval max_life - The current value of the field. +# Maximum lifetime. +# +# Long# +sub get_max_life { + my ($self, %args) = @_; + return $self->{'max_life'}; +} + +## @method set_max_life () +# Sets the given value for 'max_life' property. +# +# @param max_life - New value for the field. +# Maximum lifetime. +# +sub set_max_life { + my ($self, %args) = @_; + $self->{'max_life'} = $args{'max_life'}; + return; +} + +## @method get_max_length () +# Gets the value of 'max_length' property. +# +# @retval max_length - The current value of the field. +# Maximum length. +# +# Long# +sub get_max_length { + my ($self, %args) = @_; + return $self->{'max_length'}; +} + +## @method set_max_length () +# Sets the given value for 'max_length' property. +# +# @param max_length - New value for the field. +# Maximum length. +# +sub set_max_length { + my ($self, %args) = @_; + $self->{'max_length'} = $args{'max_length'}; + return; +} + +## @method get_min_length () +# Gets the value of 'min_length' property. +# +# @retval min_length - The current value of the field. +# Minimum length. +# +# Long# +sub get_min_length { + my ($self, %args) = @_; + return $self->{'min_length'}; +} + +## @method set_min_length () +# Sets the given value for 'min_length' property. +# +# @param min_length - New value for the field. +# Minimum length. +# +sub set_min_length { + my ($self, %args) = @_; + $self->{'min_length'} = $args{'min_length'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/Principal.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/Principal.pm new file mode 100644 index 00000000..1d7a3c77 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/Principal.pm @@ -0,0 +1,95 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::Principal +# +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::Principal`` +# *class* This structure represents the configuration for Principal + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::Principal; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::Principal structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{name} = $args{'name'}; + $self->{group} = $args{'group'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::Principal'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.authmanagement.principal'); + $self->set_binding_field('key' => 'name', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'group', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + bless $self, $class; + return $self; +} + +## @method get_name () +# Gets the value of 'name' property. +# +# @retval name - The current value of the field. +# Principal name. +# +# String# +sub get_name { + my ($self, %args) = @_; + return $self->{'name'}; +} + +## @method set_name () +# Sets the given value for 'name' property. +# +# @param name - New value for the field. +# Principal name. +# +sub set_name { + my ($self, %args) = @_; + $self->{'name'} = $args{'name'}; + return; +} + +## @method get_group () +# Gets the value of 'group' property. +# +# @retval group - The current value of the field. +# Is a Group +# +# Boolean# +sub get_group { + my ($self, %args) = @_; + return $self->{'group'}; +} + +## @method set_group () +# Sets the given value for 'group' property. +# +# @param group - New value for the field. +# Is a Group +# +sub set_group { + my ($self, %args) = @_; + $self->{'group'} = $args{'group'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/Privileges.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/Privileges.pm new file mode 100644 index 00000000..c5a82e21 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/Privileges.pm @@ -0,0 +1,147 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::Privileges +# +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::Privileges`` +# *class* This structure represents the configuration for Privileges. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::Privileges; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::Privileges structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{id} = $args{'id'}; + $self->{description} = $args{'description'}; + $self->{group} = $args{'group'}; + $self->{is_on_parent} = $args{'is_on_parent'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::Privileges'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.authmanagement.privileges'); + $self->set_binding_field('key' => 'id', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'description', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'group', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'is_on_parent', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + bless $self, $class; + return $self; +} + +## @method get_id () +# Gets the value of 'id' property. +# +# @retval id - The current value of the field. +# Privilege identifier. +# +# String# +sub get_id { + my ($self, %args) = @_; + return $self->{'id'}; +} + +## @method set_id () +# Sets the given value for 'id' property. +# +# @param id - New value for the field. +# Privilege identifier. +# +sub set_id { + my ($self, %args) = @_; + $self->{'id'} = $args{'id'}; + return; +} + +## @method get_description () +# Gets the value of 'description' property. +# +# @retval description - The current value of the field. +# Privilege description. +# +# String# +sub get_description { + my ($self, %args) = @_; + return $self->{'description'}; +} + +## @method set_description () +# Sets the given value for 'description' property. +# +# @param description - New value for the field. +# Privilege description. +# +sub set_description { + my ($self, %args) = @_; + $self->{'description'} = $args{'description'}; + return; +} + +## @method get_group () +# Gets the value of 'group' property. +# +# @retval group - The current value of the field. +# Group to which the privilege belongs to. +# +# String# +sub get_group { + my ($self, %args) = @_; + return $self->{'group'}; +} + +## @method set_group () +# Sets the given value for 'group' property. +# +# @param group - New value for the field. +# Group to which the privilege belongs to. +# +sub set_group { + my ($self, %args) = @_; + $self->{'group'} = $args{'group'}; + return; +} + +## @method get_is_on_parent () +# Gets the value of 'is_on_parent' property. +# +# @retval is_on_parent - The current value of the field. +# Is on parent. +# +# Boolean# +sub get_is_on_parent { + my ($self, %args) = @_; + return $self->{'is_on_parent'}; +} + +## @method set_is_on_parent () +# Sets the given value for 'is_on_parent' property. +# +# @param is_on_parent - New value for the field. +# Is on parent. +# +sub set_is_on_parent { + my ($self, %args) = @_; + $self->{'is_on_parent'} = $args{'is_on_parent'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/Roles.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/Roles.pm new file mode 100644 index 00000000..9924abaf --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/Roles.pm @@ -0,0 +1,147 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::Roles +# +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::Roles`` +# *class* This structure represents the configuration for Roles. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::Roles; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::Roles structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{id} = $args{'id'}; + $self->{name} = $args{'name'}; + $self->{description} = $args{'description'}; + $self->{privilege_id} = $args{'privilege_id'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::Roles'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.authmanagement.roles'); + $self->set_binding_field('key' => 'id', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'name', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'description', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'privilege_id', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType())); + bless $self, $class; + return $self; +} + +## @method get_id () +# Gets the value of 'id' property. +# +# @retval id - The current value of the field. +# Role identifier. +# +# Long# +sub get_id { + my ($self, %args) = @_; + return $self->{'id'}; +} + +## @method set_id () +# Sets the given value for 'id' property. +# +# @param id - New value for the field. +# Role identifier. +# +sub set_id { + my ($self, %args) = @_; + $self->{'id'} = $args{'id'}; + return; +} + +## @method get_name () +# Gets the value of 'name' property. +# +# @retval name - The current value of the field. +# Role name. +# +# String# +sub get_name { + my ($self, %args) = @_; + return $self->{'name'}; +} + +## @method set_name () +# Sets the given value for 'name' property. +# +# @param name - New value for the field. +# Role name. +# +sub set_name { + my ($self, %args) = @_; + $self->{'name'} = $args{'name'}; + return; +} + +## @method get_description () +# Gets the value of 'description' property. +# +# @retval description - The current value of the field. +# Role description. +# +# String# +sub get_description { + my ($self, %args) = @_; + return $self->{'description'}; +} + +## @method set_description () +# Sets the given value for 'description' property. +# +# @param description - New value for the field. +# Role description. +# +sub set_description { + my ($self, %args) = @_; + $self->{'description'} = $args{'description'}; + return; +} + +## @method get_privilege_id () +# Gets the value of 'privilege_id' property. +# +# @retval privilege_id - The current value of the field. +# List of Privileges present in the Role. +# +# List# +sub get_privilege_id { + my ($self, %args) = @_; + return $self->{'privilege_id'}; +} + +## @method set_privilege_id () +# Sets the given value for 'privilege_id' property. +# +# @param privilege_id - New value for the field. +# List of Privileges present in the Role. +# +sub set_privilege_id { + my ($self, %args) = @_; + $self->{'privilege_id'} = $args{'privilege_id'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/TokenPolicy.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/TokenPolicy.pm new file mode 100644 index 00000000..3ffaa42f --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Config/Components/Authmanagement/TokenPolicy.pm @@ -0,0 +1,173 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::TokenPolicy +# +# +# ``Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::TokenPolicy`` +# *class* This structure represents the configuration in Token Policy. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::TokenPolicy; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::TokenPolicy structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{clock_tolerance} = $args{'clock_tolerance'}; + $self->{token_renewal} = $args{'token_renewal'}; + $self->{token_delegation} = $args{'token_delegation'}; + $self->{bearer_refresh} = $args{'bearer_refresh'}; + $self->{hok_refresh} = $args{'hok_refresh'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement::TokenPolicy'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.config.components.authmanagement.token_policy'); + $self->set_binding_field('key' => 'clock_tolerance', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'token_renewal', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'token_delegation', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'bearer_refresh', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + $self->set_binding_field('key' => 'hok_refresh', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + bless $self, $class; + return $self; +} + +## @method get_clock_tolerance () +# Gets the value of 'clock_tolerance' property. +# +# @retval clock_tolerance - The current value of the field. +# Clock tolerance ms. +# +# Long# +sub get_clock_tolerance { + my ($self, %args) = @_; + return $self->{'clock_tolerance'}; +} + +## @method set_clock_tolerance () +# Sets the given value for 'clock_tolerance' property. +# +# @param clock_tolerance - New value for the field. +# Clock tolerance ms. +# +sub set_clock_tolerance { + my ($self, %args) = @_; + $self->{'clock_tolerance'} = $args{'clock_tolerance'}; + return; +} + +## @method get_token_renewal () +# Gets the value of 'token_renewal' property. +# +# @retval token_renewal - The current value of the field. +# Maximum token renewal count. +# +# Long# +sub get_token_renewal { + my ($self, %args) = @_; + return $self->{'token_renewal'}; +} + +## @method set_token_renewal () +# Sets the given value for 'token_renewal' property. +# +# @param token_renewal - New value for the field. +# Maximum token renewal count. +# +sub set_token_renewal { + my ($self, %args) = @_; + $self->{'token_renewal'} = $args{'token_renewal'}; + return; +} + +## @method get_token_delegation () +# Gets the value of 'token_delegation' property. +# +# @retval token_delegation - The current value of the field. +# Maximum token delegation count. +# +# Long# +sub get_token_delegation { + my ($self, %args) = @_; + return $self->{'token_delegation'}; +} + +## @method set_token_delegation () +# Sets the given value for 'token_delegation' property. +# +# @param token_delegation - New value for the field. +# Maximum token delegation count. +# +sub set_token_delegation { + my ($self, %args) = @_; + $self->{'token_delegation'} = $args{'token_delegation'}; + return; +} + +## @method get_bearer_refresh () +# Gets the value of 'bearer_refresh' property. +# +# @retval bearer_refresh - The current value of the field. +# Maximum Bearer RefreshToken lifetime. +# +# Long# +sub get_bearer_refresh { + my ($self, %args) = @_; + return $self->{'bearer_refresh'}; +} + +## @method set_bearer_refresh () +# Sets the given value for 'bearer_refresh' property. +# +# @param bearer_refresh - New value for the field. +# Maximum Bearer RefreshToken lifetime. +# +sub set_bearer_refresh { + my ($self, %args) = @_; + $self->{'bearer_refresh'} = $args{'bearer_refresh'}; + return; +} + +## @method get_hok_refresh () +# Gets the value of 'hok_refresh' property. +# +# @retval hok_refresh - The current value of the field. +# Maximum HoK RefreshToken lifetime. +# +# Long# +sub get_hok_refresh { + my ($self, %args) = @_; + return $self->{'hok_refresh'}; +} + +## @method set_hok_refresh () +# Sets the given value for 'hok_refresh' property. +# +# @param hok_refresh - New value for the field. +# Maximum HoK RefreshToken lifetime. +# +sub set_hok_refresh { + my ($self, %args) = @_; + $self->{'hok_refresh'} = $args{'hok_refresh'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/ConfigCurrent.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/ConfigCurrent.pm new file mode 100644 index 00000000..2fa6405e --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/ConfigCurrent.pm @@ -0,0 +1,117 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file ConfigCurrent.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::ConfigCurrent +# The ``Com::Vmware::Appliance::Vcenter::Settings::V1::ConfigCurrent`` *interface* +# provides *methods* to get the current state of the vCenter. Warning: This +# *interface* is available as Technology Preview. These are early access APIs provided +# to test, automate and provide feedback on the feature. Since this can change based on +# feedback, VMware does not guarantee backwards compatibility and recommends against +# using them in production environments. Some Technology Preview APIs might only be +# applicable to specific environments. +# + +package Com::Vmware::Appliance::Vcenter::Settings::V1::ConfigCurrent; + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Appliance::Vcenter::Settings::V1::ConfigCurrentStub; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiInterface); + +# +# Identifier of the service +# +use constant _VAPI_SERVICE_ID => 'com.vmware.appliance.vcenter.settings.v1.config_current'; + + +## @method new () +# Constructor to initialize the object +# +# @param api_provider - protocol connection to use with +# stubs created by this factory +# @param StubConfig - Stub's additional configuration +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $stub_config = $args {stub_config}; + my $api_provider = $args {api_provider}; + + my $self = $class->SUPER::new('stub_config' => $stub_config, + 'api_provider' => $api_provider); + bless $self, $class; + return $self; +} + +## @method get () +# Returns the current state of the vCenter. Warning: This *method* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# @retval + +# The return type will be Com::Vmware::Appliance::Vcenter::Settings::V1::DesiredState +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# If there is unknown internal error. The accompanying error message will give more +# details about the failure. +# +# @throw Com::Vmware::Vapi::Std::Errors::ServiceUnavailable +# If the service is not available. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# If the caller is not authenticated. +# +sub get { + my ($self, %args) = @_; + return $self->invoke(method_name => 'get', method_args => {}); +} + +1; + +######################################################################################### +# Begins enumerations for the Com::Vmware::Appliance::Vcenter::Settings::V1::ConfigCurrent service +######################################################################################### + + + +######################################################################################### +# Ends enumerations for the Com::Vmware::Appliance::Vcenter::Settings::V1::ConfigCurrent service +######################################################################################### + +######################################################################################### +# Begins structures for the Com::Vmware::Appliance::Vcenter::Settings::V1::ConfigCurrent service +######################################################################################### + + +######################################################################################### +# Ends structures for the Com::Vmware::Appliance::Vcenter::Settings::V1::ConfigCurrent service +######################################################################################### diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/ConfigCurrentStub.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/ConfigCurrentStub.pm new file mode 100644 index 00000000..cfd9a647 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/ConfigCurrentStub.pm @@ -0,0 +1,109 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file ConfigCurrentStub.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +package Com::Vmware::Appliance::Vcenter::Settings::V1::ConfigCurrentStub; + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::ConfigCurrent +# +#The {@name ConfigCurrent} {@term service} provides {@term operations} to get +#the current state of the vCenter. +# + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::BlobType; +use Com::Vmware::Vapi::Bindings::Type::BooleanType; +use Com::Vmware::Vapi::Bindings::Type::DateTimeType; +use Com::Vmware::Vapi::Bindings::Type::DoubleType; +use Com::Vmware::Vapi::Bindings::Type::EnumType; +use Com::Vmware::Vapi::Bindings::Type::ErrorType; +use Com::Vmware::Vapi::Bindings::Type::ListType; +use Com::Vmware::Vapi::Bindings::Type::LongType; +use Com::Vmware::Vapi::Bindings::Type::MapType; +use Com::Vmware::Vapi::Bindings::Type::OpaqueType; +use Com::Vmware::Vapi::Bindings::Type::OptionalType; +use Com::Vmware::Vapi::Bindings::Type::ReferenceType; +use Com::Vmware::Vapi::Bindings::Type::SecretType; +use Com::Vmware::Vapi::Bindings::Type::SetType; +use Com::Vmware::Vapi::Bindings::Type::StringType; +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vapi::Bindings::Type::DynamicStructType; +use Com::Vmware::Vapi::Bindings::Type::URIType; +use Com::Vmware::Vapi::Bindings::Type::VoidType; +use Com::Vmware::Vapi::Data::UnionValidator; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::ApiInterfaceStub); + +## @method new +# Constructor to initialize the object +# +# @param ApiProvider - ApiProvider for vAPI stubs +# +# @return +# Blessed object +# +sub new +{ + my ($class, %args) = @_; + my $api_provider = $args {api_provider}; + $class = ref($class) || $class; + # + # properties for get operation + # + my $get_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => {} + ); + my $get_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.service_unavailable' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ServiceUnavailable'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $get_input_validator_list = [ + ]; + my $get_output_validator_list = []; + + # + # All the methods (operations) info in a hash + # + my $operations = { + 'get' => { + 'input_type'=> $get_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1', 'type_name' => 'DesiredState'), + 'errors'=> $get_error_dict, + 'input_validator_list'=> $get_input_validator_list, + 'output_validator_list'=> $get_output_validator_list, + }, + }; + + my $self = $class->SUPER::new ('api_provider' => $api_provider, + 'iface_name' => 'com.vmware.appliance.vcenter.settings.v1.config_current', + 'operations' => $operations + ); + bless $self, $class; + return $self; +} + +1; diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/ConfigStub.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/ConfigStub.pm new file mode 100644 index 00000000..3360704b --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/ConfigStub.pm @@ -0,0 +1,222 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file ConfigStub.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +package Com::Vmware::Appliance::Vcenter::Settings::V1::ConfigStub; + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Config +# +#The {@name Config} {@term service} provides {@term operations} to +#manage desired configuration specification of vCenter. +# + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::BlobType; +use Com::Vmware::Vapi::Bindings::Type::BooleanType; +use Com::Vmware::Vapi::Bindings::Type::DateTimeType; +use Com::Vmware::Vapi::Bindings::Type::DoubleType; +use Com::Vmware::Vapi::Bindings::Type::EnumType; +use Com::Vmware::Vapi::Bindings::Type::ErrorType; +use Com::Vmware::Vapi::Bindings::Type::ListType; +use Com::Vmware::Vapi::Bindings::Type::LongType; +use Com::Vmware::Vapi::Bindings::Type::MapType; +use Com::Vmware::Vapi::Bindings::Type::OpaqueType; +use Com::Vmware::Vapi::Bindings::Type::OptionalType; +use Com::Vmware::Vapi::Bindings::Type::ReferenceType; +use Com::Vmware::Vapi::Bindings::Type::SecretType; +use Com::Vmware::Vapi::Bindings::Type::SetType; +use Com::Vmware::Vapi::Bindings::Type::StringType; +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vapi::Bindings::Type::DynamicStructType; +use Com::Vmware::Vapi::Bindings::Type::URIType; +use Com::Vmware::Vapi::Bindings::Type::VoidType; +use Com::Vmware::Vapi::Data::UnionValidator; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::ApiInterfaceStub); + +## @method new +# Constructor to initialize the object +# +# @param ApiProvider - ApiProvider for vAPI stubs +# +# @return +# Blessed object +# +sub new +{ + my ($class, %args) = @_; + my $api_provider = $args {api_provider}; + $class = ref($class) || $class; + # + # properties for create operation + # + my $create_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'spec' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1', 'type_name' => 'Config::CreateSpec'), + } + ); + my $create_error_dict = { + 'com.vmware.vapi.std.errors.already_exists' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'AlreadyExists'), + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.service_unavailable' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ServiceUnavailable'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $create_input_validator_list = [ + ]; + my $create_output_validator_list = []; + + # + # properties for get operation + # + my $get_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => {} + ); + my $get_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.service_unavailable' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ServiceUnavailable'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $get_input_validator_list = [ + ]; + my $get_output_validator_list = []; + + # + # properties for delete operation + # + my $delete_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => {} + ); + my $delete_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.not_allowed_in_current_state' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotAllowedInCurrentState'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.service_unavailable' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ServiceUnavailable'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $delete_input_validator_list = [ + ]; + my $delete_output_validator_list = []; + + # + # properties for scan operation + # + my $scan_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'version' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + } + ); + my $scan_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.service_unavailable' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ServiceUnavailable'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $scan_input_validator_list = [ + ]; + my $scan_output_validator_list = []; + + # + # properties for scan_desired_state operation + # + my $scan_desired_state_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'spec' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1', 'type_name' => 'Config::ScanSpec'), + } + ); + my $scan_desired_state_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.service_unavailable' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ServiceUnavailable'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $scan_desired_state_input_validator_list = [ + ]; + my $scan_desired_state_output_validator_list = []; + + # + # All the methods (operations) info in a hash + # + my $operations = { + 'create' => { + 'input_type'=> $create_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'errors'=> $create_error_dict, + 'input_validator_list'=> $create_input_validator_list, + 'output_validator_list'=> $create_output_validator_list, + }, + 'get' => { + 'input_type'=> $get_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1', 'type_name' => 'Config::Info'), + 'errors'=> $get_error_dict, + 'input_validator_list'=> $get_input_validator_list, + 'output_validator_list'=> $get_output_validator_list, + }, + 'delete' => { + 'input_type'=> $delete_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::VoidType(), + 'errors'=> $delete_error_dict, + 'input_validator_list'=> $delete_input_validator_list, + 'output_validator_list'=> $delete_output_validator_list, + }, + 'scan$task' => { + 'input_type'=> $scan_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'errors'=> $scan_error_dict, + 'input_validator_list'=> $scan_input_validator_list, + 'output_validator_list'=> $scan_output_validator_list, + }, + 'scan_desired_state$task' => { + 'input_type'=> $scan_desired_state_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'errors'=> $scan_desired_state_error_dict, + 'input_validator_list'=> $scan_desired_state_input_validator_list, + 'output_validator_list'=> $scan_desired_state_output_validator_list, + }, + }; + + my $self = $class->SUPER::new ('api_provider' => $api_provider, + 'iface_name' => 'com.vmware.appliance.vcenter.settings.v1.config', + 'operations' => $operations + ); + bless $self, $class; + return $self; +} + +1; diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/DesiredState.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/DesiredState.pm new file mode 100644 index 00000000..afb52a5a --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/DesiredState.pm @@ -0,0 +1,120 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::DesiredState +# +# +# The ``Com::Vmware::Appliance::Vcenter::Settings::V1::DesiredState`` *class* +# defines the configuration about different components in vCenter. Warning: This +# *class* is available as Technology Preview. These are early access APIs provided to +# test, automate and provide feedback on the feature. Since this can change based on +# feedback, VMware does not guarantee backwards compatibility and recommends against +# using them in production environments. Some Technology Preview APIs might only be +# applicable to specific environments. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::DesiredState; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::DesiredState structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{appliance} = $args{'appliance'}; + $self->{authmgmt} = $args{'authmgmt'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::DesiredState'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.desired_state'); + $self->set_binding_field('key' => 'appliance', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Applmgmt', 'type_name' => 'ApplianceManagement'))); + $self->set_binding_field('key' => 'authmgmt', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Config::Components::Authmanagement', 'type_name' => 'AuthenticationManagement'))); + bless $self, $class; + return $self; +} + +## @method get_appliance () +# Gets the value of 'appliance' property. +# +# @retval appliance - The current value of the field. +# Appliance Management component desired spec. Warning: This *field* is +# available as Technology Preview. These are early access APIs provided to test, +# automate and provide feedback on the feature. Since this can change based on feedback, +# VMware does not guarantee backwards compatibility and recommends against using them in +# production environments. Some Technology Preview APIs might only be applicable to +# specific environments. +# +# Optional# +sub get_appliance { + my ($self, %args) = @_; + return $self->{'appliance'}; +} + +## @method set_appliance () +# Sets the given value for 'appliance' property. +# +# @param appliance - New value for the field. +# Appliance Management component desired spec. Warning: This *field* is +# available as Technology Preview. These are early access APIs provided to test, +# automate and provide feedback on the feature. Since this can change based on feedback, +# VMware does not guarantee backwards compatibility and recommends against using them in +# production environments. Some Technology Preview APIs might only be applicable to +# specific environments. +# +sub set_appliance { + my ($self, %args) = @_; + $self->{'appliance'} = $args{'appliance'}; + return; +} + +## @method get_authmgmt () +# Gets the value of 'authmgmt' property. +# +# @retval authmgmt - The current value of the field. +# Authentication Management component desired spec. Warning: This *field* is +# available as Technology Preview. These are early access APIs provided to test, +# automate and provide feedback on the feature. Since this can change based on feedback, +# VMware does not guarantee backwards compatibility and recommends against using them in +# production environments. Some Technology Preview APIs might only be applicable to +# specific environments. +# +# Optional# +sub get_authmgmt { + my ($self, %args) = @_; + return $self->{'authmgmt'}; +} + +## @method set_authmgmt () +# Sets the given value for 'authmgmt' property. +# +# @param authmgmt - New value for the field. +# Authentication Management component desired spec. Warning: This *field* is +# available as Technology Preview. These are early access APIs provided to test, +# automate and provide feedback on the feature. Since this can change based on feedback, +# VMware does not guarantee backwards compatibility and recommends against using them in +# production environments. Some Technology Preview APIs might only be applicable to +# specific environments. +# +sub set_authmgmt { + my ($self, %args) = @_; + $self->{'authmgmt'} = $args{'authmgmt'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/DiffResult.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/DiffResult.pm new file mode 100644 index 00000000..e688d4f9 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/DiffResult.pm @@ -0,0 +1,224 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::DiffResult +# +# +# The ``Com::Vmware::Appliance::Vcenter::Settings::V1::DiffResult`` *class* defines +# the information about the feature configuration. Warning: This *class* is +# available as Technology Preview. These are early access APIs provided to test, +# automate and provide feedback on the feature. Since this can change based on feedback, +# VMware does not guarantee backwards compatibility and recommends against using them in +# production environments. Some Technology Preview APIs might only be applicable to +# specific environments. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::DiffResult; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::DiffResult structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{current_value} = $args{'current_value'}; + $self->{desired_value} = $args{'desired_value'}; + $self->{category} = $args{'category'}; + $self->{path} = $args{'path'}; + $self->{description} = $args{'description'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::DiffResult'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.diff_result'); + $self->set_binding_field('key' => 'current_value', 'value' => new Com::Vmware::Vapi::Bindings::Type::OpaqueType()); + $self->set_binding_field('key' => 'desired_value', 'value' => new Com::Vmware::Vapi::Bindings::Type::OpaqueType()); + $self->set_binding_field('key' => 'category', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'path', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'description', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + bless $self, $class; + return $self; +} + +## @method get_current_value () +# Gets the value of 'current_value' property. +# +# @retval current_value - The current value of the field. +# Current property value. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +# Opaque# +sub get_current_value { + my ($self, %args) = @_; + return $self->{'current_value'}; +} + +## @method set_current_value () +# Sets the given value for 'current_value' property. +# +# @param current_value - New value for the field. +# Current property value. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +sub set_current_value { + my ($self, %args) = @_; + $self->{'current_value'} = $args{'current_value'}; + return; +} + +## @method get_desired_value () +# Gets the value of 'desired_value' property. +# +# @retval desired_value - The current value of the field. +# Desired property value. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +# Opaque# +sub get_desired_value { + my ($self, %args) = @_; + return $self->{'desired_value'}; +} + +## @method set_desired_value () +# Sets the given value for 'desired_value' property. +# +# @param desired_value - New value for the field. +# Desired property value. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +sub set_desired_value { + my ($self, %args) = @_; + $self->{'desired_value'} = $args{'desired_value'}; + return; +} + +## @method get_category () +# Gets the value of 'category' property. +# +# @retval category - The current value of the field. +# Category of component configuration. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# String# +sub get_category { + my ($self, %args) = @_; + return $self->{'category'}; +} + +## @method set_category () +# Sets the given value for 'category' property. +# +# @param category - New value for the field. +# Category of component configuration. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +sub set_category { + my ($self, %args) = @_; + $self->{'category'} = $args{'category'}; + return; +} + +## @method get_path () +# Gets the value of 'path' property. +# +# @retval path - The current value of the field. +# Path of the component configuration. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# String# +sub get_path { + my ($self, %args) = @_; + return $self->{'path'}; +} + +## @method set_path () +# Sets the given value for 'path' property. +# +# @param path - New value for the field. +# Path of the component configuration. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +sub set_path { + my ($self, %args) = @_; + $self->{'path'} = $args{'path'}; + return; +} + +## @method get_description () +# Gets the value of 'description' property. +# +# @retval description - The current value of the field. +# Description of the component configuration. Warning: This *field* is +# available as Technology Preview. These are early access APIs provided to test, +# automate and provide feedback on the feature. Since this can change based on feedback, +# VMware does not guarantee backwards compatibility and recommends against using them in +# production environments. Some Technology Preview APIs might only be applicable to +# specific environments. +# +# String# +sub get_description { + my ($self, %args) = @_; + return $self->{'description'}; +} + +## @method set_description () +# Sets the given value for 'description' property. +# +# @param description - New value for the field. +# Description of the component configuration. Warning: This *field* is +# available as Technology Preview. These are early access APIs provided to test, +# automate and provide feedback on the feature. Since this can change based on feedback, +# VMware does not guarantee backwards compatibility and recommends against using them in +# production environments. Some Technology Preview APIs might only be applicable to +# specific environments. +# +sub set_description { + my ($self, %args) = @_; + $self->{'description'} = $args{'description'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Notification.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Notification.pm new file mode 100644 index 00000000..a1fdfffc --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Notification.pm @@ -0,0 +1,188 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Notification +# +# +# The ``Com::Vmware::Appliance::Vcenter::Settings::V1::Notification`` *class* +# contains *fields* to describe any info/warning/error messages that Tasks can raise. +# Warning: This *class* is available as Technology Preview. These are early +# access APIs provided to test, automate and provide feedback on the feature. Since this +# can change based on feedback, VMware does not guarantee backwards compatibility and +# recommends against using them in production environments. Some Technology Preview APIs +# might only be applicable to specific environments. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Notification; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Notification structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{notification} = $args{'notification'}; + $self->{time} = $args{'time'}; + $self->{message} = $args{'message'}; + $self->{resolution} = $args{'resolution'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Notification'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.notification'); + $self->set_binding_field('key' => 'notification', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'time', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::DateTimeType())); + $self->set_binding_field('key' => 'message', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std', 'type_name' => 'LocalizableMessage')); + $self->set_binding_field('key' => 'resolution', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std', 'type_name' => 'LocalizableMessage'))); + bless $self, $class; + return $self; +} + +## @method get_notification () +# Gets the value of 'notification' property. +# +# @retval notification - The current value of the field. +# The notification Identifier. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +# ID# +sub get_notification { + my ($self, %args) = @_; + return $self->{'notification'}; +} + +## @method set_notification () +# Sets the given value for 'notification' property. +# +# @param notification - New value for the field. +# The notification Identifier. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +sub set_notification { + my ($self, %args) = @_; + $self->{'notification'} = $args{'notification'}; + return; +} + +## @method get_time () +# Gets the value of 'time' property. +# +# @retval time - The current value of the field. +# The time the notification was raised. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# Optional# +sub get_time { + my ($self, %args) = @_; + return $self->{'time'}; +} + +## @method set_time () +# Sets the given value for 'time' property. +# +# @param time - New value for the field. +# The time the notification was raised. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +sub set_time { + my ($self, %args) = @_; + $self->{'time'} = $args{'time'}; + return; +} + +## @method get_message () +# Gets the value of 'message' property. +# +# @retval message - The current value of the field. +# The notification message. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +# LocalizableMessage# +sub get_message { + my ($self, %args) = @_; + return $self->{'message'}; +} + +## @method set_message () +# Sets the given value for 'message' property. +# +# @param message - New value for the field. +# The notification message. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +sub set_message { + my ($self, %args) = @_; + $self->{'message'} = $args{'message'}; + return; +} + +## @method get_resolution () +# Gets the value of 'resolution' property. +# +# @retval resolution - The current value of the field. +# The resolution message, if any. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# Optional# +sub get_resolution { + my ($self, %args) = @_; + return $self->{'resolution'}; +} + +## @method set_resolution () +# Sets the given value for 'resolution' property. +# +# @param resolution - New value for the field. +# The resolution message, if any. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +sub set_resolution { + my ($self, %args) = @_; + $self->{'resolution'} = $args{'resolution'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Notifications.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Notifications.pm new file mode 100644 index 00000000..5914221d --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/Notifications.pm @@ -0,0 +1,156 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::Notifications +# +# +# The ``Com::Vmware::Appliance::Vcenter::Settings::V1::Notifications`` *class* +# contains info/warning/error messages that can be reported be the task. Warning: +# This *class* is available as Technology Preview. These are early access APIs +# provided to test, automate and provide feedback on the feature. Since this can change +# based on feedback, VMware does not guarantee backwards compatibility and recommends +# against using them in production environments. Some Technology Preview APIs might only +# be applicable to specific environments. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::Notifications; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::Notifications structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{info} = $args{'info'}; + $self->{warnings} = $args{'warnings'}; + $self->{errors} = $args{'errors'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::Notifications'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.notifications'); + $self->set_binding_field('key' => 'info', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1', 'type_name' => 'Notification')))); + $self->set_binding_field('key' => 'warnings', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1', 'type_name' => 'Notification')))); + $self->set_binding_field('key' => 'errors', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1', 'type_name' => 'Notification')))); + bless $self, $class; + return $self; +} + +## @method get_info () +# Gets the value of 'info' property. +# +# @retval info - The current value of the field. +# Info notification messages reported. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# Optional# +sub get_info { + my ($self, %args) = @_; + return $self->{'info'}; +} + +## @method set_info () +# Sets the given value for 'info' property. +# +# @param info - New value for the field. +# Info notification messages reported. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +sub set_info { + my ($self, %args) = @_; + $self->{'info'} = $args{'info'}; + return; +} + +## @method get_warnings () +# Gets the value of 'warnings' property. +# +# @retval warnings - The current value of the field. +# Warning notification messages reported. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# Optional# +sub get_warnings { + my ($self, %args) = @_; + return $self->{'warnings'}; +} + +## @method set_warnings () +# Sets the given value for 'warnings' property. +# +# @param warnings - New value for the field. +# Warning notification messages reported. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +sub set_warnings { + my ($self, %args) = @_; + $self->{'warnings'} = $args{'warnings'}; + return; +} + +## @method get_errors () +# Gets the value of 'errors' property. +# +# @retval errors - The current value of the field. +# Error notification messages reported. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# Optional# +sub get_errors { + my ($self, %args) = @_; + return $self->{'errors'}; +} + +## @method set_errors () +# Sets the given value for 'errors' property. +# +# @param errors - New value for the field. +# Error notification messages reported. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +sub set_errors { + my ($self, %args) = @_; + $self->{'errors'} = $args{'errors'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/ScanResult.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/ScanResult.pm new file mode 100644 index 00000000..6a5b1d39 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/ScanResult.pm @@ -0,0 +1,477 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::ScanResult +# +# +# The ``Com::Vmware::Appliance::Vcenter::Settings::V1::ScanResult`` *class* contains +# *fields* to describe the scan result of a appliance. Warning: This *class* +# is available as Technology Preview. These are early access APIs provided to test, +# automate and provide feedback on the feature. Since this can change based on feedback, +# VMware does not guarantee backwards compatibility and recommends against using them in +# production environments. Some Technology Preview APIs might only be applicable to +# specific environments. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::ScanResult; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::ScanResult structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{status} = $args{'status'}; + $self->{notifications} = $args{'notifications'}; + $self->{start_time} = $args{'start_time'}; + $self->{end_time} = $args{'end_time'}; + $self->{profile} = $args{'profile'}; + $self->{version} = $args{'version'}; + $self->{compliant} = $args{'compliant'}; + $self->{non_compliant} = $args{'non_compliant'}; + $self->{unavailable} = $args{'unavailable'}; + $self->{compliance_result} = $args{'compliance_result'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::ScanResult'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.scan_result'); + $self->set_binding_field('key' => 'status', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1', 'type_name' => 'ScanResult::ComplianceStatus')); + $self->set_binding_field('key' => 'notifications', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1', 'type_name' => 'Notifications')); + $self->set_binding_field('key' => 'start_time', 'value' => new Com::Vmware::Vapi::Bindings::Type::DateTimeType()); + $self->set_binding_field('key' => 'end_time', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::DateTimeType())); + $self->set_binding_field('key' => 'profile', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'version', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'compliant', 'value' => new Com::Vmware::Vapi::Bindings::Type::SetType('binding_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); + $self->set_binding_field('key' => 'non_compliant', 'value' => new Com::Vmware::Vapi::Bindings::Type::SetType('binding_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); + $self->set_binding_field('key' => 'unavailable', 'value' => new Com::Vmware::Vapi::Bindings::Type::SetType('binding_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); + $self->set_binding_field('key' => 'compliance_result', 'value' => new Com::Vmware::Vapi::Bindings::Type::MapType('binding_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StructType('name' => 'map-entry', 'fields' => {'key' => new Com::Vmware::Vapi::Bindings::Type::StringType(), 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1', 'type_name' => 'ComplianceResult')})))); + bless $self, $class; + return $self; +} + +## @method get_status () +# Gets the value of 'status' property. +# +# @retval status - The current value of the field. +# Aggregrated compliance state of the appliance. Warning: This *field* is +# available as Technology Preview. These are early access APIs provided to test, +# automate and provide feedback on the feature. Since this can change based on feedback, +# VMware does not guarantee backwards compatibility and recommends against using them in +# production environments. Some Technology Preview APIs might only be applicable to +# specific environments. +# +# ComplianceStatus# +sub get_status { + my ($self, %args) = @_; + return $self->{'status'}; +} + +## @method set_status () +# Sets the given value for 'status' property. +# +# @param status - New value for the field. +# Aggregrated compliance state of the appliance. Warning: This *field* is +# available as Technology Preview. These are early access APIs provided to test, +# automate and provide feedback on the feature. Since this can change based on feedback, +# VMware does not guarantee backwards compatibility and recommends against using them in +# production environments. Some Technology Preview APIs might only be applicable to +# specific environments. +# +sub set_status { + my ($self, %args) = @_; + $self->{'status'} = $args{'status'}; + return; +} + +## @method get_notifications () +# Gets the value of 'notifications' property. +# +# @retval notifications - The current value of the field. +# Notifications returned by the scan operation. Warning: This *field* is +# available as Technology Preview. These are early access APIs provided to test, +# automate and provide feedback on the feature. Since this can change based on feedback, +# VMware does not guarantee backwards compatibility and recommends against using them in +# production environments. Some Technology Preview APIs might only be applicable to +# specific environments. +# +# Notifications# +sub get_notifications { + my ($self, %args) = @_; + return $self->{'notifications'}; +} + +## @method set_notifications () +# Sets the given value for 'notifications' property. +# +# @param notifications - New value for the field. +# Notifications returned by the scan operation. Warning: This *field* is +# available as Technology Preview. These are early access APIs provided to test, +# automate and provide feedback on the feature. Since this can change based on feedback, +# VMware does not guarantee backwards compatibility and recommends against using them in +# production environments. Some Technology Preview APIs might only be applicable to +# specific environments. +# +sub set_notifications { + my ($self, %args) = @_; + $self->{'notifications'} = $args{'notifications'}; + return; +} + +## @method get_start_time () +# Gets the value of 'start_time' property. +# +# @retval start_time - The current value of the field. +# Time when the *method* started. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# DateTime# +sub get_start_time { + my ($self, %args) = @_; + return $self->{'start_time'}; +} + +## @method set_start_time () +# Sets the given value for 'start_time' property. +# +# @param start_time - New value for the field. +# Time when the *method* started. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +sub set_start_time { + my ($self, %args) = @_; + $self->{'start_time'} = $args{'start_time'}; + return; +} + +## @method get_end_time () +# Gets the value of 'end_time' property. +# +# @retval end_time - The current value of the field. +# Time when the *method* completed. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# Optional# +sub get_end_time { + my ($self, %args) = @_; + return $self->{'end_time'}; +} + +## @method set_end_time () +# Sets the given value for 'end_time' property. +# +# @param end_time - New value for the field. +# Time when the *method* completed. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +sub set_end_time { + my ($self, %args) = @_; + $self->{'end_time'} = $args{'end_time'}; + return; +} + +## @method get_profile () +# Gets the value of 'profile' property. +# +# @retval profile - The current value of the field. +# Identifier of the apply on which the scan is run to generate this result. +# Warning: This *field* is available as Technology Preview. These are early +# access APIs provided to test, automate and provide feedback on the feature. Since this +# can change based on feedback, VMware does not guarantee backwards compatibility and +# recommends against using them in production environments. Some Technology Preview APIs +# might only be applicable to specific environments. +# +# ID# +sub get_profile { + my ($self, %args) = @_; + return $self->{'profile'}; +} + +## @method set_profile () +# Sets the given value for 'profile' property. +# +# @param profile - New value for the field. +# Identifier of the apply on which the scan is run to generate this result. +# Warning: This *field* is available as Technology Preview. These are early +# access APIs provided to test, automate and provide feedback on the feature. Since this +# can change based on feedback, VMware does not guarantee backwards compatibility and +# recommends against using them in production environments. Some Technology Preview APIs +# might only be applicable to specific environments. +# +sub set_profile { + my ($self, %args) = @_; + $self->{'profile'} = $args{'profile'}; + return; +} + +## @method get_version () +# Gets the value of 'version' property. +# +# @retval version - The current value of the field. +# The version of the profile. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +# ID# +sub get_version { + my ($self, %args) = @_; + return $self->{'version'}; +} + +## @method set_version () +# Sets the given value for 'version' property. +# +# @param version - New value for the field. +# The version of the profile. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +sub set_version { + my ($self, %args) = @_; + $self->{'version'} = $args{'version'}; + return; +} + +## @method get_compliant () +# Gets the value of 'compliant' property. +# +# @retval compliant - The current value of the field. +# Identifiers of compliant components. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# Set# +sub get_compliant { + my ($self, %args) = @_; + return $self->{'compliant'}; +} + +## @method set_compliant () +# Sets the given value for 'compliant' property. +# +# @param compliant - New value for the field. +# Identifiers of compliant components. Warning: This *field* is available as +# Technology Preview. These are early access APIs provided to test, automate and provide +# feedback on the feature. Since this can change based on feedback, VMware does not +# guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +sub set_compliant { + my ($self, %args) = @_; + $self->{'compliant'} = $args{'compliant'}; + return; +} + +## @method get_non_compliant () +# Gets the value of 'non_compliant' property. +# +# @retval non_compliant - The current value of the field. +# Identifiers of non-compliant components. Warning: This *field* is available +# as Technology Preview. These are early access APIs provided to test, automate and +# provide feedback on the feature. Since this can change based on feedback, VMware does +# not guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +# Set# +sub get_non_compliant { + my ($self, %args) = @_; + return $self->{'non_compliant'}; +} + +## @method set_non_compliant () +# Sets the given value for 'non_compliant' property. +# +# @param non_compliant - New value for the field. +# Identifiers of non-compliant components. Warning: This *field* is available +# as Technology Preview. These are early access APIs provided to test, automate and +# provide feedback on the feature. Since this can change based on feedback, VMware does +# not guarantee backwards compatibility and recommends against using them in production +# environments. Some Technology Preview APIs might only be applicable to specific +# environments. +# +sub set_non_compliant { + my ($self, %args) = @_; + $self->{'non_compliant'} = $args{'non_compliant'}; + return; +} + +## @method get_unavailable () +# Gets the value of 'unavailable' property. +# +# @retval unavailable - The current value of the field. +# Identifiers of unavailable components. There will not be compliance details for these +# components. Warning: This *field* is available as Technology Preview. These +# are early access APIs provided to test, automate and provide feedback on the feature. +# Since this can change based on feedback, VMware does not guarantee backwards +# compatibility and recommends against using them in production environments. Some +# Technology Preview APIs might only be applicable to specific environments. +# +# Set# +sub get_unavailable { + my ($self, %args) = @_; + return $self->{'unavailable'}; +} + +## @method set_unavailable () +# Sets the given value for 'unavailable' property. +# +# @param unavailable - New value for the field. +# Identifiers of unavailable components. There will not be compliance details for these +# components. Warning: This *field* is available as Technology Preview. These +# are early access APIs provided to test, automate and provide feedback on the feature. +# Since this can change based on feedback, VMware does not guarantee backwards +# compatibility and recommends against using them in production environments. Some +# Technology Preview APIs might only be applicable to specific environments. +# +sub set_unavailable { + my ($self, %args) = @_; + $self->{'unavailable'} = $args{'unavailable'}; + return; +} + +## @method get_compliance_result () +# Gets the value of 'compliance_result' property. +# +# @retval compliance_result - The current value of the field. +# Mapping of component identifier to the compliance result. Warning: This +# *field* is available as Technology Preview. These are early access APIs provided to +# test, automate and provide feedback on the feature. Since this can change based on +# feedback, VMware does not guarantee backwards compatibility and recommends against +# using them in production environments. Some Technology Preview APIs might only be +# applicable to specific environments. +# +# Map# +sub get_compliance_result { + my ($self, %args) = @_; + return $self->{'compliance_result'}; +} + +## @method set_compliance_result () +# Sets the given value for 'compliance_result' property. +# +# @param compliance_result - New value for the field. +# Mapping of component identifier to the compliance result. Warning: This +# *field* is available as Technology Preview. These are early access APIs provided to +# test, automate and provide feedback on the feature. Since this can change based on +# feedback, VMware does not guarantee backwards compatibility and recommends against +# using them in production environments. Some Technology Preview APIs might only be +# applicable to specific environments. +# +sub set_compliance_result { + my ($self, %args) = @_; + $self->{'compliance_result'} = $args{'compliance_result'}; + return; +} + + +1; + + +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::ScanResult::ComplianceStatus +# +# The ``Com::Vmware::Appliance::Vcenter::Settings::V1::ScanResult::ComplianceStatus`` +# *class* contains the possible different status of compliance with respect to target +# version. Warning: This *enumeration* is available as Technology Preview. +# These are early access APIs provided to test, automate and provide feedback on the +# feature. Since this can change based on feedback, VMware does not guarantee backwards +# compatibility and recommends against using them in production environments. Some +# Technology Preview APIs might only be applicable to specific environments. +# +# +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::ScanResult::ComplianceStatus::COMPLIANT # +#Target configuration is same as the current configuration?. Warning: This +# *constant* is available as Technology Preview. These are early access APIs provided to +# test, automate and provide feedback on the feature. Since this can change based on +# feedback, VMware does not guarantee backwards compatibility and recommends against using +# them in production environments. Some Technology Preview APIs might only be applicable to +# specific environments. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::ScanResult::ComplianceStatus::NON_COMPLIANT # +#Target configuration is not same as the current configuration. Warning: This +# *constant* is available as Technology Preview. These are early access APIs provided to +# test, automate and provide feedback on the feature. Since this can change based on +# feedback, VMware does not guarantee backwards compatibility and recommends against using +# them in production environments. Some Technology Preview APIs might only be applicable to +# specific environments. +# +# Constant Com::Vmware::Appliance::Vcenter::Settings::V1::ScanResult::ComplianceStatus::UNAVAILABLE # +#Scan check failed due to unknown error or check hasn't happened yet and the results +# are not available. Warning: This *constant* is available as Technology Preview. +# These are early access APIs provided to test, automate and provide feedback on the +# feature. Since this can change based on feedback, VMware does not guarantee backwards +# compatibility and recommends against using them in production environments. Some +# Technology Preview APIs might only be applicable to specific environments. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::ScanResult::ComplianceStatus; + +use constant { + COMPLIANT => 'COMPLIANT', + NON_COMPLIANT => 'NON_COMPLIANT', + UNAVAILABLE => 'UNAVAILABLE', +}; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiEnum); + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::ScanResult::ComplianceStatus enumeration. +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $self = $class->SUPER::new(); + my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType( + 'name' => 'com.vmware.appliance.vcenter.settings.v1.scan_result.compliance_status', + 'binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::ScanResult::ComplianceStatus'); + $class->SUPER::set_binding_type('binding_type' => $bindingType); + + bless $self, $class; + return $self; +} + +1; + + diff --git a/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/TaskInfo.pm b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/TaskInfo.pm new file mode 100644 index 00000000..c993bee3 --- /dev/null +++ b/lib/sdk/Com/Vmware/Appliance/Vcenter/Settings/V1/TaskInfo.pm @@ -0,0 +1,450 @@ +## @class Com::Vmware::Appliance::Vcenter::Settings::V1::TaskInfo +# +# +# The ``Com::Vmware::Appliance::Vcenter::Settings::V1::TaskInfo`` *class* contains +# information about a task. Warning: This *class* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. + +package Com::Vmware::Appliance::Vcenter::Settings::V1::TaskInfo; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Appliance::Vcenter::Settings::V1::TaskInfo structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + $validatorList = [ + new Com::Vmware::Vapi::Data::UnionValidator( + 'discriminant_name' => 'status', + 'case_map' => { + 'RUNNING' => ['progress', 'result', 'start_time'], + 'BLOCKED' => ['progress', 'result', 'start_time'], + 'SUCCEEDED' => ['progress', 'result', 'start_time', 'end_time'], + 'FAILED' => ['progress', 'result', 'error', 'start_time', 'end_time'], + 'PENDING' => [], + }), + ]; + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{progress} = $args{'progress'}; + $self->{notifications} = $args{'notifications'}; + $self->{result} = $args{'result'}; + $self->{description} = $args{'description'}; + $self->{service} = $args{'service'}; + $self->{operation} = $args{'operation'}; + $self->{parent} = $args{'parent'}; + $self->{target} = $args{'target'}; + $self->{status} = $args{'status'}; + $self->{cancelable} = $args{'cancelable'}; + $self->{error} = $args{'error'}; + $self->{start_time} = $args{'start_time'}; + $self->{end_time} = $args{'end_time'}; + $self->{user} = $args{'user'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Appliance::Vcenter::Settings::V1::TaskInfo'); + $self->set_binding_name('name' => 'com.vmware.appliance.vcenter.settings.v1.task_info'); + $self->set_binding_field('key' => 'progress', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Cis::Task', 'type_name' => 'Progress'))); + $self->set_binding_field('key' => 'notifications', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Appliance::Vcenter::Settings::V1', 'type_name' => 'Notifications'))); + $self->set_binding_field('key' => 'result', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::OpaqueType())); + $self->set_binding_field('key' => 'description', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std', 'type_name' => 'LocalizableMessage')); + $self->set_binding_field('key' => 'service', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'operation', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'parent', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'target', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std', 'type_name' => 'DynamicID'))); + $self->set_binding_field('key' => 'status', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Cis::Task', 'type_name' => 'Status')); + $self->set_binding_field('key' => 'cancelable', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + $self->set_binding_field('key' => 'error', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ErrorType())); + $self->set_binding_field('key' => 'start_time', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::DateTimeType())); + $self->set_binding_field('key' => 'end_time', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::DateTimeType())); + $self->set_binding_field('key' => 'user', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + bless $self, $class; + return $self; +} + +## @method get_progress () +# Gets the value of 'progress' property. +# +# @retval progress - The current value of the field. +# Progress of the operation. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +# optional# +sub get_progress { + my ($self, %args) = @_; + return $self->{'progress'}; +} + +## @method set_progress () +# Sets the given value for 'progress' property. +# +# @param progress - New value for the field. +# Progress of the operation. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +sub set_progress { + my ($self, %args) = @_; + $self->{'progress'} = $args{'progress'}; + return; +} + +## @method get_notifications () +# Gets the value of 'notifications' property. +# +# @retval notifications - The current value of the field. +# Notifications to the user. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +# Optional# +sub get_notifications { + my ($self, %args) = @_; + return $self->{'notifications'}; +} + +## @method set_notifications () +# Sets the given value for 'notifications' property. +# +# @param notifications - New value for the field. +# Notifications to the user. Warning: This *field* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback +# on the feature. Since this can change based on feedback, VMware does not guarantee +# backwards compatibility and recommends against using them in production environments. +# Some Technology Preview APIs might only be applicable to specific environments. +# +sub set_notifications { + my ($self, %args) = @_; + $self->{'notifications'} = $args{'notifications'}; + return; +} + +## @method get_result () +# Gets the value of 'result' property. +# +# @retval result - The current value of the field. +# Task result. Warning: This *field* is available as Technology Preview. These +# are early access APIs provided to test, automate and provide feedback on the feature. +# Since this can change based on feedback, VMware does not guarantee backwards +# compatibility and recommends against using them in production environments. Some +# Technology Preview APIs might only be applicable to specific environments. +# +# Optional# +sub get_result { + my ($self, %args) = @_; + return $self->{'result'}; +} + +## @method set_result () +# Sets the given value for 'result' property. +# +# @param result - New value for the field. +# Task result. Warning: This *field* is available as Technology Preview. These +# are early access APIs provided to test, automate and provide feedback on the feature. +# Since this can change based on feedback, VMware does not guarantee backwards +# compatibility and recommends against using them in production environments. Some +# Technology Preview APIs might only be applicable to specific environments. +# +sub set_result { + my ($self, %args) = @_; + $self->{'result'} = $args{'result'}; + return; +} + +## @method get_description () +# Gets the value of 'description' property. +# +# @retval description - The current value of the field. +# Description of the operation associated with the task. +# +# LocalizableMessage# +sub get_description { + my ($self, %args) = @_; + return $self->{'description'}; +} + +## @method set_description () +# Sets the given value for 'description' property. +# +# @param description - New value for the field. +# Description of the operation associated with the task. +# +sub set_description { + my ($self, %args) = @_; + $self->{'description'} = $args{'description'}; + return; +} + +## @method get_service () +# Gets the value of 'service' property. +# +# @retval service - The current value of the field. +# Identifier of the service containing the operation. +# +# ID# +sub get_service { + my ($self, %args) = @_; + return $self->{'service'}; +} + +## @method set_service () +# Sets the given value for 'service' property. +# +# @param service - New value for the field. +# Identifier of the service containing the operation. +# +sub set_service { + my ($self, %args) = @_; + $self->{'service'} = $args{'service'}; + return; +} + +## @method get_operation () +# Gets the value of 'operation' property. +# +# @retval operation - The current value of the field. +# Identifier of the operation associated with the task. +# +# ID# +sub get_operation { + my ($self, %args) = @_; + return $self->{'operation'}; +} + +## @method set_operation () +# Sets the given value for 'operation' property. +# +# @param operation - New value for the field. +# Identifier of the operation associated with the task. +# +sub set_operation { + my ($self, %args) = @_; + $self->{'operation'} = $args{'operation'}; + return; +} + +## @method get_parent () +# Gets the value of 'parent' property. +# +# @retval parent - The current value of the field. +# Parent of the current task. +# +# Optional# +sub get_parent { + my ($self, %args) = @_; + return $self->{'parent'}; +} + +## @method set_parent () +# Sets the given value for 'parent' property. +# +# @param parent - New value for the field. +# Parent of the current task. +# +sub set_parent { + my ($self, %args) = @_; + $self->{'parent'} = $args{'parent'}; + return; +} + +## @method get_target () +# Gets the value of 'target' property. +# +# @retval target - The current value of the field. +# Identifier of the target created by the operation or an existing one the operation +# performed on. +# +# Optional# +sub get_target { + my ($self, %args) = @_; + return $self->{'target'}; +} + +## @method set_target () +# Sets the given value for 'target' property. +# +# @param target - New value for the field. +# Identifier of the target created by the operation or an existing one the operation +# performed on. +# +sub set_target { + my ($self, %args) = @_; + $self->{'target'} = $args{'target'}; + return; +} + +## @method get_status () +# Gets the value of 'status' property. +# +# @retval status - The current value of the field. +# Status of the operation associated with the task. +# +# Status# +sub get_status { + my ($self, %args) = @_; + return $self->{'status'}; +} + +## @method set_status () +# Sets the given value for 'status' property. +# +# @param status - New value for the field. +# Status of the operation associated with the task. +# +sub set_status { + my ($self, %args) = @_; + $self->{'status'} = $args{'status'}; + return; +} + +## @method get_cancelable () +# Gets the value of 'cancelable' property. +# +# @retval cancelable - The current value of the field. +# Flag to indicate whether or not the operation can be cancelled. The value may change +# as the operation progresses. +# +# boolean# +sub get_cancelable { + my ($self, %args) = @_; + return $self->{'cancelable'}; +} + +## @method set_cancelable () +# Sets the given value for 'cancelable' property. +# +# @param cancelable - New value for the field. +# Flag to indicate whether or not the operation can be cancelled. The value may change +# as the operation progresses. +# +sub set_cancelable { + my ($self, %args) = @_; + $self->{'cancelable'} = $args{'cancelable'}; + return; +} + +## @method get_error () +# Gets the value of 'error' property. +# +# @retval error - The current value of the field. +# Description of the error if the operation status is "FAILED". +# +# Optional# +sub get_error { + my ($self, %args) = @_; + return $self->{'error'}; +} + +## @method set_error () +# Sets the given value for 'error' property. +# +# @param error - New value for the field. +# Description of the error if the operation status is "FAILED". +# +sub set_error { + my ($self, %args) = @_; + $self->{'error'} = $args{'error'}; + return; +} + +## @method get_start_time () +# Gets the value of 'start_time' property. +# +# @retval start_time - The current value of the field. +# Time when the operation is started. +# +# optional# +sub get_start_time { + my ($self, %args) = @_; + return $self->{'start_time'}; +} + +## @method set_start_time () +# Sets the given value for 'start_time' property. +# +# @param start_time - New value for the field. +# Time when the operation is started. +# +sub set_start_time { + my ($self, %args) = @_; + $self->{'start_time'} = $args{'start_time'}; + return; +} + +## @method get_end_time () +# Gets the value of 'end_time' property. +# +# @retval end_time - The current value of the field. +# Time when the operation is completed. +# +# optional# +sub get_end_time { + my ($self, %args) = @_; + return $self->{'end_time'}; +} + +## @method set_end_time () +# Sets the given value for 'end_time' property. +# +# @param end_time - New value for the field. +# Time when the operation is completed. +# +sub set_end_time { + my ($self, %args) = @_; + $self->{'end_time'} = $args{'end_time'}; + return; +} + +## @method get_user () +# Gets the value of 'user' property. +# +# @retval user - The current value of the field. +# Name of the user who performed the operation. +# +# Optional# +sub get_user { + my ($self, %args) = @_; + return $self->{'user'}; +} + +## @method set_user () +# Sets the given value for 'user' property. +# +# @param user - New value for the field. +# Name of the user who performed the operation. +# +sub set_user { + my ($self, %args) = @_; + $self->{'user'} = $args{'user'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Cis/Tasks.pm b/lib/sdk/Com/Vmware/Cis/Tasks.pm index 13be94d4..347e3f2b 100644 --- a/lib/sdk/Com/Vmware/Cis/Tasks.pm +++ b/lib/sdk/Com/Vmware/Cis/Tasks.pm @@ -457,7 +457,7 @@ sub set_services { # operation, the identifier of the service interface containing the operation should # also be specified in ``services`` .

# -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_operations { @@ -476,7 +476,7 @@ sub get_operations { # operation, the identifier of the service interface containing the operation should # also be specified in ``services`` .

# -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_operations { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Enablement/Software.pm b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Enablement/Software.pm index 1495a3e2..39ffd000 100644 --- a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Enablement/Software.pm +++ b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Enablement/Software.pm @@ -74,7 +74,7 @@ sub new { # Returns whether the given cluster is managed with a single software specification. # # Note: -# Privileges required for this operation are VcIntegrity.lifecycleSoftwareSpecification.Read. +# Privileges required for this operation are VcIntegrity.lifecycleSettings.Read, VcIntegrity.lifecycleSoftwareSpecification.Read. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -97,6 +97,12 @@ sub new { # # @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated # If the caller is not authenticated. +# @throw Com::Vmware::Vapi::Std::Errors::Unauthorized +# if you do not have all of the privileges described as follows: # sub get { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Policies/Apply.pm b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Policies/Apply.pm index eb5694ca..a7931804 100644 --- a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Policies/Apply.pm +++ b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Policies/Apply.pm @@ -397,6 +397,7 @@ sub new { $self->{disable_dpm} = $args{'disable_dpm'}; $self->{disable_hac} = $args{'disable_hac'}; $self->{evacuate_offline_vms} = $args{'evacuate_offline_vms'}; + $self->{enforce_hcl_validation} = $args{'enforce_hcl_validation'}; $self->set_binding_class('binding_class' => 'Com::Vmware::Esx::Settings::Clusters::Policies::Apply::ConfiguredPolicySpec'); $self->set_binding_name('name' => 'com.vmware.esx.settings.clusters.policies.apply.configured_policy_spec'); @@ -406,6 +407,7 @@ sub new { $self->set_binding_field('key' => 'disable_dpm', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::BooleanType())); $self->set_binding_field('key' => 'disable_hac', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::BooleanType())); $self->set_binding_field('key' => 'evacuate_offline_vms', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::BooleanType())); + $self->set_binding_field('key' => 'enforce_hcl_validation', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::BooleanType())); bless $self, $class; return $self; } @@ -558,6 +560,32 @@ sub set_evacuate_offline_vms { return; } +## @method get_enforce_hcl_validation () +# Gets the value of 'enforce_hcl_validation' property. +# +# @retval enforce_hcl_validation - The current value of the field. +# Enforce Hcl validation, when applicable, to prevent remediation if hardware +# compatibility issues are found. This *field* was added in vSphere API 7.0.1.0. +# +# Optional# +sub get_enforce_hcl_validation { + my ($self, %args) = @_; + return $self->{'enforce_hcl_validation'}; +} + +## @method set_enforce_hcl_validation () +# Sets the given value for 'enforce_hcl_validation' property. +# +# @param enforce_hcl_validation - New value for the field. +# Enforce Hcl validation, when applicable, to prevent remediation if hardware +# compatibility issues are found. This *field* was added in vSphere API 7.0.1.0. +# +sub set_enforce_hcl_validation { + my ($self, %args) = @_; + $self->{'enforce_hcl_validation'} = $args{'enforce_hcl_validation'}; + return; +} + 1; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Policies/Apply/Effective.pm b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Policies/Apply/Effective.pm index ad2f459a..7b0d74c9 100644 --- a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Policies/Apply/Effective.pm +++ b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Policies/Apply/Effective.pm @@ -350,6 +350,7 @@ sub new { $self->{disable_dpm} = $args{'disable_dpm'}; $self->{disable_hac} = $args{'disable_hac'}; $self->{evacuate_offline_vms} = $args{'evacuate_offline_vms'}; + $self->{enforce_hcl_validation} = $args{'enforce_hcl_validation'}; $self->set_binding_class('binding_class' => 'Com::Vmware::Esx::Settings::Clusters::Policies::Apply::Effective::EffectivePolicySpec'); $self->set_binding_name('name' => 'com.vmware.esx.settings.clusters.policies.apply.effective.effective_policy_spec'); @@ -359,6 +360,7 @@ sub new { $self->set_binding_field('key' => 'disable_dpm', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); $self->set_binding_field('key' => 'disable_hac', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); $self->set_binding_field('key' => 'evacuate_offline_vms', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + $self->set_binding_field('key' => 'enforce_hcl_validation', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::BooleanType())); bless $self, $class; return $self; } @@ -511,6 +513,32 @@ sub set_evacuate_offline_vms { return; } +## @method get_enforce_hcl_validation () +# Gets the value of 'enforce_hcl_validation' property. +# +# @retval enforce_hcl_validation - The current value of the field. +# Enforce Hcl validation, when applicable, to prevent remediation if hardware +# compatibility issues are found. This *field* was added in vSphere API 7.0.1.0. +# +# optional# +sub get_enforce_hcl_validation { + my ($self, %args) = @_; + return $self->{'enforce_hcl_validation'}; +} + +## @method set_enforce_hcl_validation () +# Sets the given value for 'enforce_hcl_validation' property. +# +# @param enforce_hcl_validation - New value for the field. +# Enforce Hcl validation, when applicable, to prevent remediation if hardware +# compatibility issues are found. This *field* was added in vSphere API 7.0.1.0. +# +sub set_enforce_hcl_validation { + my ($self, %args) = @_; + $self->{'enforce_hcl_validation'} = $args{'enforce_hcl_validation'}; + return; +} + 1; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software.pm b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software.pm index 8bf7622b..779cd989 100644 --- a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software.pm +++ b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software.pm @@ -8,6 +8,7 @@ # # +#use Com::Vmware::Cis::Task; #use Com::Vmware::Esx::Settings; #use Com::Vmware::Vapi::Std; #use Com::Vmware::Vapi::Std::Errors; @@ -76,7 +77,7 @@ sub new { # Returns the complete desired software specification. # # Note: -# Privileges required for this operation are VcIntegrity.lifecycleSoftwareSpecification.Read. +# Privileges required for this operation are VcIntegrity.lifecycleSettings.Read, VcIntegrity.lifecycleSoftwareSpecification.Read. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -243,7 +244,7 @@ sub export { # @throw Com::Vmware::Vapi::Std::Errors::InvalidArgument # If the ``commit`` *field* of ``spec`` specifies an invalid commit, or the # ``hosts`` *field* of ``spec`` specifies an invalid host or a host not part of the -# cluster. +# cluster, or the ``cluster`` is not managed with a single software specification. # # @throw Com::Vmware::Vapi::Std::Errors::NotAllowedInCurrentState # If there is another operation in progress. @@ -734,10 +735,22 @@ sub new { $class = ref($class) || $class; my $validatorList = []; - + $validatorList = [ + new Com::Vmware::Vapi::Data::UnionValidator( + 'discriminant_name' => 'status', + 'case_map' => { + 'RUNNING' => ['progress'], + 'OK' => ['progress'], + 'ERROR' => ['progress'], + 'SKIPPED' => [], + 'TIMED_OUT' => [], + }), + ]; + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); $self->{status} = $args{'status'}; + $self->{progress} = $args{'progress'}; $self->{start_time} = $args{'start_time'}; $self->{end_time} = $args{'end_time'}; $self->{notifications} = $args{'notifications'}; @@ -745,6 +758,7 @@ sub new { $self->set_binding_class('binding_class' => 'Com::Vmware::Esx::Settings::Clusters::Software::ApplyStatus'); $self->set_binding_name('name' => 'com.vmware.esx.settings.clusters.software.apply_status'); $self->set_binding_field('key' => 'status', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings::Clusters', 'type_name' => 'Software::ApplyStatus::Status')); + $self->set_binding_field('key' => 'progress', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Cis::Task', 'type_name' => 'Progress'))); $self->set_binding_field('key' => 'start_time', 'value' => new Com::Vmware::Vapi::Bindings::Type::DateTimeType()); $self->set_binding_field('key' => 'end_time', 'value' => new Com::Vmware::Vapi::Bindings::Type::DateTimeType()); $self->set_binding_field('key' => 'notifications', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings', 'type_name' => 'Notifications')); @@ -776,6 +790,30 @@ sub set_status { return; } +## @method get_progress () +# Gets the value of 'progress' property. +# +# @retval progress - The current value of the field. +# Progress of the operation. This *field* was added in vSphere API 7.0.1.0. +# +# Optional# +sub get_progress { + my ($self, %args) = @_; + return $self->{'progress'}; +} + +## @method set_progress () +# Sets the given value for 'progress' property. +# +# @param progress - New value for the field. +# Progress of the operation. This *field* was added in vSphere API 7.0.1.0. +# +sub set_progress { + my ($self, %args) = @_; + $self->{'progress'} = $args{'progress'}; + return; +} + ## @method get_start_time () # Gets the value of 'start_time' property. # @@ -861,6 +899,9 @@ sub set_notifications { # # # +# Constant Com::Vmware::Esx::Settings::Clusters::Software::ApplyStatus::Status::RUNNING # +#The *method* is in progress. This *constant* was added in vSphere API 7.0.1.0. +# # Constant Com::Vmware::Esx::Settings::Clusters::Software::ApplyStatus::Status::OK # #The *method* completed successfully. # @@ -876,6 +917,7 @@ sub set_notifications { package Com::Vmware::Esx::Settings::Clusters::Software::ApplyStatus::Status; use constant { + RUNNING => 'RUNNING', OK => 'OK', SKIPPED => 'SKIPPED', TIMED_OUT => 'TIMED_OUT', diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Drafts/Software/Components.pm b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Drafts/Software/Components.pm index 91180152..3c58ea50 100644 --- a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Drafts/Software/Components.pm +++ b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Drafts/Software/Components.pm @@ -217,7 +217,7 @@ sub set { # # @throw Com::Vmware::Vapi::Std::Errors::NotFound # If there is no cluster associated with ``cluster`` or no draft associated with -# ``draft`` or no component associated with ``component`` in the system. +# ``draft`` in the system. # # @throw Com::Vmware::Vapi::Std::Errors::ServiceUnavailable # If the service is not available. diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Drafts/Software/HardwareSupport.pm b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Drafts/Software/HardwareSupport.pm new file mode 100644 index 00000000..34beff33 --- /dev/null +++ b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Drafts/Software/HardwareSupport.pm @@ -0,0 +1,250 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file HardwareSupport.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; +#use Com::Vmware::Esx::Settings; + +## @class Com::Vmware::Esx::Settings::Clusters::Software::Drafts::Software::HardwareSupport +# The +# ``Com::Vmware::Esx::Settings::Clusters::Software::Drafts::Software::HardwareSupport`` +# *interface* provides *methods* to manage a cluster's Hardware Support Package +# (HSP) configuration in working copy documents. +# + +package Com::Vmware::Esx::Settings::Clusters::Software::Drafts::Software::HardwareSupport; + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Esx::Settings::Clusters::Software::Drafts::Software::HardwareSupportStub; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiInterface); + +# +# Identifier of the service +# +use constant _VAPI_SERVICE_ID => 'com.vmware.esx.settings.clusters.software.drafts.software.hardware_support'; + + +## @method new () +# Constructor to initialize the object +# +# @param api_provider - protocol connection to use with +# stubs created by this factory +# @param StubConfig - Stub's additional configuration +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $stub_config = $args {stub_config}; + my $api_provider = $args {api_provider}; + + my $self = $class->SUPER::new('stub_config' => $stub_config, + 'api_provider' => $api_provider); + bless $self, $class; + return $self; +} + +## @method delete () +# Deletes a given cluster's working copy document Hardware Support Package (HSP) +# configuration. +# +# Note: +# Privileges required for this operation are VcIntegrity.lifecycleSoftwareSpecification.Write. +# +# @param cluster [REQUIRED] Identifier for the cluster. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @param draft [REQUIRED] Identifier of image working copy document being updated +# The value must be an identifier for the resource type +# getQualifiedName(com.vmware.esx.settings.draft). +# . The value must be str. +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# If there is some unknown internal error. The accompanying error message will give more +# details about the failure. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# If there is no cluster named ``cluster`` , no working copy document ``draft`` in +# the system, or no Hardware Support Package (HSP) configured as part of the working +# copy document. +# +# @throw Com::Vmware::Vapi::Std::Errors::ServiceUnavailable +# If the service is not available. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# @throw Com::Vmware::Vapi::Std::Errors::Unauthorized +# if you do not have all of the privileges described as follows: +# +sub delete { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + my $draft = $args {draft}; + + $self->validate_args (method_name => 'delete', + method_args => \%args); + + return $self->invoke (method_name => 'delete', + method_args => \%args); +} + +## @method get () +# Returns a given cluster's working copy document Hardware Support Package (HSP) +# configuration. +# +# Note: +# Privileges required for this operation are VcIntegrity.lifecycleSoftwareSpecification.Read. +# +# @param cluster [REQUIRED] Identifier for the cluster. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @param draft [REQUIRED] Identifier of image working copy document being updated +# The value must be an identifier for the resource type +# getQualifiedName(com.vmware.esx.settings.draft). +# . The value must be str. +# +# @retval +# Hardware Support Package (HSP) configured for use +# The return type will be Com::Vmware::Esx::Settings::HardwareSupportInfo +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# If there is some unknown internal error. The accompanying error message will give more +# details about the failure. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# If there is no cluster named ``cluster`` , no working copy document ``draft`` in +# the system, or no Hardware Support Package (HSP) configured as part of the working +# copy document. +# +# @throw Com::Vmware::Vapi::Std::Errors::ServiceUnavailable +# If the service is not available. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# @throw Com::Vmware::Vapi::Std::Errors::Unauthorized +# if you do not have all of the privileges described as follows: +# +sub get { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + my $draft = $args {draft}; + + $self->validate_args (method_name => 'get', + method_args => \%args); + + return $self->invoke (method_name => 'get', + method_args => \%args); +} + +## @method set () +# Replaces a given cluster's working copy document Hardware Support Package (HSP) +# configuration. +# +# Note: +# Privileges required for this operation are VcIntegrity.lifecycleSoftwareSpecification.Write. +# +# @param cluster [REQUIRED] Identifier for the cluster. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @param draft [REQUIRED] Identifier of image working copy document being updated +# The value must be an identifier for the resource type +# getQualifiedName(com.vmware.esx.settings.draft). +# . The value must be str. +# +# @param spec [REQUIRED] new Hardware Support Package (HSP) configuration for the cluster +# . The value must be Com::Vmware::Esx::Settings::HardwareSupportSpec. +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# If there is some unknown internal error. The accompanying error message will give more +# details about the failure. +# +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# If there is no cluster named ``cluster`` , no working copy document ``draft`` in +# the system, or no Hardware Support Package (HSP) configured as part of the working +# copy document. +# +# @throw Com::Vmware::Vapi::Std::Errors::ServiceUnavailable +# If the service is not available. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# @throw Com::Vmware::Vapi::Std::Errors::Unauthorized +# if you do not have all of the privileges described as follows: +# +sub set { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + my $draft = $args {draft}; + my $spec = $args {spec}; + + $self->validate_args (method_name => 'set', + method_args => \%args); + + return $self->invoke (method_name => 'set', + method_args => \%args); +} + +1; + +######################################################################################### +# Begins enumerations for the Com::Vmware::Esx::Settings::Clusters::Software::Drafts::Software::HardwareSupport service +######################################################################################### + + + +######################################################################################### +# Ends enumerations for the Com::Vmware::Esx::Settings::Clusters::Software::Drafts::Software::HardwareSupport service +######################################################################################### + +######################################################################################### +# Begins structures for the Com::Vmware::Esx::Settings::Clusters::Software::Drafts::Software::HardwareSupport service +######################################################################################### + + +######################################################################################### +# Ends structures for the Com::Vmware::Esx::Settings::Clusters::Software::Drafts::Software::HardwareSupport service +######################################################################################### diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Drafts/Software/HardwareSupportStub.pm b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Drafts/Software/HardwareSupportStub.pm new file mode 100644 index 00000000..5f49504a --- /dev/null +++ b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Drafts/Software/HardwareSupportStub.pm @@ -0,0 +1,175 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file HardwareSupportStub.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; +#use Com::Vmware::Esx::Settings; + +package Com::Vmware::Esx::Settings::Clusters::Software::Drafts::Software::HardwareSupportStub; + +## @class Com::Vmware::Esx::Settings::Clusters::Software::Drafts::Software::HardwareSupport +# +#The {@name HardwareSupport} {@term service} provides {@term operations} +#to manage a cluster's Hardware Support Package (HSP) configuration in +#working copy documents. +# + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::BlobType; +use Com::Vmware::Vapi::Bindings::Type::BooleanType; +use Com::Vmware::Vapi::Bindings::Type::DateTimeType; +use Com::Vmware::Vapi::Bindings::Type::DoubleType; +use Com::Vmware::Vapi::Bindings::Type::EnumType; +use Com::Vmware::Vapi::Bindings::Type::ErrorType; +use Com::Vmware::Vapi::Bindings::Type::ListType; +use Com::Vmware::Vapi::Bindings::Type::LongType; +use Com::Vmware::Vapi::Bindings::Type::MapType; +use Com::Vmware::Vapi::Bindings::Type::OpaqueType; +use Com::Vmware::Vapi::Bindings::Type::OptionalType; +use Com::Vmware::Vapi::Bindings::Type::ReferenceType; +use Com::Vmware::Vapi::Bindings::Type::SecretType; +use Com::Vmware::Vapi::Bindings::Type::SetType; +use Com::Vmware::Vapi::Bindings::Type::StringType; +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vapi::Bindings::Type::DynamicStructType; +use Com::Vmware::Vapi::Bindings::Type::URIType; +use Com::Vmware::Vapi::Bindings::Type::VoidType; +use Com::Vmware::Vapi::Data::UnionValidator; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::ApiInterfaceStub); + +## @method new +# Constructor to initialize the object +# +# @param ApiProvider - ApiProvider for vAPI stubs +# +# @return +# Blessed object +# +sub new +{ + my ($class, %args) = @_; + my $api_provider = $args {api_provider}; + $class = ref($class) || $class; + # + # properties for delete operation + # + my $delete_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'draft' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + } + ); + my $delete_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.service_unavailable' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ServiceUnavailable'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $delete_input_validator_list = [ + ]; + my $delete_output_validator_list = []; + + # + # properties for get operation + # + my $get_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'draft' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + } + ); + my $get_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.service_unavailable' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ServiceUnavailable'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $get_input_validator_list = [ + ]; + my $get_output_validator_list = []; + + # + # properties for set operation + # + my $set_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'draft' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'spec' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings', 'type_name' => 'HardwareSupportSpec'), + } + ); + my $set_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.service_unavailable' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ServiceUnavailable'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $set_input_validator_list = [ + ]; + my $set_output_validator_list = []; + + # + # All the methods (operations) info in a hash + # + my $operations = { + 'delete' => { + 'input_type'=> $delete_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::VoidType(), + 'errors'=> $delete_error_dict, + 'input_validator_list'=> $delete_input_validator_list, + 'output_validator_list'=> $delete_output_validator_list, + }, + 'get' => { + 'input_type'=> $get_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings', 'type_name' => 'HardwareSupportInfo'), + 'errors'=> $get_error_dict, + 'input_validator_list'=> $get_input_validator_list, + 'output_validator_list'=> $get_output_validator_list, + }, + 'set' => { + 'input_type'=> $set_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::VoidType(), + 'errors'=> $set_error_dict, + 'input_validator_list'=> $set_input_validator_list, + 'output_validator_list'=> $set_output_validator_list, + }, + }; + + my $self = $class->SUPER::new ('api_provider' => $api_provider, + 'iface_name' => 'com.vmware.esx.settings.clusters.software.drafts.software.hardware_support', + 'operations' => $operations + ); + bless $self, $class; + return $self; +} + +1; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/HardwareSupport.pm b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/HardwareSupport.pm new file mode 100644 index 00000000..72f23614 --- /dev/null +++ b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/HardwareSupport.pm @@ -0,0 +1,134 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file HardwareSupport.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; +#use Com::Vmware::Esx::Settings; + +## @class Com::Vmware::Esx::Settings::Clusters::Software::HardwareSupport +# The ``Com::Vmware::Esx::Settings::Clusters::Software::HardwareSupport`` *interface* +# provides *methods* to manage a cluster's Hardware Support Package (HSP) +# configuration. +# + +package Com::Vmware::Esx::Settings::Clusters::Software::HardwareSupport; + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Esx::Settings::Clusters::Software::HardwareSupportStub; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiInterface); + +# +# Identifier of the service +# +use constant _VAPI_SERVICE_ID => 'com.vmware.esx.settings.clusters.software.hardware_support'; + + +## @method new () +# Constructor to initialize the object +# +# @param api_provider - protocol connection to use with +# stubs created by this factory +# @param StubConfig - Stub's additional configuration +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $stub_config = $args {stub_config}; + my $api_provider = $args {api_provider}; + + my $self = $class->SUPER::new('stub_config' => $stub_config, + 'api_provider' => $api_provider); + bless $self, $class; + return $self; +} + +## @method get () +# Returns a given cluster's Hardware Support Package (HSP) configuration. +# +# Note: +# Privileges required for this operation are VcIntegrity.lifecycleSoftwareSpecification.Read. +# +# @param cluster [REQUIRED] Identifier for the cluster. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @retval +# Hardware Support Package (HSP) selected for use +# The return type will be Com::Vmware::Esx::Settings::HardwareSupportInfo +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# If there is some unknown internal error. The accompanying error message will give more +# details about the failure. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# If there is no cluster named ``cluster`` or no Hardware Support Package (HSP) +# configured in the cluster's desired state document. +# +# @throw Com::Vmware::Vapi::Std::Errors::ServiceUnavailable +# If the service is not available. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# @throw Com::Vmware::Vapi::Std::Errors::Unauthorized +# if you do not have all of the privileges described as follows: +# +sub get { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + + $self->validate_args (method_name => 'get', + method_args => \%args); + + return $self->invoke (method_name => 'get', + method_args => \%args); +} + +1; + +######################################################################################### +# Begins enumerations for the Com::Vmware::Esx::Settings::Clusters::Software::HardwareSupport service +######################################################################################### + + + +######################################################################################### +# Ends enumerations for the Com::Vmware::Esx::Settings::Clusters::Software::HardwareSupport service +######################################################################################### + +######################################################################################### +# Begins structures for the Com::Vmware::Esx::Settings::Clusters::Software::HardwareSupport service +######################################################################################### + + +######################################################################################### +# Ends structures for the Com::Vmware::Esx::Settings::Clusters::Software::HardwareSupport service +######################################################################################### diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/HardwareSupportStub.pm b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/HardwareSupportStub.pm new file mode 100644 index 00000000..a832b76f --- /dev/null +++ b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/HardwareSupportStub.pm @@ -0,0 +1,113 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file HardwareSupportStub.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; +#use Com::Vmware::Esx::Settings; + +package Com::Vmware::Esx::Settings::Clusters::Software::HardwareSupportStub; + +## @class Com::Vmware::Esx::Settings::Clusters::Software::HardwareSupport +# +#The {@name HardwareSupport} {@term service} provides {@term operations} +#to manage a cluster's Hardware Support Package (HSP) configuration. +# + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::BlobType; +use Com::Vmware::Vapi::Bindings::Type::BooleanType; +use Com::Vmware::Vapi::Bindings::Type::DateTimeType; +use Com::Vmware::Vapi::Bindings::Type::DoubleType; +use Com::Vmware::Vapi::Bindings::Type::EnumType; +use Com::Vmware::Vapi::Bindings::Type::ErrorType; +use Com::Vmware::Vapi::Bindings::Type::ListType; +use Com::Vmware::Vapi::Bindings::Type::LongType; +use Com::Vmware::Vapi::Bindings::Type::MapType; +use Com::Vmware::Vapi::Bindings::Type::OpaqueType; +use Com::Vmware::Vapi::Bindings::Type::OptionalType; +use Com::Vmware::Vapi::Bindings::Type::ReferenceType; +use Com::Vmware::Vapi::Bindings::Type::SecretType; +use Com::Vmware::Vapi::Bindings::Type::SetType; +use Com::Vmware::Vapi::Bindings::Type::StringType; +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vapi::Bindings::Type::DynamicStructType; +use Com::Vmware::Vapi::Bindings::Type::URIType; +use Com::Vmware::Vapi::Bindings::Type::VoidType; +use Com::Vmware::Vapi::Data::UnionValidator; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::ApiInterfaceStub); + +## @method new +# Constructor to initialize the object +# +# @param ApiProvider - ApiProvider for vAPI stubs +# +# @return +# Blessed object +# +sub new +{ + my ($class, %args) = @_; + my $api_provider = $args {api_provider}; + $class = ref($class) || $class; + # + # properties for get operation + # + my $get_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + } + ); + my $get_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.service_unavailable' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ServiceUnavailable'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $get_input_validator_list = [ + ]; + my $get_output_validator_list = []; + + # + # All the methods (operations) info in a hash + # + my $operations = { + 'get' => { + 'input_type'=> $get_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings', 'type_name' => 'HardwareSupportInfo'), + 'errors'=> $get_error_dict, + 'input_validator_list'=> $get_input_validator_list, + 'output_validator_list'=> $get_output_validator_list, + }, + }; + + my $self = $class->SUPER::new ('api_provider' => $api_provider, + 'iface_name' => 'com.vmware.esx.settings.clusters.software.hardware_support', + 'operations' => $operations + ); + bless $self, $class; + return $self; +} + +1; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Recommendations.pm b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Recommendations.pm index 00ed60da..fc33861c 100644 --- a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Recommendations.pm +++ b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Recommendations.pm @@ -394,7 +394,8 @@ sub set_current_series_recommendation { # Gets the value of 'base_image_explanation_details' property. # # @retval base_image_explanation_details - The current value of the field. -# Details about why some base images are excluded in recommendation. +# Details about why some base images are excluded in latest and current series +# recommendations. This is not applicable for specified base image recommendations. # # List# sub get_base_image_explanation_details { @@ -406,7 +407,8 @@ sub get_base_image_explanation_details { # Sets the given value for 'base_image_explanation_details' property. # # @param base_image_explanation_details - New value for the field. -# Details about why some base images are excluded in recommendation. +# Details about why some base images are excluded in latest and current series +# recommendations. This is not applicable for specified base image recommendations. # sub set_base_image_explanation_details { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/HardwareCompatibility.pm b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/HardwareCompatibility.pm index 45f83639..79e24db9 100644 --- a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/HardwareCompatibility.pm +++ b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/HardwareCompatibility.pm @@ -75,6 +75,9 @@ sub new { ## @method get () # Returns the hcl validation check summary. # +# Note: +# Privileges required for this operation are VcIntegrity.HardwareCompatibility.Read. +# # @param cluster [REQUIRED] identifier of the cluster. # The value must be an identifier for the resource type # getQualifiedName(ClusterComputeResource). @@ -97,6 +100,13 @@ sub new { # # @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated # if the caller is not authenticated. +# @throw Com::Vmware::Vapi::Std::Errors::Unauthorized +# if you do not have all of the privileges described as follows: # sub get { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/Hardware_compatibility/Details.pm b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/Hardware_compatibility/Details.pm index 68d725d0..b2827e86 100644 --- a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/Hardware_compatibility/Details.pm +++ b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/Hardware_compatibility/Details.pm @@ -67,6 +67,9 @@ sub new { ## @method get () # Returns the hcl validation check detailed results. # +# Note: +# Privileges required for this operation are VcIntegrity.HardwareCompatibility.Read. +# # @param cluster [REQUIRED] identifier of the cluster. # The value must be an identifier for the resource type # getQualifiedName(ClusterComputeResource). @@ -90,6 +93,13 @@ sub new { # # @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated # if the caller is not authenticated. +# @throw Com::Vmware::Vapi::Std::Errors::Unauthorized +# if you do not have all of the privileges described as follows: # sub get { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/LastApplyResult.pm b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/LastApplyResult.pm index aca396a5..020e790f 100644 --- a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/LastApplyResult.pm +++ b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/LastApplyResult.pm @@ -8,6 +8,7 @@ # # +#use Com::Vmware::Cis::Task; #use Com::Vmware::Esx::Settings; #use Com::Vmware::Vapi::Std::Errors; @@ -161,10 +162,21 @@ sub new { $class = ref($class) || $class; my $validatorList = []; - + $validatorList = [ + new Com::Vmware::Vapi::Data::UnionValidator( + 'discriminant_name' => 'status', + 'case_map' => { + 'OK' => ['progress'], + 'ERROR' => ['progress'], + 'SKIPPED' => [], + 'TIMED_OUT' => [], + }), + ]; + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); $self->{status} = $args{'status'}; + $self->{progress} = $args{'progress'}; $self->{start_time} = $args{'start_time'}; $self->{end_time} = $args{'end_time'}; $self->{notifications} = $args{'notifications'}; @@ -172,6 +184,7 @@ sub new { $self->set_binding_class('binding_class' => 'Com::Vmware::Esx::Settings::Clusters::Software::Reports::LastApplyResult::ApplyStatus'); $self->set_binding_name('name' => 'com.vmware.esx.settings.clusters.software.reports.last_apply_result.apply_status'); $self->set_binding_field('key' => 'status', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings::Clusters::Software::Reports', 'type_name' => 'LastApplyResult::ApplyStatus::Status')); + $self->set_binding_field('key' => 'progress', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Cis::Task', 'type_name' => 'Progress'))); $self->set_binding_field('key' => 'start_time', 'value' => new Com::Vmware::Vapi::Bindings::Type::DateTimeType()); $self->set_binding_field('key' => 'end_time', 'value' => new Com::Vmware::Vapi::Bindings::Type::DateTimeType()); $self->set_binding_field('key' => 'notifications', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings', 'type_name' => 'Notifications')); @@ -203,6 +216,30 @@ sub set_status { return; } +## @method get_progress () +# Gets the value of 'progress' property. +# +# @retval progress - The current value of the field. +# Progress of the operation. This *field* was added in vSphere API 7.0.1.0. +# +# Optional# +sub get_progress { + my ($self, %args) = @_; + return $self->{'progress'}; +} + +## @method set_progress () +# Sets the given value for 'progress' property. +# +# @param progress - New value for the field. +# Progress of the operation. This *field* was added in vSphere API 7.0.1.0. +# +sub set_progress { + my ($self, %args) = @_; + $self->{'progress'} = $args{'progress'}; + return; +} + ## @method get_start_time () # Gets the value of 'start_time' property. # diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/LastApplyResultStub.pm b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/LastApplyResultStub.pm index 20850b25..470a2efc 100644 --- a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/LastApplyResultStub.pm +++ b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/Software/Reports/LastApplyResultStub.pm @@ -8,6 +8,7 @@ # # +#use Com::Vmware::Cis::Task; #use Com::Vmware::Esx::Settings; #use Com::Vmware::Vapi::Std::Errors; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/SoftwareStub.pm b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/SoftwareStub.pm index 49b95320..0b7e3c83 100644 --- a/lib/sdk/Com/Vmware/Esx/Settings/Clusters/SoftwareStub.pm +++ b/lib/sdk/Com/Vmware/Esx/Settings/Clusters/SoftwareStub.pm @@ -8,6 +8,7 @@ # # +#use Com::Vmware::Cis::Task; #use Com::Vmware::Esx::Settings; #use Com::Vmware::Vapi::Std; #use Com::Vmware::Vapi::Std::Errors; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Defaults/Clusters/Policies/Apply.pm b/lib/sdk/Com/Vmware/Esx/Settings/Defaults/Clusters/Policies/Apply.pm index 870aeccf..dd8dc6e8 100644 --- a/lib/sdk/Com/Vmware/Esx/Settings/Defaults/Clusters/Policies/Apply.pm +++ b/lib/sdk/Com/Vmware/Esx/Settings/Defaults/Clusters/Policies/Apply.pm @@ -374,6 +374,7 @@ sub new { $self->{disable_dpm} = $args{'disable_dpm'}; $self->{disable_hac} = $args{'disable_hac'}; $self->{evacuate_offline_vms} = $args{'evacuate_offline_vms'}; + $self->{enforce_hcl_validation} = $args{'enforce_hcl_validation'}; $self->set_binding_class('binding_class' => 'Com::Vmware::Esx::Settings::Defaults::Clusters::Policies::Apply::ConfiguredPolicySpec'); $self->set_binding_name('name' => 'com.vmware.esx.settings.defaults.clusters.policies.apply.configured_policy_spec'); @@ -383,6 +384,7 @@ sub new { $self->set_binding_field('key' => 'disable_dpm', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::BooleanType())); $self->set_binding_field('key' => 'disable_hac', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::BooleanType())); $self->set_binding_field('key' => 'evacuate_offline_vms', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::BooleanType())); + $self->set_binding_field('key' => 'enforce_hcl_validation', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::BooleanType())); bless $self, $class; return $self; } @@ -535,6 +537,32 @@ sub set_evacuate_offline_vms { return; } +## @method get_enforce_hcl_validation () +# Gets the value of 'enforce_hcl_validation' property. +# +# @retval enforce_hcl_validation - The current value of the field. +# Enforce Hcl validation, when applicable, to prevent remediation if hardware +# compatibility issues are found. This *field* was added in vSphere API 7.0.1.0. +# +# Optional# +sub get_enforce_hcl_validation { + my ($self, %args) = @_; + return $self->{'enforce_hcl_validation'}; +} + +## @method set_enforce_hcl_validation () +# Sets the given value for 'enforce_hcl_validation' property. +# +# @param enforce_hcl_validation - New value for the field. +# Enforce Hcl validation, when applicable, to prevent remediation if hardware +# compatibility issues are found. This *field* was added in vSphere API 7.0.1.0. +# +sub set_enforce_hcl_validation { + my ($self, %args) = @_; + $self->{'enforce_hcl_validation'} = $args{'enforce_hcl_validation'}; + return; +} + 1; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Defaults/Clusters/Policies/Apply/Effective.pm b/lib/sdk/Com/Vmware/Esx/Settings/Defaults/Clusters/Policies/Apply/Effective.pm index 46aa99e4..07ee6890 100644 --- a/lib/sdk/Com/Vmware/Esx/Settings/Defaults/Clusters/Policies/Apply/Effective.pm +++ b/lib/sdk/Com/Vmware/Esx/Settings/Defaults/Clusters/Policies/Apply/Effective.pm @@ -333,6 +333,7 @@ sub new { $self->{disable_dpm} = $args{'disable_dpm'}; $self->{disable_hac} = $args{'disable_hac'}; $self->{evacuate_offline_vms} = $args{'evacuate_offline_vms'}; + $self->{enforce_hcl_validation} = $args{'enforce_hcl_validation'}; $self->set_binding_class('binding_class' => 'Com::Vmware::Esx::Settings::Defaults::Clusters::Policies::Apply::Effective::EffectivePolicySpec'); $self->set_binding_name('name' => 'com.vmware.esx.settings.defaults.clusters.policies.apply.effective.effective_policy_spec'); @@ -342,6 +343,7 @@ sub new { $self->set_binding_field('key' => 'disable_dpm', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); $self->set_binding_field('key' => 'disable_hac', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); $self->set_binding_field('key' => 'evacuate_offline_vms', 'value' => new Com::Vmware::Vapi::Bindings::Type::BooleanType()); + $self->set_binding_field('key' => 'enforce_hcl_validation', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::BooleanType())); bless $self, $class; return $self; } @@ -494,6 +496,32 @@ sub set_evacuate_offline_vms { return; } +## @method get_enforce_hcl_validation () +# Gets the value of 'enforce_hcl_validation' property. +# +# @retval enforce_hcl_validation - The current value of the field. +# Enforce Hcl validation, when applicable, to prevent remediation if hardware +# compatibility issues are found. This *field* was added in vSphere API 7.0.1.0. +# +# optional# +sub get_enforce_hcl_validation { + my ($self, %args) = @_; + return $self->{'enforce_hcl_validation'}; +} + +## @method set_enforce_hcl_validation () +# Sets the given value for 'enforce_hcl_validation' property. +# +# @param enforce_hcl_validation - New value for the field. +# Enforce Hcl validation, when applicable, to prevent remediation if hardware +# compatibility issues are found. This *field* was added in vSphere API 7.0.1.0. +# +sub set_enforce_hcl_validation { + my ($self, %args) = @_; + $self->{'enforce_hcl_validation'} = $args{'enforce_hcl_validation'}; + return; +} + 1; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/Managers.pm b/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/Managers.pm new file mode 100644 index 00000000..97547089 --- /dev/null +++ b/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/Managers.pm @@ -0,0 +1,272 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file Managers.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +## @class Com::Vmware::Esx::Settings::Hardware_support::Managers +# The ``Com::Vmware::Esx::Settings::Hardware_support::Managers`` *interface* +# provides *methods* to list Hardware Support Manager (HSM) for a given vCenter. +# + +package Com::Vmware::Esx::Settings::Hardware_support::Managers; + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Esx::Settings::Hardware_support::ManagersStub; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiInterface); + +# +# Identifier of the service +# +use constant _VAPI_SERVICE_ID => 'com.vmware.esx.settings.hardware_support.managers'; + + +## @method new () +# Constructor to initialize the object +# +# @param api_provider - protocol connection to use with +# stubs created by this factory +# @param StubConfig - Stub's additional configuration +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $stub_config = $args {stub_config}; + my $api_provider = $args {api_provider}; + + my $self = $class->SUPER::new('stub_config' => $stub_config, + 'api_provider' => $api_provider); + bless $self, $class; + return $self; +} + +## @method list () +# Returns the list of registered Hardware Support Managers (HSMs) in the system. +# +# Note: +# Privileges required for this operation are VcIntegrity.lifecycleSettings.Read. +# +# @retval +# List of currently registered Hardware Support Manager (HSMs) +# The return type will be Array of +# Com::Vmware::Esx::Settings::Hardware_support::Managers::HardwareSupportManagerInfo +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# If there is some unknown internal error. The accompanying error message will give more +# details about the failure. +# +# @throw Com::Vmware::Vapi::Std::Errors::ServiceUnavailable +# If the service is not available. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# @throw Com::Vmware::Vapi::Std::Errors::Unauthorized +# if you do not have all of the privileges described as follows: +# +sub list { + my ($self, %args) = @_; + return $self->invoke(method_name => 'list', method_args => {}); +} + +1; + +######################################################################################### +# Begins enumerations for the Com::Vmware::Esx::Settings::Hardware_support::Managers service +######################################################################################### + + + +######################################################################################### +# Ends enumerations for the Com::Vmware::Esx::Settings::Hardware_support::Managers service +######################################################################################### + +######################################################################################### +# Begins structures for the Com::Vmware::Esx::Settings::Hardware_support::Managers service +######################################################################################### + +## @class Com::Vmware::Esx::Settings::Hardware_support::Managers::HardwareSupportManagerInfo +# +# +# The +# ``Com::Vmware::Esx::Settings::Hardware_support::Managers::HardwareSupportManagerInfo`` +# *class* contains *fields* that describe a particular 3rd party Hardware Support +# Manager (HSM) + +package Com::Vmware::Esx::Settings::Hardware_support::Managers::HardwareSupportManagerInfo; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Esx::Settings::Hardware_support::Managers::HardwareSupportManagerInfo structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{manager} = $args{'manager'}; + $self->{description} = $args{'description'}; + $self->{display_name} = $args{'display_name'}; + $self->{vendor} = $args{'vendor'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Esx::Settings::Hardware_support::Managers::HardwareSupportManagerInfo'); + $self->set_binding_name('name' => 'com.vmware.esx.settings.hardware_support.managers.hardware_support_manager_info'); + $self->set_binding_field('key' => 'manager', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'description', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'display_name', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'vendor', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + bless $self, $class; + return $self; +} + +## @method get_manager () +# Gets the value of 'manager' property. +# +# @retval manager - The current value of the field. +# Name of the Hardware Support Manager (HSM) (e.g. "Frobozz Hardware Support +# Manager") +# +# ID# +sub get_manager { + my ($self, %args) = @_; + return $self->{'manager'}; +} + +## @method set_manager () +# Sets the given value for 'manager' property. +# +# @param manager - New value for the field. +# Name of the Hardware Support Manager (HSM) (e.g. "Frobozz Hardware Support +# Manager") +# +sub set_manager { + my ($self, %args) = @_; + $self->{'manager'} = $args{'manager'}; + return; +} + +## @method get_description () +# Gets the value of 'description' property. +# +# @retval description - The current value of the field. +# User-intelligible description of the HSM (e.g. "Front end for Frobozz so-and-so +# management system") +# +# String# +sub get_description { + my ($self, %args) = @_; + return $self->{'description'}; +} + +## @method set_description () +# Sets the given value for 'description' property. +# +# @param description - New value for the field. +# User-intelligible description of the HSM (e.g. "Front end for Frobozz so-and-so +# management system") +# +sub set_description { + my ($self, %args) = @_; + $self->{'description'} = $args{'description'}; + return; +} + +## @method get_display_name () +# Gets the value of 'display_name' property. +# +# @retval display_name - The current value of the field. +# UI label for HSM, derived from HSM extension's description's +# 'label' field. (e.g. "Frobozz Free Management System") +# +# String# +sub get_display_name { + my ($self, %args) = @_; + return $self->{'display_name'}; +} + +## @method set_display_name () +# Sets the given value for 'display_name' property. +# +# @param display_name - New value for the field. +# UI label for HSM, derived from HSM extension's description's +# 'label' field. (e.g. "Frobozz Free Management System") +# +sub set_display_name { + my ($self, %args) = @_; + $self->{'display_name'} = $args{'display_name'}; + return; +} + +## @method get_vendor () +# Gets the value of 'vendor' property. +# +# @retval vendor - The current value of the field. +# Company providing the Hardware Support Manager (HSM) (e.g. "Frobozz Magic +# Software Company") +# +# String# +sub get_vendor { + my ($self, %args) = @_; + return $self->{'vendor'}; +} + +## @method set_vendor () +# Sets the given value for 'vendor' property. +# +# @param vendor - New value for the field. +# Company providing the Hardware Support Manager (HSM) (e.g. "Frobozz Magic +# Software Company") +# +sub set_vendor { + my ($self, %args) = @_; + $self->{'vendor'} = $args{'vendor'}; + return; +} + + +1; + + + +######################################################################################### +# Ends structures for the Com::Vmware::Esx::Settings::Hardware_support::Managers service +######################################################################################### diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/Managers/Packages.pm b/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/Managers/Packages.pm new file mode 100644 index 00000000..72d40add --- /dev/null +++ b/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/Managers/Packages.pm @@ -0,0 +1,391 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file Packages.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +## @class Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages +# The ``Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages`` +# *interface* provides *methods* to manage a host's Hardware Support Package +# (HSP) configuration. +# + +package Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages; + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Esx::Settings::Hardware_support::Managers::PackagesStub; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiInterface); + +# +# Identifier of the service +# +use constant _VAPI_SERVICE_ID => 'com.vmware.esx.settings.hardware_support.managers.packages'; + + +## @method new () +# Constructor to initialize the object +# +# @param api_provider - protocol connection to use with +# stubs created by this factory +# @param StubConfig - Stub's additional configuration +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $stub_config = $args {stub_config}; + my $api_provider = $args {api_provider}; + + my $self = $class->SUPER::new('stub_config' => $stub_config, + 'api_provider' => $api_provider); + bless $self, $class; + return $self; +} + +## @method list () +# Returns the list of available Hardware Support Packages (HSPs) for a particular host, as +# specified by its Hardware Support Manager (HSM) +# +# Note: +# Privileges required for this operation are VcIntegrity.lifecycleSettings.Read. +# +# @param manager [REQUIRED] Identifier for the Hardware Support Manager (HSM). +# The value must be an identifier for the resource type +# getQualifiedName(com.vmware.esx.setting.hardware_support.manager). +# . The value must be str. +# +# @param filter [OPTIONAL] Specification of Hardware Support Packages (HSPs) to be returned +# If *null* , the behavior is equivalent to a class +# Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::FilterSpec with all +# *fields* *null* , which means all HSPs match the filter. +# . The value must be +# Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::FilterSpec or None. +# +# @retval +# List of available Hardware Support Packages (HSPs) for given manager +# The return type will be Array of +# Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::HardwareSupportPackageInfo +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# If there is some unknown internal error. The accompanying error message will give more +# details about the failure. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# If there is no Hardware Support Manager (HSM) with the specified name +# +# @throw Com::Vmware::Vapi::Std::Errors::ServiceUnavailable +# If the service is not available. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. named ``manager`` in the system. +# @throw Com::Vmware::Vapi::Std::Errors::Unauthorized +# if you do not have all of the privileges described as follows: +# +sub list { + my ($self, %args) = @_; + my $manager = $args {manager}; + my $filter = $args {filter}; + + $self->validate_args (method_name => 'list', + method_args => \%args); + + return $self->invoke (method_name => 'list', + method_args => \%args); +} + +1; + +######################################################################################### +# Begins enumerations for the Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages service +######################################################################################### + + + +######################################################################################### +# Ends enumerations for the Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages service +######################################################################################### + +######################################################################################### +# Begins structures for the Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages service +######################################################################################### + +## @class Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::HardwareSupportPackageInfo +# +# +# The +# ``Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::HardwareSupportPackageInfo`` +# *class* contains *fields* that describe a particular 3rd party Hardware Support +# Package (HSP) + +package Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::HardwareSupportPackageInfo; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::HardwareSupportPackageInfo structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{pkg} = $args{'pkg'}; + $self->{version} = $args{'version'}; + $self->{description} = $args{'description'}; + $self->{supported_releases} = $args{'supported_releases'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::HardwareSupportPackageInfo'); + $self->set_binding_name('name' => 'com.vmware.esx.settings.hardware_support.managers.packages.hardware_support_package_info'); + $self->set_binding_field('key' => 'pkg', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'version', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'description', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'supported_releases', 'value' => new Com::Vmware::Vapi::Bindings::Type::SetType('binding_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); + bless $self, $class; + return $self; +} + +## @method get_pkg () +# Gets the value of 'pkg' property. +# +# @retval pkg - The current value of the field. +# Name of the Hardware Support Package (e.g. "Jan. 2018 Release" or +# "Latest Hardware Support Package for Frobozz GenX hardware") selected +# +# ID# +sub get_pkg { + my ($self, %args) = @_; + return $self->{'pkg'}; +} + +## @method set_pkg () +# Sets the given value for 'pkg' property. +# +# @param pkg - New value for the field. +# Name of the Hardware Support Package (e.g. "Jan. 2018 Release" or +# "Latest Hardware Support Package for Frobozz GenX hardware") selected +# +sub set_pkg { + my ($self, %args) = @_; + $self->{'pkg'} = $args{'pkg'}; + return; +} + +## @method get_version () +# Gets the value of 'version' property. +# +# @retval version - The current value of the field. +# Version of the Hardware Support Package (e.g. "20180128.1" or +# "v42") selected +# +# String# +sub get_version { + my ($self, %args) = @_; + return $self->{'version'}; +} + +## @method set_version () +# Sets the given value for 'version' property. +# +# @param version - New value for the field. +# Version of the Hardware Support Package (e.g. "20180128.1" or +# "v42") selected +# +sub set_version { + my ($self, %args) = @_; + $self->{'version'} = $args{'version'}; + return; +} + +## @method get_description () +# Gets the value of 'description' property. +# +# @retval description - The current value of the field. +# Description of the Hardware Support Package (HSP) (e.g. for use in help bubble) +# +# String# +sub get_description { + my ($self, %args) = @_; + return $self->{'description'}; +} + +## @method set_description () +# Sets the given value for 'description' property. +# +# @param description - New value for the field. +# Description of the Hardware Support Package (HSP) (e.g. for use in help bubble) +# +sub set_description { + my ($self, %args) = @_; + $self->{'description'} = $args{'description'}; + return; +} + +## @method get_supported_releases () +# Gets the value of 'supported_releases' property. +# +# @retval supported_releases - The current value of the field. +# Supported vSphere releases +# +# Set# +sub get_supported_releases { + my ($self, %args) = @_; + return $self->{'supported_releases'}; +} + +## @method set_supported_releases () +# Sets the given value for 'supported_releases' property. +# +# @param supported_releases - New value for the field. +# Supported vSphere releases +# +sub set_supported_releases { + my ($self, %args) = @_; + $self->{'supported_releases'} = $args{'supported_releases'}; + return; +} + + +1; + + +## @class Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::FilterSpec +# +# +# The ``Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::FilterSpec`` +# *class* contains *fields* used to filter the results when listing OEM Hardware +# Support Packages (HSPs), see +# :func:`Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages.list` ). + +package Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::FilterSpec; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::FilterSpec structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{base_image_version} = $args{'base_image_version'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::FilterSpec'); + $self->set_binding_name('name' => 'com.vmware.esx.settings.hardware_support.managers.packages.filter_spec'); + $self->set_binding_field('key' => 'base_image_version', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + bless $self, $class; + return $self; +} + +## @method get_base_image_version () +# Gets the value of 'base_image_version' property. +# +# @retval base_image_version - The current value of the field. +# vSphere release version the Hardware Support Package (HSP) must support to match the +# filter. Only Hardware Support Packages (HSPs) compatible with the vSphere release +# version specified in 'baseImageVersion' will be returned. The +# 'baseImageVersion' parameter should be a full numeric base image version +# string (e.g. "7.1.0-2.3.436234"). Future implementations may support version +# specification by prefix (e.g. "7.1" to specify all updates and builds of +# 7.1) or other forms of specification (e.g. ">=7.0"). Hardware Support +# Pacakges (HSPs) may be advertised as supporting truncated version strings to indicate +# the remainder is wildcarded. Matching is on the specified substring only, so a bundle +# supporting "7.1.0-2" would match a 'release' parameter of +# "7.1.0-2.3.436234" as well as "7.1.0-2.1.4133564" and +# "7.1.0-1.0.355667" but not "7.1.0-3.0.63445" or any base image +# version starting with "7.2". Note that we require compatible base image +# versions be specified at least down to the update version (i.e. "7.0" is +# insufficiently constrained) +# +# Optional# +sub get_base_image_version { + my ($self, %args) = @_; + return $self->{'base_image_version'}; +} + +## @method set_base_image_version () +# Sets the given value for 'base_image_version' property. +# +# @param base_image_version - New value for the field. +# vSphere release version the Hardware Support Package (HSP) must support to match the +# filter. Only Hardware Support Packages (HSPs) compatible with the vSphere release +# version specified in 'baseImageVersion' will be returned. The +# 'baseImageVersion' parameter should be a full numeric base image version +# string (e.g. "7.1.0-2.3.436234"). Future implementations may support version +# specification by prefix (e.g. "7.1" to specify all updates and builds of +# 7.1) or other forms of specification (e.g. ">=7.0"). Hardware Support +# Pacakges (HSPs) may be advertised as supporting truncated version strings to indicate +# the remainder is wildcarded. Matching is on the specified substring only, so a bundle +# supporting "7.1.0-2" would match a 'release' parameter of +# "7.1.0-2.3.436234" as well as "7.1.0-2.1.4133564" and +# "7.1.0-1.0.355667" but not "7.1.0-3.0.63445" or any base image +# version starting with "7.2". Note that we require compatible base image +# versions be specified at least down to the update version (i.e. "7.0" is +# insufficiently constrained) +# +sub set_base_image_version { + my ($self, %args) = @_; + $self->{'base_image_version'} = $args{'base_image_version'}; + return; +} + + +1; + + + +######################################################################################### +# Ends structures for the Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages service +######################################################################################### diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/Managers/Packages/Versions.pm b/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/Managers/Packages/Versions.pm new file mode 100644 index 00000000..ea2c7178 --- /dev/null +++ b/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/Managers/Packages/Versions.pm @@ -0,0 +1,708 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file Versions.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +## @class Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions +# The ``Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions`` +# *interface* provides *methods* to inspect a Hardware Support Package (HSP)'s +# detailed information. +# + +package Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions; + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::VersionsStub; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiInterface); + +# +# Identifier of the service +# +use constant _VAPI_SERVICE_ID => 'com.vmware.esx.settings.hardware_support.managers.packages.versions'; + + +## @method new () +# Constructor to initialize the object +# +# @param api_provider - protocol connection to use with +# stubs created by this factory +# @param StubConfig - Stub's additional configuration +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $stub_config = $args {stub_config}; + my $api_provider = $args {api_provider}; + + my $self = $class->SUPER::new('stub_config' => $stub_config, + 'api_provider' => $api_provider); + bless $self, $class; + return $self; +} + +## @method get () +# Returns the detailed information for a specific version of an available Hardware Support +# Packages (HSPs) as specified by the Hardware Support Manager (HSM) +# +# Note: +# Privileges required for this operation are VcIntegrity.lifecycleSettings.Read. +# +# @param manager [REQUIRED] Identifier for the Hardware Support Manager (HSM). +# The value must be an identifier for the resource type +# getQualifiedName(com.vmware.esx.setting.hardware_support.manager). +# . The value must be str. +# +# @param pkg [REQUIRED] The name of the Hardware Support Package (HSP) +# The value must be an identifier for the resource type +# getQualifiedName(com.vmware.esx.setting.hardware_support.package). +# . The value must be str. +# +# @param version [REQUIRED] The version of the Hardware Support Package (HSP) +# . The value must be String. +# +# @param filter [OPTIONAL] Specification of detailed information to be returned +# If *null* , the behavior is equivalent to a class +# Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::FilterSpec +# with all *fields* *null* , which means all releases supported are returned but no +# component information for any particular release is included. +# . The value must be +# Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::FilterSpec or +# None. +# +# @retval +# detailed information on Hardware Support Packages (HSPs) +# The return type will be +# Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::PackageInfo +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# If there is some unknown internal error. The accompanying error message will give more +# details about the failure. +# +# @throw Com::Vmware::Vapi::Std::Errors::InvalidArgument +# If any of the specified parameters are Invalid (e.g. if the release version specified +# in the query parameter is not, in fact, among those supported by the Hardware Support +# Package (HSP). +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# If there is no Hardware Support Manager (HSM) with the specified name, or no Hardware +# Support Package (HSP) with the specified name and version. +# +# @throw Com::Vmware::Vapi::Std::Errors::ServiceUnavailable +# If the service is not available. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. named ``manager`` in the system. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthorized +# if the user does not have the required privilege to perform the operation. +# @throw Com::Vmware::Vapi::Std::Errors::Unauthorized +# if you do not have all of the privileges described as follows: +# +sub get { + my ($self, %args) = @_; + my $manager = $args {manager}; + my $pkg = $args {pkg}; + my $version = $args {version}; + my $filter = $args {filter}; + + $self->validate_args (method_name => 'get', + method_args => \%args); + + return $self->invoke (method_name => 'get', + method_args => \%args); +} + +1; + +######################################################################################### +# Begins enumerations for the Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions service +######################################################################################### + + + +######################################################################################### +# Ends enumerations for the Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions service +######################################################################################### + +######################################################################################### +# Begins structures for the Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions service +######################################################################################### + +## @class Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::RemovedComponentInfo +# +# +# The +# ``Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::RemovedComponentInfo`` +# *class* defines the information regarding a component removed by the HSP manifest. + +package Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::RemovedComponentInfo; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::RemovedComponentInfo structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{name} = $args{'name'}; + $self->{display_name} = $args{'display_name'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::RemovedComponentInfo'); + $self->set_binding_name('name' => 'com.vmware.esx.settings.hardware_support.managers.packages.versions.removed_component_info'); + $self->set_binding_field('key' => 'name', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'display_name', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + bless $self, $class; + return $self; +} + +## @method get_name () +# Gets the value of 'name' property. +# +# @retval name - The current value of the field. +# Identifier of the component. +# +# ID# +sub get_name { + my ($self, %args) = @_; + return $self->{'name'}; +} + +## @method set_name () +# Sets the given value for 'name' property. +# +# @param name - New value for the field. +# Identifier of the component. +# +sub set_name { + my ($self, %args) = @_; + $self->{'name'} = $args{'name'}; + return; +} + +## @method get_display_name () +# Gets the value of 'display_name' property. +# +# @retval display_name - The current value of the field. +# Display name of the component. +# +# String# +sub get_display_name { + my ($self, %args) = @_; + return $self->{'display_name'}; +} + +## @method set_display_name () +# Sets the given value for 'display_name' property. +# +# @param display_name - New value for the field. +# Display name of the component. +# +sub set_display_name { + my ($self, %args) = @_; + $self->{'display_name'} = $args{'display_name'}; + return; +} + + +1; + + +## @class Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::ComponentInfo +# +# +# The +# ``Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::ComponentInfo`` +# *class* defines the information regarding a component present in HSP manifest. + +package Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::ComponentInfo; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::ComponentInfo structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{name} = $args{'name'}; + $self->{display_name} = $args{'display_name'}; + $self->{version} = $args{'version'}; + $self->{display_version} = $args{'display_version'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::ComponentInfo'); + $self->set_binding_name('name' => 'com.vmware.esx.settings.hardware_support.managers.packages.versions.component_info'); + $self->set_binding_field('key' => 'name', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'display_name', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'version', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'display_version', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + bless $self, $class; + return $self; +} + +## @method get_name () +# Gets the value of 'name' property. +# +# @retval name - The current value of the field. +# Identifier of the component. +# +# ID# +sub get_name { + my ($self, %args) = @_; + return $self->{'name'}; +} + +## @method set_name () +# Sets the given value for 'name' property. +# +# @param name - New value for the field. +# Identifier of the component. +# +sub set_name { + my ($self, %args) = @_; + $self->{'name'} = $args{'name'}; + return; +} + +## @method get_display_name () +# Gets the value of 'display_name' property. +# +# @retval display_name - The current value of the field. +# Display name of the component. +# +# String# +sub get_display_name { + my ($self, %args) = @_; + return $self->{'display_name'}; +} + +## @method set_display_name () +# Sets the given value for 'display_name' property. +# +# @param display_name - New value for the field. +# Display name of the component. +# +sub set_display_name { + my ($self, %args) = @_; + $self->{'display_name'} = $args{'display_name'}; + return; +} + +## @method get_version () +# Gets the value of 'version' property. +# +# @retval version - The current value of the field. +# Version of the component. +# +# String# +sub get_version { + my ($self, %args) = @_; + return $self->{'version'}; +} + +## @method set_version () +# Sets the given value for 'version' property. +# +# @param version - New value for the field. +# Version of the component. +# +sub set_version { + my ($self, %args) = @_; + $self->{'version'} = $args{'version'}; + return; +} + +## @method get_display_version () +# Gets the value of 'display_version' property. +# +# @retval display_version - The current value of the field. +# Human readable version of the HSP manifest. +# +# String# +sub get_display_version { + my ($self, %args) = @_; + return $self->{'display_version'}; +} + +## @method set_display_version () +# Sets the given value for 'display_version' property. +# +# @param display_version - New value for the field. +# Human readable version of the HSP manifest. +# +sub set_display_version { + my ($self, %args) = @_; + $self->{'display_version'} = $args{'display_version'}; + return; +} + + +1; + + +## @class Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::PackageInfo +# +# +# The +# ``Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::PackageInfo`` +# *class* contains *fields* that describe a particular 3rd party Hardware Support +# Package (HSP) + +package Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::PackageInfo; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::PackageInfo structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{pkg} = $args{'pkg'}; + $self->{version} = $args{'version'}; + $self->{description} = $args{'description'}; + $self->{supported_releases} = $args{'supported_releases'}; + $self->{components} = $args{'components'}; + $self->{removed_components} = $args{'removed_components'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::PackageInfo'); + $self->set_binding_name('name' => 'com.vmware.esx.settings.hardware_support.managers.packages.versions.package_info'); + $self->set_binding_field('key' => 'pkg', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'version', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'description', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'supported_releases', 'value' => new Com::Vmware::Vapi::Bindings::Type::SetType('binding_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); + $self->set_binding_field('key' => 'components', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages', 'type_name' => 'Versions::ComponentInfo'))); + $self->set_binding_field('key' => 'removed_components', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages', 'type_name' => 'Versions::RemovedComponentInfo'))); + bless $self, $class; + return $self; +} + +## @method get_pkg () +# Gets the value of 'pkg' property. +# +# @retval pkg - The current value of the field. +# Name of the Hardware Support Package (e.g. "Jan. 2018 Release" or +# "Latest Hardware Support Package for Frobozz GenX hardware") selected +# +# ID# +sub get_pkg { + my ($self, %args) = @_; + return $self->{'pkg'}; +} + +## @method set_pkg () +# Sets the given value for 'pkg' property. +# +# @param pkg - New value for the field. +# Name of the Hardware Support Package (e.g. "Jan. 2018 Release" or +# "Latest Hardware Support Package for Frobozz GenX hardware") selected +# +sub set_pkg { + my ($self, %args) = @_; + $self->{'pkg'} = $args{'pkg'}; + return; +} + +## @method get_version () +# Gets the value of 'version' property. +# +# @retval version - The current value of the field. +# Version of the Hardware Support Package (e.g. "20180128.1" or +# "v42") selected +# +# String# +sub get_version { + my ($self, %args) = @_; + return $self->{'version'}; +} + +## @method set_version () +# Sets the given value for 'version' property. +# +# @param version - New value for the field. +# Version of the Hardware Support Package (e.g. "20180128.1" or +# "v42") selected +# +sub set_version { + my ($self, %args) = @_; + $self->{'version'} = $args{'version'}; + return; +} + +## @method get_description () +# Gets the value of 'description' property. +# +# @retval description - The current value of the field. +# Description of the Hardware Support Package (HSP) (e.g. for use in help bubble) +# +# String# +sub get_description { + my ($self, %args) = @_; + return $self->{'description'}; +} + +## @method set_description () +# Sets the given value for 'description' property. +# +# @param description - New value for the field. +# Description of the Hardware Support Package (HSP) (e.g. for use in help bubble) +# +sub set_description { + my ($self, %args) = @_; + $self->{'description'} = $args{'description'}; + return; +} + +## @method get_supported_releases () +# Gets the value of 'supported_releases' property. +# +# @retval supported_releases - The current value of the field. +# Supported vSphere releases +# +# Set# +sub get_supported_releases { + my ($self, %args) = @_; + return $self->{'supported_releases'}; +} + +## @method set_supported_releases () +# Sets the given value for 'supported_releases' property. +# +# @param supported_releases - New value for the field. +# Supported vSphere releases +# +sub set_supported_releases { + my ($self, %args) = @_; + $self->{'supported_releases'} = $args{'supported_releases'}; + return; +} + +## @method get_components () +# Gets the value of 'components' property. +# +# @retval components - The current value of the field. +# List of components in this HSP manifest. +# +# List# +sub get_components { + my ($self, %args) = @_; + return $self->{'components'}; +} + +## @method set_components () +# Sets the given value for 'components' property. +# +# @param components - New value for the field. +# List of components in this HSP manifest. +# +sub set_components { + my ($self, %args) = @_; + $self->{'components'} = $args{'components'}; + return; +} + +## @method get_removed_components () +# Gets the value of 'removed_components' property. +# +# @retval removed_components - The current value of the field. +# List of components removed by this HSP manifest. +# +# List# +sub get_removed_components { + my ($self, %args) = @_; + return $self->{'removed_components'}; +} + +## @method set_removed_components () +# Sets the given value for 'removed_components' property. +# +# @param removed_components - New value for the field. +# List of components removed by this HSP manifest. +# +sub set_removed_components { + my ($self, %args) = @_; + $self->{'removed_components'} = $args{'removed_components'}; + return; +} + + +1; + + +## @class Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::FilterSpec +# +# +# The +# ``Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::FilterSpec`` +# *class* contains *fields* used to filter the results when retrieving Hardware +# Support Packages (HSPs) information. + +package Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::FilterSpec; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::FilterSpec structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{base_image_version} = $args{'base_image_version'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions::FilterSpec'); + $self->set_binding_name('name' => 'com.vmware.esx.settings.hardware_support.managers.packages.versions.filter_spec'); + $self->set_binding_field('key' => 'base_image_version', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + bless $self, $class; + return $self; +} + +## @method get_base_image_version () +# Gets the value of 'base_image_version' property. +# +# @retval base_image_version - The current value of the field. +# vSphere release version for the component information in the Hardware Support Package +# (HSP). Only Hardware Support Packages (HSPs) compatible with the vSphere release +# version specified in 'baseImageVersion' will be returned. The +# 'baseImageVersion' parameter should be a full numeric base image version +# string (e.g. "7.1.0-2.3.436234"). Future implementations may support version +# specification by prefix (e.g. "7.1" to specify all updates and builds of +# 7.1) or other forms of specification (e.g. ">=7.0"). Hardware Support +# Pacakges (HSPs) may be advertised as supporting truncated version strings to indicate +# the remainder is wildcarded. Matching is on the specified substring only, so a bundle +# supporting "7.1.0-2" would match a 'release' parameter of +# "7.1.0-2.3.436234" as well as "7.1.0-2.1.4133564" and +# "7.1.0-2.0.355667" but not "7.1.0-3.0.63445" or any base image +# version starting with "7.2". Note that we require compatible base image +# versions be specified at least down to the update version (i.e. "7.0" is +# insufficiently constrained) +# +# Optional# +sub get_base_image_version { + my ($self, %args) = @_; + return $self->{'base_image_version'}; +} + +## @method set_base_image_version () +# Sets the given value for 'base_image_version' property. +# +# @param base_image_version - New value for the field. +# vSphere release version for the component information in the Hardware Support Package +# (HSP). Only Hardware Support Packages (HSPs) compatible with the vSphere release +# version specified in 'baseImageVersion' will be returned. The +# 'baseImageVersion' parameter should be a full numeric base image version +# string (e.g. "7.1.0-2.3.436234"). Future implementations may support version +# specification by prefix (e.g. "7.1" to specify all updates and builds of +# 7.1) or other forms of specification (e.g. ">=7.0"). Hardware Support +# Pacakges (HSPs) may be advertised as supporting truncated version strings to indicate +# the remainder is wildcarded. Matching is on the specified substring only, so a bundle +# supporting "7.1.0-2" would match a 'release' parameter of +# "7.1.0-2.3.436234" as well as "7.1.0-2.1.4133564" and +# "7.1.0-2.0.355667" but not "7.1.0-3.0.63445" or any base image +# version starting with "7.2". Note that we require compatible base image +# versions be specified at least down to the update version (i.e. "7.0" is +# insufficiently constrained) +# +sub set_base_image_version { + my ($self, %args) = @_; + $self->{'base_image_version'} = $args{'base_image_version'}; + return; +} + + +1; + + + +######################################################################################### +# Ends structures for the Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions service +######################################################################################### diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/Managers/Packages/VersionsStub.pm b/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/Managers/Packages/VersionsStub.pm new file mode 100644 index 00000000..db3694be --- /dev/null +++ b/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/Managers/Packages/VersionsStub.pm @@ -0,0 +1,117 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file VersionsStub.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +package Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::VersionsStub; + +## @class Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages::Versions +# +#The {@name Versions} {@term service} provides {@term operations} +#to inspect a Hardware Support Package (HSP)'s detailed information. +# + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::BlobType; +use Com::Vmware::Vapi::Bindings::Type::BooleanType; +use Com::Vmware::Vapi::Bindings::Type::DateTimeType; +use Com::Vmware::Vapi::Bindings::Type::DoubleType; +use Com::Vmware::Vapi::Bindings::Type::EnumType; +use Com::Vmware::Vapi::Bindings::Type::ErrorType; +use Com::Vmware::Vapi::Bindings::Type::ListType; +use Com::Vmware::Vapi::Bindings::Type::LongType; +use Com::Vmware::Vapi::Bindings::Type::MapType; +use Com::Vmware::Vapi::Bindings::Type::OpaqueType; +use Com::Vmware::Vapi::Bindings::Type::OptionalType; +use Com::Vmware::Vapi::Bindings::Type::ReferenceType; +use Com::Vmware::Vapi::Bindings::Type::SecretType; +use Com::Vmware::Vapi::Bindings::Type::SetType; +use Com::Vmware::Vapi::Bindings::Type::StringType; +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vapi::Bindings::Type::DynamicStructType; +use Com::Vmware::Vapi::Bindings::Type::URIType; +use Com::Vmware::Vapi::Bindings::Type::VoidType; +use Com::Vmware::Vapi::Data::UnionValidator; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::ApiInterfaceStub); + +## @method new +# Constructor to initialize the object +# +# @param ApiProvider - ApiProvider for vAPI stubs +# +# @return +# Blessed object +# +sub new +{ + my ($class, %args) = @_; + my $api_provider = $args {api_provider}; + $class = ref($class) || $class; + # + # properties for get operation + # + my $get_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'manager' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'pkg' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'version' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'filter' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages', 'type_name' => 'Versions::FilterSpec')), + } + ); + my $get_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.service_unavailable' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ServiceUnavailable'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + 'com.vmware.vapi.std.errors.unauthorized' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthorized'), + + }; + + my $get_input_validator_list = [ + ]; + my $get_output_validator_list = []; + + # + # All the methods (operations) info in a hash + # + my $operations = { + 'get' => { + 'input_type'=> $get_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages', 'type_name' => 'Versions::PackageInfo'), + 'errors'=> $get_error_dict, + 'input_validator_list'=> $get_input_validator_list, + 'output_validator_list'=> $get_output_validator_list, + }, + }; + + my $self = $class->SUPER::new ('api_provider' => $api_provider, + 'iface_name' => 'com.vmware.esx.settings.hardware_support.managers.packages.versions', + 'operations' => $operations + ); + bless $self, $class; + return $self; +} + +1; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/Managers/PackagesStub.pm b/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/Managers/PackagesStub.pm new file mode 100644 index 00000000..d89633c0 --- /dev/null +++ b/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/Managers/PackagesStub.pm @@ -0,0 +1,113 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file PackagesStub.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +package Com::Vmware::Esx::Settings::Hardware_support::Managers::PackagesStub; + +## @class Com::Vmware::Esx::Settings::Hardware_support::Managers::Packages +# +#The {@name Packages} {@term service} provides {@term operations} +#to manage a host's Hardware Support Package (HSP) configuration. +# + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::BlobType; +use Com::Vmware::Vapi::Bindings::Type::BooleanType; +use Com::Vmware::Vapi::Bindings::Type::DateTimeType; +use Com::Vmware::Vapi::Bindings::Type::DoubleType; +use Com::Vmware::Vapi::Bindings::Type::EnumType; +use Com::Vmware::Vapi::Bindings::Type::ErrorType; +use Com::Vmware::Vapi::Bindings::Type::ListType; +use Com::Vmware::Vapi::Bindings::Type::LongType; +use Com::Vmware::Vapi::Bindings::Type::MapType; +use Com::Vmware::Vapi::Bindings::Type::OpaqueType; +use Com::Vmware::Vapi::Bindings::Type::OptionalType; +use Com::Vmware::Vapi::Bindings::Type::ReferenceType; +use Com::Vmware::Vapi::Bindings::Type::SecretType; +use Com::Vmware::Vapi::Bindings::Type::SetType; +use Com::Vmware::Vapi::Bindings::Type::StringType; +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vapi::Bindings::Type::DynamicStructType; +use Com::Vmware::Vapi::Bindings::Type::URIType; +use Com::Vmware::Vapi::Bindings::Type::VoidType; +use Com::Vmware::Vapi::Data::UnionValidator; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::ApiInterfaceStub); + +## @method new +# Constructor to initialize the object +# +# @param ApiProvider - ApiProvider for vAPI stubs +# +# @return +# Blessed object +# +sub new +{ + my ($class, %args) = @_; + my $api_provider = $args {api_provider}; + $class = ref($class) || $class; + # + # properties for list operation + # + my $list_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'manager' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'filter' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings::Hardware_support::Managers', 'type_name' => 'Packages::FilterSpec')), + } + ); + my $list_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.service_unavailable' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ServiceUnavailable'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $list_input_validator_list = [ + ]; + my $list_output_validator_list = []; + + # + # All the methods (operations) info in a hash + # + my $operations = { + 'list' => { + 'input_type'=> $list_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings::Hardware_support::Managers', 'type_name' => 'Packages::HardwareSupportPackageInfo')), + 'errors'=> $list_error_dict, + 'input_validator_list'=> $list_input_validator_list, + 'output_validator_list'=> $list_output_validator_list, + }, + }; + + my $self = $class->SUPER::new ('api_provider' => $api_provider, + 'iface_name' => 'com.vmware.esx.settings.hardware_support.managers.packages', + 'operations' => $operations + ); + bless $self, $class; + return $self; +} + +1; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/ManagersStub.pm b/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/ManagersStub.pm new file mode 100644 index 00000000..0e4c32f9 --- /dev/null +++ b/lib/sdk/Com/Vmware/Esx/Settings/Hardware_support/ManagersStub.pm @@ -0,0 +1,109 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file ManagersStub.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +package Com::Vmware::Esx::Settings::Hardware_support::ManagersStub; + +## @class Com::Vmware::Esx::Settings::Hardware_support::Managers +# +#The {@name Managers} {@term service} provides {@term operations} +#to list Hardware Support Manager (HSM) for a given vCenter. +# + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::BlobType; +use Com::Vmware::Vapi::Bindings::Type::BooleanType; +use Com::Vmware::Vapi::Bindings::Type::DateTimeType; +use Com::Vmware::Vapi::Bindings::Type::DoubleType; +use Com::Vmware::Vapi::Bindings::Type::EnumType; +use Com::Vmware::Vapi::Bindings::Type::ErrorType; +use Com::Vmware::Vapi::Bindings::Type::ListType; +use Com::Vmware::Vapi::Bindings::Type::LongType; +use Com::Vmware::Vapi::Bindings::Type::MapType; +use Com::Vmware::Vapi::Bindings::Type::OpaqueType; +use Com::Vmware::Vapi::Bindings::Type::OptionalType; +use Com::Vmware::Vapi::Bindings::Type::ReferenceType; +use Com::Vmware::Vapi::Bindings::Type::SecretType; +use Com::Vmware::Vapi::Bindings::Type::SetType; +use Com::Vmware::Vapi::Bindings::Type::StringType; +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vapi::Bindings::Type::DynamicStructType; +use Com::Vmware::Vapi::Bindings::Type::URIType; +use Com::Vmware::Vapi::Bindings::Type::VoidType; +use Com::Vmware::Vapi::Data::UnionValidator; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::ApiInterfaceStub); + +## @method new +# Constructor to initialize the object +# +# @param ApiProvider - ApiProvider for vAPI stubs +# +# @return +# Blessed object +# +sub new +{ + my ($class, %args) = @_; + my $api_provider = $args {api_provider}; + $class = ref($class) || $class; + # + # properties for list operation + # + my $list_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => {} + ); + my $list_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.service_unavailable' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ServiceUnavailable'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $list_input_validator_list = [ + ]; + my $list_output_validator_list = []; + + # + # All the methods (operations) info in a hash + # + my $operations = { + 'list' => { + 'input_type'=> $list_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings::Hardware_support', 'type_name' => 'Managers::HardwareSupportManagerInfo')), + 'errors'=> $list_error_dict, + 'input_validator_list'=> $list_input_validator_list, + 'output_validator_list'=> $list_output_validator_list, + }, + }; + + my $self = $class->SUPER::new ('api_provider' => $api_provider, + 'iface_name' => 'com.vmware.esx.settings.hardware_support.managers', + 'operations' => $operations + ); + bless $self, $class; + return $self; +} + +1; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/HostCompliance.pm b/lib/sdk/Com/Vmware/Esx/Settings/HostCompliance.pm index a4713011..a0d86d7e 100644 --- a/lib/sdk/Com/Vmware/Esx/Settings/HostCompliance.pm +++ b/lib/sdk/Com/Vmware/Esx/Settings/HostCompliance.pm @@ -234,7 +234,7 @@ sub set_add_on { # individual hardware module firmware) for every HSP configured, keyed by Hardware # Support Manager (HSM). # -# optional# +# Optional# sub get_hardware_support { my ($self, %args) = @_; return $self->{'hardware_support'}; diff --git a/lib/sdk/Com/Vmware/Esx/Settings/TaskInfo.pm b/lib/sdk/Com/Vmware/Esx/Settings/TaskInfo.pm index 31df9302..99a5f2b8 100644 --- a/lib/sdk/Com/Vmware/Esx/Settings/TaskInfo.pm +++ b/lib/sdk/Com/Vmware/Esx/Settings/TaskInfo.pm @@ -45,6 +45,7 @@ sub new { $self->{subtasks} = $args{'subtasks'}; $self->{notifications} = $args{'notifications'}; $self->{result} = $args{'result'}; + $self->{last_update_time} = $args{'last_update_time'}; $self->{description} = $args{'description'}; $self->{service} = $args{'service'}; $self->{operation} = $args{'operation'}; @@ -63,6 +64,7 @@ sub new { $self->set_binding_field('key' => 'subtasks', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::MapType('binding_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StructType('name' => 'map-entry', 'fields' => {'key' => new Com::Vmware::Vapi::Bindings::Type::StringType(), 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings', 'type_name' => 'TaskInfo')}))))); $self->set_binding_field('key' => 'notifications', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Esx::Settings', 'type_name' => 'Notifications'))); $self->set_binding_field('key' => 'result', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::OpaqueType())); + $self->set_binding_field('key' => 'last_update_time', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::DateTimeType())); $self->set_binding_field('key' => 'description', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std', 'type_name' => 'LocalizableMessage')); $self->set_binding_field('key' => 'service', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); $self->set_binding_field('key' => 'operation', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); @@ -174,6 +176,30 @@ sub set_result { return; } +## @method get_last_update_time () +# Gets the value of 'last_update_time' property. +# +# @retval last_update_time - The current value of the field. +# Time when the task was last updated. This *field* was added in vSphere API 7.0.1.0. +# +# optional# +sub get_last_update_time { + my ($self, %args) = @_; + return $self->{'last_update_time'}; +} + +## @method set_last_update_time () +# Sets the given value for 'last_update_time' property. +# +# @param last_update_time - New value for the field. +# Time when the task was last updated. This *field* was added in vSphere API 7.0.1.0. +# +sub set_last_update_time { + my ($self, %args) = @_; + $self->{'last_update_time'} = $args{'last_update_time'}; + return; +} + ## @method get_description () # Gets the value of 'description' property. # diff --git a/lib/sdk/Com/Vmware/Vapi/Std/Errors/Unauthenticated.pm b/lib/sdk/Com/Vmware/Vapi/Std/Errors/Unauthenticated.pm index 163321f6..d39a5922 100644 --- a/lib/sdk/Com/Vmware/Vapi/Std/Errors/Unauthenticated.pm +++ b/lib/sdk/Com/Vmware/Vapi/Std/Errors/Unauthenticated.pm @@ -81,7 +81,7 @@ sub new { # realm="27da1358-2ba4-11e9-b210-d663bd873d93",sts="http://vcenter/sso?vsphere.local", # Basic realm="vCenter"

# -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_challenge { @@ -104,7 +104,7 @@ sub get_challenge { # realm="27da1358-2ba4-11e9-b210-d663bd873d93",sts="http://vcenter/sso?vsphere.local", # Basic realm="vCenter"

# -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_challenge { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vapi/Std/Errors/UnverifiedPeer.pm b/lib/sdk/Com/Vmware/Vapi/Std/Errors/UnverifiedPeer.pm index f608e9dd..4a5faebd 100644 --- a/lib/sdk/Com/Vmware/Vapi/Std/Errors/UnverifiedPeer.pm +++ b/lib/sdk/Com/Vmware/Vapi/Std/Errors/UnverifiedPeer.pm @@ -5,7 +5,7 @@ # attempt to connect to an unknown or not-yet-trusted endpoint failed because the system # was unable to verify the identity of the endpoint.

# -# Typically the { :attr:`Com::Vmware::Vapi::Std::Errors::Error.data` *field* of this +# Typically the :attr:`Com::Vmware::Vapi::Std::Errors::Error.data` *field* of this # error will contain information that can be presented to a human to allow them to # decide whether to trust the endpoint. If they decide to trust the endpoint, the # request can be resubmitted with an indication that the endpoint should be trusted. diff --git a/lib/sdk/Com/Vmware/Vapi/Std/LocalizableMessage.pm b/lib/sdk/Com/Vmware/Vapi/Std/LocalizableMessage.pm index 4edfc2f0..d03f11d1 100644 --- a/lib/sdk/Com/Vmware/Vapi/Std/LocalizableMessage.pm +++ b/lib/sdk/Com/Vmware/Vapi/Std/LocalizableMessage.pm @@ -146,7 +146,7 @@ sub set_args { # # @retval params - The current value of the field. # Named arguments to be substituted into the message template. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # # Optional# sub get_params { @@ -159,7 +159,7 @@ sub get_params { # # @param params - New value for the field. # Named arguments to be substituted into the message template. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # sub set_params { my ($self, %args) = @_; @@ -172,7 +172,7 @@ sub set_params { # # @retval localized - The current value of the field. # Localized string value as per request requirements. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_localized { @@ -185,7 +185,7 @@ sub get_localized { # # @param localized - New value for the field. # Localized string value as per request requirements. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_localized { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vapi/Std/LocalizationParam.pm b/lib/sdk/Com/Vmware/Vapi/Std/LocalizationParam.pm index 987469fa..1c767e53 100644 --- a/lib/sdk/Com/Vmware/Vapi/Std/LocalizationParam.pm +++ b/lib/sdk/Com/Vmware/Vapi/Std/LocalizationParam.pm @@ -5,7 +5,7 @@ # *class* has fields for *string* , *long* , *double* , date time and nested # messages. Only one will be used depending on the type of data sent. For *date* , # *double* and *long* it is possible to set additional formatting details. This -# *class* was added in vSphere API 7.0.0. +# *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vapi::Std::LocalizationParam; @@ -59,7 +59,7 @@ sub new { # # @retval s - The current value of the field. # *String* value associated with the parameter. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_s { @@ -72,7 +72,7 @@ sub get_s { # # @param s - New value for the field. # *String* value associated with the parameter. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_s { my ($self, %args) = @_; @@ -85,7 +85,7 @@ sub set_s { # # @retval dt - The current value of the field. # Date and time value associated with the parameter. Use the ``format`` *field* to -# specify date and time display style. This *field* was added in vSphere API 7.0.0. +# specify date and time display style. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_dt { @@ -98,7 +98,7 @@ sub get_dt { # # @param dt - New value for the field. # Date and time value associated with the parameter. Use the ``format`` *field* to -# specify date and time display style. This *field* was added in vSphere API 7.0.0. +# specify date and time display style. This *field* was added in vSphere API 7.0.0.0. # sub set_dt { my ($self, %args) = @_; @@ -111,7 +111,7 @@ sub set_dt { # # @retval i - The current value of the field. # *long* value associated with the parameter. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_i { @@ -124,7 +124,7 @@ sub get_i { # # @param i - New value for the field. # *long* value associated with the parameter. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_i { my ($self, %args) = @_; @@ -138,7 +138,7 @@ sub set_i { # @retval d - The current value of the field. # The *double* value associated with the parameter. The number of displayed fractional # digits is changed via ``precision`` *field* . This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # # Optional# sub get_d { @@ -152,7 +152,7 @@ sub get_d { # @param d - New value for the field. # The *double* value associated with the parameter. The number of displayed fractional # digits is changed via ``precision`` *field* . This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # sub set_d { my ($self, %args) = @_; @@ -169,7 +169,7 @@ sub set_d { # It can also be used for proper handling of pluralization and gender forms in # localization. Recursive ``Com::Vmware::Vapi::Std::NestedLocalizableMessage`` # instances can be used for localizing short lists of items. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_l { @@ -186,7 +186,7 @@ sub get_l { # It can also be used for proper handling of pluralization and gender forms in # localization. Recursive ``Com::Vmware::Vapi::Std::NestedLocalizableMessage`` # instances can be used for localizing short lists of items. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_l { my ($self, %args) = @_; @@ -200,7 +200,7 @@ sub set_l { # @retval format - The current value of the field. # Format associated with the date and time value in ``dt`` *field* . The # *enumeration value* ``SHORT_DATETIME`` will be used as default. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # # Optional# sub get_format { @@ -214,7 +214,7 @@ sub get_format { # @param format - New value for the field. # Format associated with the date and time value in ``dt`` *field* . The # *enumeration value* ``SHORT_DATETIME`` will be used as default. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # sub set_format { my ($self, %args) = @_; @@ -227,7 +227,7 @@ sub set_format { # # @retval precision - The current value of the field. # Number of fractional digits to include in formatted *double* value. This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # Optional# sub get_precision { @@ -240,7 +240,7 @@ sub get_precision { # # @param precision - New value for the field. # Number of fractional digits to include in formatted *double* value. This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # sub set_precision { my ($self, %args) = @_; @@ -258,57 +258,57 @@ sub set_precision { # lists possible date and time formatting options. It combines the Unicode CLDR format # types - full, long, medium and short with 3 different presentations - date only, time # only and combined date and time presentation. This *enumeration* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vapi::Std::LocalizationParam::DateTimeFormat::SHORT_DATE # #The date and time value will be formatted as short date, for example 2019-01-28. -# This *constant* was added in vSphere API 7.0.0. +# This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vapi::Std::LocalizationParam::DateTimeFormat::MED_DATE # #The date and time value will be formatted as medium date, for example 2019 Jan 28. -# This *constant* was added in vSphere API 7.0.0. +# This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vapi::Std::LocalizationParam::DateTimeFormat::LONG_DATE # #The date and time value will be formatted as long date, for example 2019 Jan 28. -# This *constant* was added in vSphere API 7.0.0. +# This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vapi::Std::LocalizationParam::DateTimeFormat::FULL_DATE # #The date and time value will be formatted as full date, for example 2019 Jan 28, -# Mon. This *constant* was added in vSphere API 7.0.0. +# Mon. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vapi::Std::LocalizationParam::DateTimeFormat::SHORT_TIME # #The date and time value will be formatted as short time, for example 12:59. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vapi::Std::LocalizationParam::DateTimeFormat::MED_TIME # #The date and time value will be formatted as medium time, for example 12:59:01. -# This *constant* was added in vSphere API 7.0.0. +# This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vapi::Std::LocalizationParam::DateTimeFormat::LONG_TIME # #The date and time value will be formatted as long time, for example 12:59:01 Z. -# This *constant* was added in vSphere API 7.0.0. +# This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vapi::Std::LocalizationParam::DateTimeFormat::FULL_TIME # #The date and time value will be formatted as full time, for example 12:59:01 Z. -# This *constant* was added in vSphere API 7.0.0. +# This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vapi::Std::LocalizationParam::DateTimeFormat::SHORT_DATE_TIME # #The date and time value will be formatted as short date and time, for example -# 2019-01-28 12:59. This *constant* was added in vSphere API 7.0.0. +# 2019-01-28 12:59. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vapi::Std::LocalizationParam::DateTimeFormat::MED_DATE_TIME # #The date and time value will be formatted as medium date and time, for example 2019 Jan -# 28 12:59:01. This *constant* was added in vSphere API 7.0.0. +# 28 12:59:01. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vapi::Std::LocalizationParam::DateTimeFormat::LONG_DATE_TIME # #The date and time value will be formatted as long date and time, for example 2019 Jan -# 28 12:59:01 Z. This *constant* was added in vSphere API 7.0.0. +# 28 12:59:01 Z. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vapi::Std::LocalizationParam::DateTimeFormat::FULL_DATE_TIME # #The date and time value will be formatted as full date and time, for example 2019 Jan -# 28, Mon 12:59:01 Z. This *constant* was added in vSphere API 7.0.0. +# 28, Mon 12:59:01 Z. This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vapi::Std::LocalizationParam::DateTimeFormat; diff --git a/lib/sdk/Com/Vmware/Vapi/Std/NestedLocalizableMessage.pm b/lib/sdk/Com/Vmware/Vapi/Std/NestedLocalizableMessage.pm index 75d6ee79..99385f79 100644 --- a/lib/sdk/Com/Vmware/Vapi/Std/NestedLocalizableMessage.pm +++ b/lib/sdk/Com/Vmware/Vapi/Std/NestedLocalizableMessage.pm @@ -5,7 +5,7 @@ # nested within a parameter localizable string or message template. This *class* is # useful for modeling composite messages. Such messages are necessary to do correct # pluralization of phrases, represent lists of several items etc. This *class* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. package Com::Vmware::Vapi::Std::NestedLocalizableMessage; @@ -53,7 +53,7 @@ sub new { # This identifier is typically used to retrieve a locale-specific string or message # template from a message catalog.

# -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # String# sub get_id { @@ -70,7 +70,7 @@ sub get_id { # This identifier is typically used to retrieve a locale-specific string or message # template from a message catalog.

# -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_id { my ($self, %args) = @_; @@ -83,7 +83,7 @@ sub set_id { # # @retval params - The current value of the field. # Named Arguments to be substituted into the message template. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # # Optional# sub get_params { @@ -96,7 +96,7 @@ sub get_params { # # @param params - New value for the field. # Named Arguments to be substituted into the message template. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # sub set_params { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Certificate_management/Vcenter/Tls.pm b/lib/sdk/Com/Vmware/Vcenter/Certificate_management/Vcenter/Tls.pm index d07af367..c6be1490 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Certificate_management/Vcenter/Tls.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Certificate_management/Vcenter/Tls.pm @@ -68,18 +68,26 @@ sub new { # Replaces the rhttpproxy TLS certificate with the specified certificate. This *method* # can be used in three scenarios :
    #
  1. When the CSR is created and the private key is already stored, this *method* can -# replace the certificate. The certificate but not the private key and root certificate must +# replace the certificate. The +# :attr:`Com::Vmware::Vcenter::Certificate_management::Vcenter::Tls::Spec.cert` (but not +# :attr:`Com::Vmware::Vcenter::Certificate_management::Vcenter::Tls::Spec.key` and +# :attr:`Com::Vmware::Vcenter::Certificate_management::Vcenter::Tls::Spec.root_cert` ) must # be provided as input.
  2. #
  3. When the certificate is signed by a third party certificate authority/VMCA and the # root certificate of the third party certificate authority/VMCA is already one of the # trusted roots in the trust store, this *method* can replace the certificate and private -# key. The certificate and the private key but not the root certificate must be provided as -# input.
  4. +# key. The :attr:`Com::Vmware::Vcenter::Certificate_management::Vcenter::Tls::Spec.cert` +# and :attr:`Com::Vmware::Vcenter::Certificate_management::Vcenter::Tls::Spec.key` (but +# not :attr:`Com::Vmware::Vcenter::Certificate_management::Vcenter::Tls::Spec.root_cert` ) +# must be provided as input. #
  5. When the certificate is signed by a third party certificate authority and the root # certificate of the third party certificate authority is not one of the trusted roots in # the trust store, this *method* can replace the certificate, private key and root CA -# certificate. The certificate, private key and root certificate must be provided as input. -#
  6. +# certificate. The +# :attr:`Com::Vmware::Vcenter::Certificate_management::Vcenter::Tls::Spec.cert` , +# :attr:`Com::Vmware::Vcenter::Certificate_management::Vcenter::Tls::Spec.key` and +# :attr:`Com::Vmware::Vcenter::Certificate_management::Vcenter::Tls::Spec.root_cert` must +# be provided as input. #
After this *method* completes, the services using the certificate will be # restarted for the new certificate to take effect.

# diff --git a/lib/sdk/Com/Vmware/Vcenter/Cluster.pm b/lib/sdk/Com/Vmware/Vcenter/Cluster.pm index 053b3dab..278f4f0a 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Cluster.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Cluster.pm @@ -114,8 +114,7 @@ sub list { # . The value must be str. # # @retval -# The class Com::Vmware::Vcenter::Cluster::Info instances that corresponds to the -# ``cluster`` . +# Information about the cluster associated with ``cluster`` . # The return type will be Com::Vmware::Vcenter::Cluster::Info # # @throw Com::Vmware::Vapi::Std::Errors::NotFound diff --git a/lib/sdk/Com/Vmware/Vcenter/Compute/Policies.pm b/lib/sdk/Com/Vmware/Vcenter/Compute/Policies.pm index a894546d..abf486a6 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Compute/Policies.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Compute/Policies.pm @@ -117,7 +117,8 @@ sub new { # if more than 100 policies are created. # # @throw Com::Vmware::Vapi::Std::Errors::Unauthorized -# if the user doesn't have the required privileges. +# if the user doesn't have the required privileges, or when used beyond VMware +# Cloud on AWS. # @throw Com::Vmware::Vapi::Std::Errors::Unauthorized # if you do not have all of the privileges described as follows:

. This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_auth_query_params { @@ -1016,7 +1067,7 @@ sub get_auth_query_params { # "=v". #
  • If the value contains multiple strings, then the key is repeated in the # query-string for each string in the value.
  • -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_auth_query_params { my ($self, %args) = @_; @@ -1029,7 +1080,7 @@ sub set_auth_query_params { # # @retval idm_protocol - The current value of the field. # Communication protocol to the identity management endpoints. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # # Optional# sub get_idm_protocol { @@ -1042,7 +1093,7 @@ sub get_idm_protocol { # # @param idm_protocol - New value for the field. # Communication protocol to the identity management endpoints. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # sub set_idm_protocol { my ($self, %args) = @_; @@ -1054,7 +1105,7 @@ sub set_idm_protocol { # Gets the value of 'idm_endpoints' property. # # @retval idm_endpoints - The current value of the field. -# Identity management endpoints. This *field* was added in vSphere API 7.0.0. +# Identity management endpoints. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_idm_endpoints { @@ -1066,7 +1117,7 @@ sub get_idm_endpoints { # Sets the given value for 'idm_endpoints' property. # # @param idm_endpoints - New value for the field. -# Identity management endpoints. This *field* was added in vSphere API 7.0.0. +# Identity management endpoints. This *field* was added in vSphere API 7.0.0.0. # sub set_idm_endpoints { my ($self, %args) = @_; @@ -1078,7 +1129,7 @@ sub set_idm_endpoints { # Gets the value of 'active_directory_over_ldap' property. # # @retval active_directory_over_ldap - The current value of the field. -# Identity management configuration. This *field* was added in vSphere API 7.0.0. +# Identity management configuration. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_active_directory_over_ldap { @@ -1090,7 +1141,7 @@ sub get_active_directory_over_ldap { # Sets the given value for 'active_directory_over_ldap' property. # # @param active_directory_over_ldap - New value for the field. -# Identity management configuration. This *field* was added in vSphere API 7.0.0. +# Identity management configuration. This *field* was added in vSphere API 7.0.0.0. # sub set_active_directory_over_ldap { my ($self, %args) = @_; @@ -1103,7 +1154,7 @@ sub set_active_directory_over_ldap { # # @retval upn_claim - The current value of the field. # Specifies which claim provides the user principal name (UPN) for the user. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # optional# sub get_upn_claim { @@ -1116,7 +1167,7 @@ sub get_upn_claim { # # @param upn_claim - New value for the field. # Specifies which claim provides the user principal name (UPN) for the user. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_upn_claim { my ($self, %args) = @_; @@ -1131,7 +1182,7 @@ sub set_upn_claim { # Specifies which claim provides the group membership for the token subject. If empty, # the default behavior for CSP is used. In this case, the groups for the subject will be # comprised of the groups in 'group_names' and 'group_ids' claims. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_groups_claim { @@ -1146,7 +1197,7 @@ sub get_groups_claim { # Specifies which claim provides the group membership for the token subject. If empty, # the default behavior for CSP is used. In this case, the groups for the subject will be # comprised of the groups in 'group_names' and 'group_ids' claims. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # sub set_groups_claim { my ($self, %args) = @_; @@ -1163,7 +1214,7 @@ sub set_groups_claim { # # The ``Com::Vmware::Vcenter::Identity::Providers::CreateSpec`` *class* contains the # information used to create an identity provider. This *class* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. package Com::Vmware::Vcenter::Identity::Providers::CreateSpec; @@ -1200,6 +1251,7 @@ sub new { 'case_map' => { 'REST' => ['idm_endpoints'], 'SCIM' => ['idm_endpoints'], + 'SCIM2_0' => ['idm_endpoints'], 'LDAP' => ['active_directory_over_ldap'], }), ]; @@ -1244,7 +1296,7 @@ sub new { # # @retval config_tag - The current value of the field. # The config type of the identity provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # ConfigType# sub get_config_tag { @@ -1257,7 +1309,7 @@ sub get_config_tag { # # @param config_tag - New value for the field. # The config type of the identity provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_config_tag { my ($self, %args) = @_; @@ -1269,7 +1321,7 @@ sub set_config_tag { # Gets the value of 'oauth2' property. # # @retval oauth2 - The current value of the field. -# OAuth2 CreateSpec. This *field* was added in vSphere API 7.0.0. +# OAuth2 CreateSpec. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_oauth2 { @@ -1281,7 +1333,7 @@ sub get_oauth2 { # Sets the given value for 'oauth2' property. # # @param oauth2 - New value for the field. -# OAuth2 CreateSpec. This *field* was added in vSphere API 7.0.0. +# OAuth2 CreateSpec. This *field* was added in vSphere API 7.0.0.0. # sub set_oauth2 { my ($self, %args) = @_; @@ -1293,7 +1345,7 @@ sub set_oauth2 { # Gets the value of 'oidc' property. # # @retval oidc - The current value of the field. -# OIDC CreateSpec. This *field* was added in vSphere API 7.0.0. +# OIDC CreateSpec. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_oidc { @@ -1305,7 +1357,7 @@ sub get_oidc { # Sets the given value for 'oidc' property. # # @param oidc - New value for the field. -# OIDC CreateSpec. This *field* was added in vSphere API 7.0.0. +# OIDC CreateSpec. This *field* was added in vSphere API 7.0.0.0. # sub set_oidc { my ($self, %args) = @_; @@ -1318,7 +1370,7 @@ sub set_oidc { # # @retval org_ids - The current value of the field. # The set of orgIds as part of SDDC creation which provides the basis for tenancy. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_org_ids { @@ -1331,7 +1383,7 @@ sub get_org_ids { # # @param org_ids - New value for the field. # The set of orgIds as part of SDDC creation which provides the basis for tenancy. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_org_ids { my ($self, %args) = @_; @@ -1347,7 +1399,7 @@ sub set_org_ids { # current provider to True makes all other providers non-default. If no other providers # created in this vCenter Server before, this parameter will be disregarded, and the # provider will always be set to the default. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_is_default { @@ -1363,7 +1415,7 @@ sub get_is_default { # current provider to True makes all other providers non-default. If no other providers # created in this vCenter Server before, this parameter will be disregarded, and the # provider will always be set to the default. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_is_default { my ($self, %args) = @_; @@ -1378,7 +1430,7 @@ sub set_is_default { # The user friendly name for the provider. This name can be used for human-readable # identification purposes, but it does not have to be unique, as the system will use # internal UUIDs to differentiate providers. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_name { @@ -1393,7 +1445,7 @@ sub get_name { # The user friendly name for the provider. This name can be used for human-readable # identification purposes, but it does not have to be unique, as the system will use # internal UUIDs to differentiate providers. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_name { my ($self, %args) = @_; @@ -1409,7 +1461,7 @@ sub set_name { # provider. Tokens from this identity provider will only be validated if the user # belongs to one of these domains, and any domain-qualified groups in the tokens will be # filtered to include only those groups that belong to one of these domains. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_domain_names { @@ -1425,7 +1477,7 @@ sub get_domain_names { # provider. Tokens from this identity provider will only be validated if the user # belongs to one of these domains, and any domain-qualified groups in the tokens will be # filtered to include only those groups that belong to one of these domains. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_domain_names { my ($self, %args) = @_; @@ -1454,7 +1506,7 @@ sub set_domain_names { # "=v". #
  • If the value contains multiple strings, then the key is repeated in the # query-string for each string in the value.
  • -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_auth_query_params { @@ -1483,7 +1535,7 @@ sub get_auth_query_params { # "=v". #
  • If the value contains multiple strings, then the key is repeated in the # query-string for each string in the value.
  • -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_auth_query_params { my ($self, %args) = @_; @@ -1496,7 +1548,7 @@ sub set_auth_query_params { # # @retval idm_protocol - The current value of the field. # Communication protocol to the identity management endpoints. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # # Optional# sub get_idm_protocol { @@ -1509,7 +1561,7 @@ sub get_idm_protocol { # # @param idm_protocol - New value for the field. # Communication protocol to the identity management endpoints. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # sub set_idm_protocol { my ($self, %args) = @_; @@ -1522,7 +1574,7 @@ sub set_idm_protocol { # # @retval idm_endpoints - The current value of the field. # Identity management endpoints. When specified, at least one endpoint must be provided. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_idm_endpoints { @@ -1535,7 +1587,7 @@ sub get_idm_endpoints { # # @param idm_endpoints - New value for the field. # Identity management endpoints. When specified, at least one endpoint must be provided. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # sub set_idm_endpoints { my ($self, %args) = @_; @@ -1548,7 +1600,7 @@ sub set_idm_endpoints { # # @retval active_directory_over_ldap - The current value of the field. # Identity management configuration. If the protocol is LDAP, the configuration must be -# set, else InvalidArgument is thrown. This *field* was added in vSphere API 7.0.0. +# set, else InvalidArgument is thrown. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_active_directory_over_ldap { @@ -1561,7 +1613,7 @@ sub get_active_directory_over_ldap { # # @param active_directory_over_ldap - New value for the field. # Identity management configuration. If the protocol is LDAP, the configuration must be -# set, else InvalidArgument is thrown. This *field* was added in vSphere API 7.0.0. +# set, else InvalidArgument is thrown. This *field* was added in vSphere API 7.0.0.0. # sub set_active_directory_over_ldap { my ($self, %args) = @_; @@ -1574,7 +1626,7 @@ sub set_active_directory_over_ldap { # # @retval upn_claim - The current value of the field. # Specifies which claim provides the user principal name (UPN) for the user. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_upn_claim { @@ -1587,7 +1639,7 @@ sub get_upn_claim { # # @param upn_claim - New value for the field. # Specifies which claim provides the user principal name (UPN) for the user. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_upn_claim { my ($self, %args) = @_; @@ -1601,7 +1653,7 @@ sub set_upn_claim { # @retval groups_claim - The current value of the field. # Specifies which claim provides the group membership for the token subject. These # groups will be used for mapping to local groups per the claim map. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # # Optional# sub get_groups_claim { @@ -1615,7 +1667,7 @@ sub get_groups_claim { # @param groups_claim - New value for the field. # Specifies which claim provides the group membership for the token subject. These # groups will be used for mapping to local groups per the claim map. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # sub set_groups_claim { my ($self, %args) = @_; @@ -1632,7 +1684,7 @@ sub set_groups_claim { # # The ``Com::Vmware::Vcenter::Identity::Providers::UpdateSpec`` *class* contains the # information used to update the identity provider. This *class* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. package Com::Vmware::Vcenter::Identity::Providers::UpdateSpec; @@ -1669,6 +1721,7 @@ sub new { 'case_map' => { 'REST' => ['idm_endpoints'], 'SCIM' => ['idm_endpoints'], + 'SCIM2_0' => ['idm_endpoints'], 'LDAP' => ['active_directory_over_ldap'], }), ]; @@ -1717,7 +1770,7 @@ sub new { # # @retval config_tag - The current value of the field. # The config type of the identity provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # ConfigType# sub get_config_tag { @@ -1730,7 +1783,7 @@ sub get_config_tag { # # @param config_tag - New value for the field. # The config type of the identity provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_config_tag { my ($self, %args) = @_; @@ -1742,7 +1795,7 @@ sub set_config_tag { # Gets the value of 'oauth2' property. # # @retval oauth2 - The current value of the field. -# OAuth2 UpdateSpec. This *field* was added in vSphere API 7.0.0. +# OAuth2 UpdateSpec. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_oauth2 { @@ -1754,7 +1807,7 @@ sub get_oauth2 { # Sets the given value for 'oauth2' property. # # @param oauth2 - New value for the field. -# OAuth2 UpdateSpec. This *field* was added in vSphere API 7.0.0. +# OAuth2 UpdateSpec. This *field* was added in vSphere API 7.0.0.0. # sub set_oauth2 { my ($self, %args) = @_; @@ -1766,7 +1819,7 @@ sub set_oauth2 { # Gets the value of 'oidc' property. # # @retval oidc - The current value of the field. -# OIDC UpdateSpec. This *field* was added in vSphere API 7.0.0. +# OIDC UpdateSpec. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_oidc { @@ -1778,7 +1831,7 @@ sub get_oidc { # Sets the given value for 'oidc' property. # # @param oidc - New value for the field. -# OIDC UpdateSpec. This *field* was added in vSphere API 7.0.0. +# OIDC UpdateSpec. This *field* was added in vSphere API 7.0.0.0. # sub set_oidc { my ($self, %args) = @_; @@ -1791,7 +1844,7 @@ sub set_oidc { # # @retval org_ids - The current value of the field. # The set orgIds as part of SDDC creation which provides the basis for tenancy. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_org_ids { @@ -1804,7 +1857,7 @@ sub get_org_ids { # # @param org_ids - New value for the field. # The set orgIds as part of SDDC creation which provides the basis for tenancy. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_org_ids { my ($self, %args) = @_; @@ -1820,7 +1873,7 @@ sub set_org_ids { # true, this provider will be flagged as the default provider and any other providers # that had previously been flagged as the default will be made non-default. If # ``makeDefault`` is set to false, this provider's default flag will not be -# modified. This *field* was added in vSphere API 7.0.0. +# modified. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_make_default { @@ -1836,7 +1889,7 @@ sub get_make_default { # true, this provider will be flagged as the default provider and any other providers # that had previously been flagged as the default will be made non-default. If # ``makeDefault`` is set to false, this provider's default flag will not be -# modified. This *field* was added in vSphere API 7.0.0. +# modified. This *field* was added in vSphere API 7.0.0.0. # sub set_make_default { my ($self, %args) = @_; @@ -1851,7 +1904,7 @@ sub set_make_default { # The user friendly name for the provider. This name can be used for human-readable # identification purposes, but it does not have to be unique, as the system will use # internal UUIDs to differentiate providers. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_name { @@ -1866,7 +1919,7 @@ sub get_name { # The user friendly name for the provider. This name can be used for human-readable # identification purposes, but it does not have to be unique, as the system will use # internal UUIDs to differentiate providers. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_name { my ($self, %args) = @_; @@ -1882,7 +1935,7 @@ sub set_name { # provider. Tokens from this identity provider will only be validated if the user # belongs to one of these domains, and any domain-qualified groups in the tokens will be # filtered to include only those groups that belong to one of these domains. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_domain_names { @@ -1898,7 +1951,7 @@ sub get_domain_names { # provider. Tokens from this identity provider will only be validated if the user # belongs to one of these domains, and any domain-qualified groups in the tokens will be # filtered to include only those groups that belong to one of these domains. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_domain_names { my ($self, %args) = @_; @@ -1917,7 +1970,7 @@ sub set_domain_names { # key is added with "k=v". If the value is an empty list, then the key is # added without a "=v". If the value contains multiple strings, then the key # is repeated in the query-string for each string in the value. If the map is empty, -# deletes all params. This *field* was added in vSphere API 7.0.0. +# deletes all params. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_auth_query_params { @@ -1936,7 +1989,7 @@ sub get_auth_query_params { # key is added with "k=v". If the value is an empty list, then the key is # added without a "=v". If the value contains multiple strings, then the key # is repeated in the query-string for each string in the value. If the map is empty, -# deletes all params. This *field* was added in vSphere API 7.0.0. +# deletes all params. This *field* was added in vSphere API 7.0.0.0. # sub set_auth_query_params { my ($self, %args) = @_; @@ -1949,7 +2002,7 @@ sub set_auth_query_params { # # @retval idm_protocol - The current value of the field. # The protocol to communicate to the identity management endpoints. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # # Optional# sub get_idm_protocol { @@ -1962,7 +2015,7 @@ sub get_idm_protocol { # # @param idm_protocol - New value for the field. # The protocol to communicate to the identity management endpoints. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # sub set_idm_protocol { my ($self, %args) = @_; @@ -1975,7 +2028,7 @@ sub set_idm_protocol { # # @retval idm_endpoints - The current value of the field. # Identity management endpoints. When specified, at least one endpoint must be provided. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_idm_endpoints { @@ -1988,7 +2041,7 @@ sub get_idm_endpoints { # # @param idm_endpoints - New value for the field. # Identity management endpoints. When specified, at least one endpoint must be provided. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # sub set_idm_endpoints { my ($self, %args) = @_; @@ -2001,7 +2054,7 @@ sub set_idm_endpoints { # # @retval active_directory_over_ldap - The current value of the field. # Identity management configuration. If the protocol is LDAP, the configuration must be -# set, else InvalidArgument is thrown. This *field* was added in vSphere API 7.0.0. +# set, else InvalidArgument is thrown. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_active_directory_over_ldap { @@ -2014,7 +2067,7 @@ sub get_active_directory_over_ldap { # # @param active_directory_over_ldap - New value for the field. # Identity management configuration. If the protocol is LDAP, the configuration must be -# set, else InvalidArgument is thrown. This *field* was added in vSphere API 7.0.0. +# set, else InvalidArgument is thrown. This *field* was added in vSphere API 7.0.0.0. # sub set_active_directory_over_ldap { my ($self, %args) = @_; @@ -2027,7 +2080,7 @@ sub set_active_directory_over_ldap { # # @retval upn_claim - The current value of the field. # Specifies which claim provides the user principal name (UPN) for the subject of the -# token. This *field* was added in vSphere API 7.0.0. +# token. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_upn_claim { @@ -2040,7 +2093,7 @@ sub get_upn_claim { # # @param upn_claim - New value for the field. # Specifies which claim provides the user principal name (UPN) for the subject of the -# token. This *field* was added in vSphere API 7.0.0. +# token. This *field* was added in vSphere API 7.0.0.0. # sub set_upn_claim { my ($self, %args) = @_; @@ -2058,7 +2111,7 @@ sub set_upn_claim { # If this field is set to ``false`` , the existing user principal name (UPN) claim will # be changed to the value specified in # :attr:`Com::Vmware::Vcenter::Identity::Providers::UpdateSpec.upn_claim` , if any. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_reset_upn_claim { @@ -2076,7 +2129,7 @@ sub get_reset_upn_claim { # If this field is set to ``false`` , the existing user principal name (UPN) claim will # be changed to the value specified in # :attr:`Com::Vmware::Vcenter::Identity::Providers::UpdateSpec.upn_claim` , if any. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_reset_upn_claim { my ($self, %args) = @_; @@ -2089,7 +2142,7 @@ sub set_reset_upn_claim { # # @retval groups_claim - The current value of the field. # Specifies which claim provides the group membership for the token subject. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_groups_claim { @@ -2102,7 +2155,7 @@ sub get_groups_claim { # # @param groups_claim - New value for the field. # Specifies which claim provides the group membership for the token subject. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_groups_claim { my ($self, %args) = @_; @@ -2121,7 +2174,7 @@ sub set_groups_claim { # If this field is set to ``false`` , the existing groups claim will be changed to the # value specified in # :attr:`Com::Vmware::Vcenter::Identity::Providers::UpdateSpec.groups_claim` , if any. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_reset_groups_claim { @@ -2140,7 +2193,7 @@ sub get_reset_groups_claim { # If this field is set to ``false`` , the existing groups claim will be changed to the # value specified in # :attr:`Com::Vmware::Vcenter::Identity::Providers::UpdateSpec.groups_claim` , if any. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # sub set_reset_groups_claim { my ($self, %args) = @_; @@ -2157,7 +2210,7 @@ sub set_reset_groups_claim { # # The ``Com::Vmware::Vcenter::Identity::Providers::Oauth2Summary`` *class* contains # commonly used information about an OAuth2 identity provider. This *class* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Identity::Providers::Oauth2Summary; @@ -2207,7 +2260,7 @@ sub new { # # @retval auth_endpoint - The current value of the field. # Authentication/authorization endpoint of the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # URI# sub get_auth_endpoint { @@ -2220,7 +2273,7 @@ sub get_auth_endpoint { # # @param auth_endpoint - New value for the field. # Authentication/authorization endpoint of the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_auth_endpoint { my ($self, %args) = @_; @@ -2232,7 +2285,7 @@ sub set_auth_endpoint { # Gets the value of 'token_endpoint' property. # # @retval token_endpoint - The current value of the field. -# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0. +# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0.0. # # URI# sub get_token_endpoint { @@ -2244,7 +2297,7 @@ sub get_token_endpoint { # Sets the given value for 'token_endpoint' property. # # @param token_endpoint - New value for the field. -# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0. +# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0.0. # sub set_token_endpoint { my ($self, %args) = @_; @@ -2257,7 +2310,7 @@ sub set_token_endpoint { # # @retval client_id - The current value of the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # String# sub get_client_id { @@ -2270,7 +2323,7 @@ sub get_client_id { # # @param client_id - New value for the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_client_id { my ($self, %args) = @_; @@ -2285,7 +2338,7 @@ sub set_client_id { # The authentication data used as part of request header to acquire or refresh an OAuth2 # token. The data format depends on the authentication method used. Example of basic # authentication format: Authorization: Basic [base64Encode(clientId + ":" + -# secret)]. This *field* was added in vSphere API 7.0.0. +# secret)]. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_authentication_header { @@ -2300,7 +2353,7 @@ sub get_authentication_header { # The authentication data used as part of request header to acquire or refresh an OAuth2 # token. The data format depends on the authentication method used. Example of basic # authentication format: Authorization: Basic [base64Encode(clientId + ":" + -# secret)]. This *field* was added in vSphere API 7.0.0. +# secret)]. This *field* was added in vSphere API 7.0.0.0. # sub set_authentication_header { my ($self, %args) = @_; @@ -2329,7 +2382,7 @@ sub set_authentication_header { # "=v". #
  • If the value contains multiple strings, then the key is repeated in the # query-string for each string in the value.
  • -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Map# sub get_auth_query_params { @@ -2358,7 +2411,7 @@ sub get_auth_query_params { # "=v". #
  • If the value contains multiple strings, then the key is repeated in the # query-string for each string in the value.
  • -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_auth_query_params { my ($self, %args) = @_; @@ -2375,7 +2428,7 @@ sub set_auth_query_params { # # The ``Com::Vmware::Vcenter::Identity::Providers::Oauth2Info`` *class* contains the # information about an OAuth2 identity provider. This *class* was added in vSphere API -# 7.0.0. +# 7.0.0.0. package Com::Vmware::Vcenter::Identity::Providers::Oauth2Info; @@ -2433,7 +2486,7 @@ sub new { # # @retval auth_endpoint - The current value of the field. # Authentication/authorization endpoint of the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # URI# sub get_auth_endpoint { @@ -2446,7 +2499,7 @@ sub get_auth_endpoint { # # @param auth_endpoint - New value for the field. # Authentication/authorization endpoint of the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_auth_endpoint { my ($self, %args) = @_; @@ -2458,7 +2511,7 @@ sub set_auth_endpoint { # Gets the value of 'token_endpoint' property. # # @retval token_endpoint - The current value of the field. -# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0. +# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0.0. # # URI# sub get_token_endpoint { @@ -2470,7 +2523,7 @@ sub get_token_endpoint { # Sets the given value for 'token_endpoint' property. # # @param token_endpoint - New value for the field. -# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0. +# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0.0. # sub set_token_endpoint { my ($self, %args) = @_; @@ -2483,7 +2536,7 @@ sub set_token_endpoint { # # @retval public_key_uri - The current value of the field. # Endpoint to retrieve the provider public key for validation. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # # URI# sub get_public_key_uri { @@ -2496,7 +2549,7 @@ sub get_public_key_uri { # # @param public_key_uri - New value for the field. # Endpoint to retrieve the provider public key for validation. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # sub set_public_key_uri { my ($self, %args) = @_; @@ -2509,7 +2562,7 @@ sub set_public_key_uri { # # @retval client_id - The current value of the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # String# sub get_client_id { @@ -2522,7 +2575,7 @@ sub get_client_id { # # @param client_id - New value for the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_client_id { my ($self, %args) = @_; @@ -2535,7 +2588,7 @@ sub set_client_id { # # @retval client_secret - The current value of the field. # The secret shared between the client and the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # String# sub get_client_secret { @@ -2548,7 +2601,7 @@ sub get_client_secret { # # @param client_secret - New value for the field. # The secret shared between the client and the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_client_secret { my ($self, %args) = @_; @@ -2564,7 +2617,7 @@ sub set_client_secret { # understands. Currently only the key "perms" is supported. The key # "perms" is used for mapping the "perms" claim of incoming JWT. The # value is another map with an external group as the key and a vCenter Server group as -# value. This *field* was added in vSphere API 7.0.0. +# value. This *field* was added in vSphere API 7.0.0.0. # # Map# sub get_claim_map { @@ -2580,7 +2633,7 @@ sub get_claim_map { # understands. Currently only the key "perms" is supported. The key # "perms" is used for mapping the "perms" claim of incoming JWT. The # value is another map with an external group as the key and a vCenter Server group as -# value. This *field* was added in vSphere API 7.0.0. +# value. This *field* was added in vSphere API 7.0.0.0. # sub set_claim_map { my ($self, %args) = @_; @@ -2593,7 +2646,7 @@ sub set_claim_map { # # @retval issuer - The current value of the field. # The identity provider namespace. It is used to validate the issuer in the acquired -# OAuth2 token. This *field* was added in vSphere API 7.0.0. +# OAuth2 token. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_issuer { @@ -2606,7 +2659,7 @@ sub get_issuer { # # @param issuer - New value for the field. # The identity provider namespace. It is used to validate the issuer in the acquired -# OAuth2 token. This *field* was added in vSphere API 7.0.0. +# OAuth2 token. This *field* was added in vSphere API 7.0.0.0. # sub set_issuer { my ($self, %args) = @_; @@ -2619,7 +2672,7 @@ sub set_issuer { # # @retval authentication_method - The current value of the field. # Authentication method used by the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Oauth2AuthenticationMethod# sub get_authentication_method { @@ -2632,7 +2685,7 @@ sub get_authentication_method { # # @param authentication_method - New value for the field. # Authentication method used by the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_authentication_method { my ($self, %args) = @_; @@ -2661,7 +2714,7 @@ sub set_authentication_method { # "=v". #
  • If the value contains multiple strings, then the key is repeated in the # query-string for each string in the value.
  • -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Map# sub get_auth_query_params { @@ -2690,7 +2743,7 @@ sub get_auth_query_params { # "=v". #
  • If the value contains multiple strings, then the key is repeated in the # query-string for each string in the value.
  • -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_auth_query_params { my ($self, %args) = @_; @@ -2707,7 +2760,7 @@ sub set_auth_query_params { # # The ``Com::Vmware::Vcenter::Identity::Providers::Oauth2CreateSpec`` *class* # contains the information used to create an OAuth2 identity provider. This *class* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Identity::Providers::Oauth2CreateSpec; @@ -2765,7 +2818,7 @@ sub new { # # @retval auth_endpoint - The current value of the field. # Authentication/authorization endpoint of the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # URI# sub get_auth_endpoint { @@ -2778,7 +2831,7 @@ sub get_auth_endpoint { # # @param auth_endpoint - New value for the field. # Authentication/authorization endpoint of the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_auth_endpoint { my ($self, %args) = @_; @@ -2790,7 +2843,7 @@ sub set_auth_endpoint { # Gets the value of 'token_endpoint' property. # # @retval token_endpoint - The current value of the field. -# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0. +# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0.0. # # URI# sub get_token_endpoint { @@ -2802,7 +2855,7 @@ sub get_token_endpoint { # Sets the given value for 'token_endpoint' property. # # @param token_endpoint - New value for the field. -# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0. +# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0.0. # sub set_token_endpoint { my ($self, %args) = @_; @@ -2815,7 +2868,7 @@ sub set_token_endpoint { # # @retval public_key_uri - The current value of the field. # Endpoint to retrieve the provider public key for validation. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # # URI# sub get_public_key_uri { @@ -2828,7 +2881,7 @@ sub get_public_key_uri { # # @param public_key_uri - New value for the field. # Endpoint to retrieve the provider public key for validation. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # sub set_public_key_uri { my ($self, %args) = @_; @@ -2841,7 +2894,7 @@ sub set_public_key_uri { # # @retval client_id - The current value of the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # String# sub get_client_id { @@ -2854,7 +2907,7 @@ sub get_client_id { # # @param client_id - New value for the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_client_id { my ($self, %args) = @_; @@ -2867,7 +2920,7 @@ sub set_client_id { # # @retval client_secret - The current value of the field. # The secret shared between the client and the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # String# sub get_client_secret { @@ -2880,7 +2933,7 @@ sub get_client_secret { # # @param client_secret - New value for the field. # The secret shared between the client and the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_client_secret { my ($self, %args) = @_; @@ -2896,7 +2949,7 @@ sub set_client_secret { # understands. Currently only the key "perms" is supported. The key # "perms" is used for mapping the "perms" claim of incoming JWT. The # value is another map with an external group as the key and a vCenter Server group as -# value. This *field* was added in vSphere API 7.0.0. +# value. This *field* was added in vSphere API 7.0.0.0. # # Map# sub get_claim_map { @@ -2912,7 +2965,7 @@ sub get_claim_map { # understands. Currently only the key "perms" is supported. The key # "perms" is used for mapping the "perms" claim of incoming JWT. The # value is another map with an external group as the key and a vCenter Server group as -# value. This *field* was added in vSphere API 7.0.0. +# value. This *field* was added in vSphere API 7.0.0.0. # sub set_claim_map { my ($self, %args) = @_; @@ -2925,7 +2978,7 @@ sub set_claim_map { # # @retval issuer - The current value of the field. # The identity provider namespace. It is used to validate the issuer in the acquired -# OAuth2 token. This *field* was added in vSphere API 7.0.0. +# OAuth2 token. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_issuer { @@ -2938,7 +2991,7 @@ sub get_issuer { # # @param issuer - New value for the field. # The identity provider namespace. It is used to validate the issuer in the acquired -# OAuth2 token. This *field* was added in vSphere API 7.0.0. +# OAuth2 token. This *field* was added in vSphere API 7.0.0.0. # sub set_issuer { my ($self, %args) = @_; @@ -2951,7 +3004,7 @@ sub set_issuer { # # @retval authentication_method - The current value of the field. # Authentication method used by the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Oauth2AuthenticationMethod# sub get_authentication_method { @@ -2964,7 +3017,7 @@ sub get_authentication_method { # # @param authentication_method - New value for the field. # Authentication method used by the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_authentication_method { my ($self, %args) = @_; @@ -2993,7 +3046,7 @@ sub set_authentication_method { # "=v". #
  • If the value contains multiple strings, then the key is repeated in the # query-string for each string in the value.
  • -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_auth_query_params { @@ -3022,7 +3075,7 @@ sub get_auth_query_params { # "=v". #
  • If the value contains multiple strings, then the key is repeated in the # query-string for each string in the value.
  • -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_auth_query_params { my ($self, %args) = @_; @@ -3039,7 +3092,7 @@ sub set_auth_query_params { # # The ``Com::Vmware::Vcenter::Identity::Providers::Oauth2UpdateSpec`` *class* # contains the information used to update the OAuth2 identity provider. This *class* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Identity::Providers::Oauth2UpdateSpec; @@ -3097,7 +3150,7 @@ sub new { # # @retval auth_endpoint - The current value of the field. # Authentication/authorization endpoint of the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_auth_endpoint { @@ -3110,7 +3163,7 @@ sub get_auth_endpoint { # # @param auth_endpoint - New value for the field. # Authentication/authorization endpoint of the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_auth_endpoint { my ($self, %args) = @_; @@ -3122,7 +3175,7 @@ sub set_auth_endpoint { # Gets the value of 'token_endpoint' property. # # @retval token_endpoint - The current value of the field. -# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0. +# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_token_endpoint { @@ -3134,7 +3187,7 @@ sub get_token_endpoint { # Sets the given value for 'token_endpoint' property. # # @param token_endpoint - New value for the field. -# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0. +# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0.0. # sub set_token_endpoint { my ($self, %args) = @_; @@ -3147,7 +3200,7 @@ sub set_token_endpoint { # # @retval public_key_uri - The current value of the field. # Endpoint to retrieve the provider public key for validation. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # # Optional# sub get_public_key_uri { @@ -3160,7 +3213,7 @@ sub get_public_key_uri { # # @param public_key_uri - New value for the field. # Endpoint to retrieve the provider public key for validation. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # sub set_public_key_uri { my ($self, %args) = @_; @@ -3173,7 +3226,7 @@ sub set_public_key_uri { # # @retval client_id - The current value of the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_client_id { @@ -3186,7 +3239,7 @@ sub get_client_id { # # @param client_id - New value for the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_client_id { my ($self, %args) = @_; @@ -3199,7 +3252,7 @@ sub set_client_id { # # @retval client_secret - The current value of the field. # Shared secret between identity provider and client. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_client_secret { @@ -3212,7 +3265,7 @@ sub get_client_secret { # # @param client_secret - New value for the field. # Shared secret between identity provider and client. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_client_secret { my ($self, %args) = @_; @@ -3228,7 +3281,7 @@ sub set_client_secret { # understands. Currently only the key "perms" is supported. The key # "perms" is used for mapping the "perms" claim of incoming JWT. The # value is another map with an external group as the key and a vCenter Server group as -# value. This *field* was added in vSphere API 7.0.0. +# value. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_claim_map { @@ -3244,7 +3297,7 @@ sub get_claim_map { # understands. Currently only the key "perms" is supported. The key # "perms" is used for mapping the "perms" claim of incoming JWT. The # value is another map with an external group as the key and a vCenter Server group as -# value. This *field* was added in vSphere API 7.0.0. +# value. This *field* was added in vSphere API 7.0.0.0. # sub set_claim_map { my ($self, %args) = @_; @@ -3257,7 +3310,7 @@ sub set_claim_map { # # @retval issuer - The current value of the field. # The identity provider namespace. It is used to validate the issuer in the acquired -# OAuth2 token. This *field* was added in vSphere API 7.0.0. +# OAuth2 token. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_issuer { @@ -3270,7 +3323,7 @@ sub get_issuer { # # @param issuer - New value for the field. # The identity provider namespace. It is used to validate the issuer in the acquired -# OAuth2 token. This *field* was added in vSphere API 7.0.0. +# OAuth2 token. This *field* was added in vSphere API 7.0.0.0. # sub set_issuer { my ($self, %args) = @_; @@ -3283,7 +3336,7 @@ sub set_issuer { # # @retval authentication_method - The current value of the field. # Authentication method used by the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_authentication_method { @@ -3296,7 +3349,7 @@ sub get_authentication_method { # # @param authentication_method - New value for the field. # Authentication method used by the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_authentication_method { my ($self, %args) = @_; @@ -3315,7 +3368,7 @@ sub set_authentication_method { # key is added with "k=v". If the value is an empty list, then the key is # added without a "=v". If the value contains multiple strings, then the key # is repeated in the query-string for each string in the value. If the map is empty, -# deletes all params. This *field* was added in vSphere API 7.0.0. +# deletes all params. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_auth_query_params { @@ -3334,7 +3387,7 @@ sub get_auth_query_params { # key is added with "k=v". If the value is an empty list, then the key is # added without a "=v". If the value contains multiple strings, then the key # is repeated in the query-string for each string in the value. If the map is empty, -# deletes all params. This *field* was added in vSphere API 7.0.0. +# deletes all params. This *field* was added in vSphere API 7.0.0.0. # sub set_auth_query_params { my ($self, %args) = @_; @@ -3353,7 +3406,7 @@ sub set_auth_query_params { # commonly used information about an OIDC identity provider. OIDC is a discovery # protocol for OAuth2 configuration metadata, so # ``Com::Vmware::Vcenter::Identity::Providers::OidcSummary`` contains discovered OAuth2 -# metadata. This *class* was added in vSphere API 7.0.0. +# metadata. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Identity::Providers::OidcSummary; @@ -3407,7 +3460,7 @@ sub new { # # @retval discovery_endpoint - The current value of the field. # Endpoint to retrieve the provider metadata. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # optional# sub get_discovery_endpoint { @@ -3420,7 +3473,7 @@ sub get_discovery_endpoint { # # @param discovery_endpoint - New value for the field. # Endpoint to retrieve the provider metadata. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_discovery_endpoint { my ($self, %args) = @_; @@ -3434,7 +3487,7 @@ sub set_discovery_endpoint { # @retval logout_endpoint - The current value of the field. # The endpoint to use for terminating the user's session at the identity provider. # This value is automatically derived from the metadata information provided by the OIDC -# discovery endpoint. This *field* was added in vSphere API 7.0.0. +# discovery endpoint. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_logout_endpoint { @@ -3448,7 +3501,7 @@ sub get_logout_endpoint { # @param logout_endpoint - New value for the field. # The endpoint to use for terminating the user's session at the identity provider. # This value is automatically derived from the metadata information provided by the OIDC -# discovery endpoint. This *field* was added in vSphere API 7.0.0. +# discovery endpoint. This *field* was added in vSphere API 7.0.0.0. # sub set_logout_endpoint { my ($self, %args) = @_; @@ -3461,7 +3514,7 @@ sub set_logout_endpoint { # # @retval auth_endpoint - The current value of the field. # Authentication/authorization endpoint of the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # URI# sub get_auth_endpoint { @@ -3474,7 +3527,7 @@ sub get_auth_endpoint { # # @param auth_endpoint - New value for the field. # Authentication/authorization endpoint of the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_auth_endpoint { my ($self, %args) = @_; @@ -3486,7 +3539,7 @@ sub set_auth_endpoint { # Gets the value of 'token_endpoint' property. # # @retval token_endpoint - The current value of the field. -# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0. +# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0.0. # # URI# sub get_token_endpoint { @@ -3498,7 +3551,7 @@ sub get_token_endpoint { # Sets the given value for 'token_endpoint' property. # # @param token_endpoint - New value for the field. -# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0. +# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0.0. # sub set_token_endpoint { my ($self, %args) = @_; @@ -3511,7 +3564,7 @@ sub set_token_endpoint { # # @retval client_id - The current value of the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # String# sub get_client_id { @@ -3524,7 +3577,7 @@ sub get_client_id { # # @param client_id - New value for the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_client_id { my ($self, %args) = @_; @@ -3539,7 +3592,7 @@ sub set_client_id { # The authentication data used as part of request header to acquire or refresh an OAuth2 # token. The data format depends on the authentication method used. Example of basic # authentication format: Authorization: Basic [base64Encode(clientId + ":" + -# secret)]. This *field* was added in vSphere API 7.0.0. +# secret)]. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_authentication_header { @@ -3554,7 +3607,7 @@ sub get_authentication_header { # The authentication data used as part of request header to acquire or refresh an OAuth2 # token. The data format depends on the authentication method used. Example of basic # authentication format: Authorization: Basic [base64Encode(clientId + ":" + -# secret)]. This *field* was added in vSphere API 7.0.0. +# secret)]. This *field* was added in vSphere API 7.0.0.0. # sub set_authentication_header { my ($self, %args) = @_; @@ -3583,7 +3636,7 @@ sub set_authentication_header { # "=v". #
  • If the value contains multiple strings, then the key is repeated in the # query-string for each string in the value.
  • -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Map# sub get_auth_query_params { @@ -3612,7 +3665,7 @@ sub get_auth_query_params { # "=v". #
  • If the value contains multiple strings, then the key is repeated in the # query-string for each string in the value.
  • -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_auth_query_params { my ($self, %args) = @_; @@ -3631,7 +3684,7 @@ sub set_auth_query_params { # information about an OIDC identity provider. OIDC is a discovery protocol for OAuth2 # configuration metadata, so ``Com::Vmware::Vcenter::Identity::Providers::OidcInfo`` # contains additional discovered OAuth2 metadata. This *class* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. package Com::Vmware::Vcenter::Identity::Providers::OidcInfo; @@ -3693,7 +3746,7 @@ sub new { # # @retval discovery_endpoint - The current value of the field. # Endpoint to retrieve the provider metadata. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # URI# sub get_discovery_endpoint { @@ -3706,7 +3759,7 @@ sub get_discovery_endpoint { # # @param discovery_endpoint - New value for the field. # Endpoint to retrieve the provider metadata. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_discovery_endpoint { my ($self, %args) = @_; @@ -3720,7 +3773,7 @@ sub set_discovery_endpoint { # @retval logout_endpoint - The current value of the field. # The endpoint to use for terminating the user's session at the identity provider. # This value is automatically derived from the metadata information provided by the OIDC -# discovery endpoint. This *field* was added in vSphere API 7.0.0. +# discovery endpoint. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_logout_endpoint { @@ -3734,7 +3787,7 @@ sub get_logout_endpoint { # @param logout_endpoint - New value for the field. # The endpoint to use for terminating the user's session at the identity provider. # This value is automatically derived from the metadata information provided by the OIDC -# discovery endpoint. This *field* was added in vSphere API 7.0.0. +# discovery endpoint. This *field* was added in vSphere API 7.0.0.0. # sub set_logout_endpoint { my ($self, %args) = @_; @@ -3747,7 +3800,7 @@ sub set_logout_endpoint { # # @retval auth_endpoint - The current value of the field. # Authentication/authorization endpoint of the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # URI# sub get_auth_endpoint { @@ -3760,7 +3813,7 @@ sub get_auth_endpoint { # # @param auth_endpoint - New value for the field. # Authentication/authorization endpoint of the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_auth_endpoint { my ($self, %args) = @_; @@ -3772,7 +3825,7 @@ sub set_auth_endpoint { # Gets the value of 'token_endpoint' property. # # @retval token_endpoint - The current value of the field. -# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0. +# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0.0. # # URI# sub get_token_endpoint { @@ -3784,7 +3837,7 @@ sub get_token_endpoint { # Sets the given value for 'token_endpoint' property. # # @param token_endpoint - New value for the field. -# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0. +# Token endpoint of the provider. This *field* was added in vSphere API 7.0.0.0. # sub set_token_endpoint { my ($self, %args) = @_; @@ -3797,7 +3850,7 @@ sub set_token_endpoint { # # @retval public_key_uri - The current value of the field. # Endpoint to retrieve the provider public key for validation. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # # URI# sub get_public_key_uri { @@ -3810,7 +3863,7 @@ sub get_public_key_uri { # # @param public_key_uri - New value for the field. # Endpoint to retrieve the provider public key for validation. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # sub set_public_key_uri { my ($self, %args) = @_; @@ -3823,7 +3876,7 @@ sub set_public_key_uri { # # @retval client_id - The current value of the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # String# sub get_client_id { @@ -3836,7 +3889,7 @@ sub get_client_id { # # @param client_id - New value for the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_client_id { my ($self, %args) = @_; @@ -3849,7 +3902,7 @@ sub set_client_id { # # @retval client_secret - The current value of the field. # The secret shared between the client and the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # String# sub get_client_secret { @@ -3862,7 +3915,7 @@ sub get_client_secret { # # @param client_secret - New value for the field. # The secret shared between the client and the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_client_secret { my ($self, %args) = @_; @@ -3878,7 +3931,7 @@ sub set_client_secret { # understands. Currently only the key "perms" is supported. The key # "perms" is used for mapping the "perms" claim of incoming JWT. The # value is another map with an external group as the key and a vCenter Server group as -# value. This *field* was added in vSphere API 7.0.0. +# value. This *field* was added in vSphere API 7.0.0.0. # # Map# sub get_claim_map { @@ -3894,7 +3947,7 @@ sub get_claim_map { # understands. Currently only the key "perms" is supported. The key # "perms" is used for mapping the "perms" claim of incoming JWT. The # value is another map with an external group as the key and a vCenter Server group as -# value. This *field* was added in vSphere API 7.0.0. +# value. This *field* was added in vSphere API 7.0.0.0. # sub set_claim_map { my ($self, %args) = @_; @@ -3907,7 +3960,7 @@ sub set_claim_map { # # @retval issuer - The current value of the field. # The identity provider namespace. It is used to validate the issuer in the acquired -# OAuth2 token. This *field* was added in vSphere API 7.0.0. +# OAuth2 token. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_issuer { @@ -3920,7 +3973,7 @@ sub get_issuer { # # @param issuer - New value for the field. # The identity provider namespace. It is used to validate the issuer in the acquired -# OAuth2 token. This *field* was added in vSphere API 7.0.0. +# OAuth2 token. This *field* was added in vSphere API 7.0.0.0. # sub set_issuer { my ($self, %args) = @_; @@ -3933,7 +3986,7 @@ sub set_issuer { # # @retval authentication_method - The current value of the field. # Authentication method used by the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Oauth2AuthenticationMethod# sub get_authentication_method { @@ -3946,7 +3999,7 @@ sub get_authentication_method { # # @param authentication_method - New value for the field. # Authentication method used by the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_authentication_method { my ($self, %args) = @_; @@ -3975,7 +4028,7 @@ sub set_authentication_method { # "=v". #
  • If the value contains multiple strings, then the key is repeated in the # query-string for each string in the value.
  • -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Map# sub get_auth_query_params { @@ -4004,7 +4057,7 @@ sub get_auth_query_params { # "=v". #
  • If the value contains multiple strings, then the key is repeated in the # query-string for each string in the value.
  • -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_auth_query_params { my ($self, %args) = @_; @@ -4021,7 +4074,7 @@ sub set_auth_query_params { # # The ``Com::Vmware::Vcenter::Identity::Providers::OidcCreateSpec`` *class* contains # the information used to create an OIDC identity provider. This *class* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Identity::Providers::OidcCreateSpec; @@ -4069,7 +4122,7 @@ sub new { # # @retval discovery_endpoint - The current value of the field. # Endpoint to retrieve the provider metadata. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # URI# sub get_discovery_endpoint { @@ -4082,7 +4135,7 @@ sub get_discovery_endpoint { # # @param discovery_endpoint - New value for the field. # Endpoint to retrieve the provider metadata. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_discovery_endpoint { my ($self, %args) = @_; @@ -4095,7 +4148,7 @@ sub set_discovery_endpoint { # # @retval client_id - The current value of the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # String# sub get_client_id { @@ -4108,7 +4161,7 @@ sub get_client_id { # # @param client_id - New value for the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_client_id { my ($self, %args) = @_; @@ -4121,7 +4174,7 @@ sub set_client_id { # # @retval client_secret - The current value of the field. # The secret shared between the client and the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # String# sub get_client_secret { @@ -4134,7 +4187,7 @@ sub get_client_secret { # # @param client_secret - New value for the field. # The secret shared between the client and the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_client_secret { my ($self, %args) = @_; @@ -4150,7 +4203,7 @@ sub set_client_secret { # understands. Currently only the key "perms" is supported. The key # "perms" is used for mapping the "perms" claim of incoming JWT. The # value is another map with an external group as the key and a vCenter Server group as -# value. This *field* was added in vSphere API 7.0.0. +# value. This *field* was added in vSphere API 7.0.0.0. # # Map# sub get_claim_map { @@ -4166,7 +4219,7 @@ sub get_claim_map { # understands. Currently only the key "perms" is supported. The key # "perms" is used for mapping the "perms" claim of incoming JWT. The # value is another map with an external group as the key and a vCenter Server group as -# value. This *field* was added in vSphere API 7.0.0. +# value. This *field* was added in vSphere API 7.0.0.0. # sub set_claim_map { my ($self, %args) = @_; @@ -4183,7 +4236,7 @@ sub set_claim_map { # # The ``Com::Vmware::Vcenter::Identity::Providers::OidcUpdateSpec`` *class* contains # the information used to update the OIDC identity provider. This *class* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Identity::Providers::OidcUpdateSpec; @@ -4231,7 +4284,7 @@ sub new { # # @retval discovery_endpoint - The current value of the field. # Endpoint to retrieve the provider metadata. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_discovery_endpoint { @@ -4244,7 +4297,7 @@ sub get_discovery_endpoint { # # @param discovery_endpoint - New value for the field. # Endpoint to retrieve the provider metadata. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_discovery_endpoint { my ($self, %args) = @_; @@ -4257,7 +4310,7 @@ sub set_discovery_endpoint { # # @retval client_id - The current value of the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_client_id { @@ -4270,7 +4323,7 @@ sub get_client_id { # # @param client_id - New value for the field. # Client identifier to connect to the provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_client_id { my ($self, %args) = @_; @@ -4283,7 +4336,7 @@ sub set_client_id { # # @retval client_secret - The current value of the field. # The secret shared between the client and the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_client_secret { @@ -4296,7 +4349,7 @@ sub get_client_secret { # # @param client_secret - New value for the field. # The secret shared between the client and the provider. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_client_secret { my ($self, %args) = @_; @@ -4312,7 +4365,7 @@ sub set_client_secret { # understands. Currently only the key "perms" is supported. The key # "perms" is used for mapping the "perms" claim of incoming JWT. The # value is another map with an external group as the key and a vCenter Server group as -# value. This *field* was added in vSphere API 7.0.0. +# value. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_claim_map { @@ -4328,7 +4381,7 @@ sub get_claim_map { # understands. Currently only the key "perms" is supported. The key # "perms" is used for mapping the "perms" claim of incoming JWT. The # value is another map with an external group as the key and a vCenter Server group as -# value. This *field* was added in vSphere API 7.0.0. +# value. This *field* was added in vSphere API 7.0.0.0. # sub set_claim_map { my ($self, %args) = @_; @@ -4346,7 +4399,7 @@ sub set_claim_map { # The ``Com::Vmware::Vcenter::Identity::Providers::ActiveDirectoryOverLdap`` *class* # contains the information about to how to use an Active Directory over LDAP connection # to allow searching for users and groups if the identity provider is an On-Prem -# service. This *class* was added in vSphere API 7.0.0. +# service. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Identity::Providers::ActiveDirectoryOverLdap; @@ -4398,7 +4451,7 @@ sub new { # # @retval user_name - The current value of the field. # User name to connect to the active directory server. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # String# sub get_user_name { @@ -4411,7 +4464,7 @@ sub get_user_name { # # @param user_name - New value for the field. # User name to connect to the active directory server. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_user_name { my ($self, %args) = @_; @@ -4424,7 +4477,7 @@ sub set_user_name { # # @retval password - The current value of the field. # Password to connect to the active directory server. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Secret# sub get_password { @@ -4437,7 +4490,7 @@ sub get_password { # # @param password - New value for the field. # Password to connect to the active directory server. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_password { my ($self, %args) = @_; @@ -4449,7 +4502,7 @@ sub set_password { # Gets the value of 'users_base_dn' property. # # @retval users_base_dn - The current value of the field. -# Base distinguished name for users. This *field* was added in vSphere API 7.0.0. +# Base distinguished name for users. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_users_base_dn { @@ -4461,7 +4514,7 @@ sub get_users_base_dn { # Sets the given value for 'users_base_dn' property. # # @param users_base_dn - New value for the field. -# Base distinguished name for users. This *field* was added in vSphere API 7.0.0. +# Base distinguished name for users. This *field* was added in vSphere API 7.0.0.0. # sub set_users_base_dn { my ($self, %args) = @_; @@ -4473,7 +4526,7 @@ sub set_users_base_dn { # Gets the value of 'groups_base_dn' property. # # @retval groups_base_dn - The current value of the field. -# Base distinguished name for groups. This *field* was added in vSphere API 7.0.0. +# Base distinguished name for groups. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_groups_base_dn { @@ -4485,7 +4538,7 @@ sub get_groups_base_dn { # Sets the given value for 'groups_base_dn' property. # # @param groups_base_dn - New value for the field. -# Base distinguished name for groups. This *field* was added in vSphere API 7.0.0. +# Base distinguished name for groups. This *field* was added in vSphere API 7.0.0.0. # sub set_groups_base_dn { my ($self, %args) = @_; @@ -4498,7 +4551,7 @@ sub set_groups_base_dn { # # @retval server_endpoints - The current value of the field. # Active directory server endpoints. At least one active directory server endpoint must -# be set. This *field* was added in vSphere API 7.0.0. +# be set. This *field* was added in vSphere API 7.0.0.0. # # List# sub get_server_endpoints { @@ -4511,7 +4564,7 @@ sub get_server_endpoints { # # @param server_endpoints - New value for the field. # Active directory server endpoints. At least one active directory server endpoint must -# be set. This *field* was added in vSphere API 7.0.0. +# be set. This *field* was added in vSphere API 7.0.0.0. # sub set_server_endpoints { my ($self, %args) = @_; @@ -4524,7 +4577,7 @@ sub set_server_endpoints { # # @retval cert_chain - The current value of the field. # SSL certificate chain in base64 encoding. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_cert_chain { @@ -4537,7 +4590,7 @@ sub get_cert_chain { # # @param cert_chain - New value for the field. # SSL certificate chain in base64 encoding. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_cert_chain { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Identity/ProvidersStub.pm b/lib/sdk/Com/Vmware/Vcenter/Identity/ProvidersStub.pm index 52927e89..5a92654f 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Identity/ProvidersStub.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Identity/ProvidersStub.pm @@ -116,6 +116,7 @@ sub new my $create_error_dict = { 'com.vmware.vapi.std.errors.unauthorized' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthorized'), 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.already_exists' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'AlreadyExists'), }; diff --git a/lib/sdk/Com/Vmware/Vcenter/Namespace_management/Clusters.pm b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/Clusters.pm index cb5e0569..a694212d 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Namespace_management/Clusters.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/Clusters.pm @@ -444,11 +444,15 @@ sub new { # # Constant Com::Vmware::Vcenter::Namespace_management::Clusters::NetworkProvider::NSXT_CONTAINER_PLUGIN # #NSX-T Container Plugin. +# +# Constant Com::Vmware::Vcenter::Namespace_management::Clusters::NetworkProvider::VSPHERE_NETWORK # +#vSphere Networking. This *constant* was added in vSphere API 7.0.1.0. package Com::Vmware::Vcenter::Namespace_management::Clusters::NetworkProvider; use constant { NSXT_CONTAINER_PLUGIN => 'NSXT_CONTAINER_PLUGIN', + VSPHERE_NETWORK => 'VSPHERE_NETWORK', }; # @@ -1058,11 +1062,13 @@ sub new { 'discriminant_name' => 'network_provider', 'case_map' => { 'NSXT_CONTAINER_PLUGIN' => ['ncp_cluster_network_info'], + 'VSPHERE_NETWORK' => ['workload_networks', 'load_balancers'], }), ]; my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{size_hint} = $args{'size_hint'}; $self->{stat_summary} = $args{'stat_summary'}; $self->{config_status} = $args{'config_status'}; $self->{messages} = $args{'messages'}; @@ -1075,14 +1081,27 @@ sub new { $self->{tls_endpoint_certificate} = $args{'tls_endpoint_certificate'}; $self->{network_provider} = $args{'network_provider'}; $self->{ncp_cluster_network_info} = $args{'ncp_cluster_network_info'}; + $self->{workload_networks} = $args{'workload_networks'}; + $self->{workload_ntp_servers} = $args{'workload_ntp_servers'}; + $self->{load_balancers} = $args{'load_balancers'}; $self->{service_cidr} = $args{'service_cidr'}; + $self->{master_management_network} = $args{'master_management_network'}; $self->{master_DNS} = $args{'master_DNS'}; $self->{worker_DNS} = $args{'worker_DNS'}; + $self->{master_storage_policy} = $args{'master_storage_policy'}; + $self->{ephemeral_storage_policy} = $args{'ephemeral_storage_policy'}; + $self->{login_banner} = $args{'login_banner'}; + $self->{Master_DNS_names} = $args{'Master_DNS_names'}; + $self->{image_storage} = $args{'image_storage'}; + $self->{default_image_registry} = $args{'default_image_registry'}; + $self->{default_image_repository} = $args{'default_image_repository'}; $self->{master_DNS_search_domains} = $args{'master_DNS_search_domains'}; + $self->{master_NTP_servers} = $args{'master_NTP_servers'}; $self->{default_kubernetes_service_content_library} = $args{'default_kubernetes_service_content_library'}; $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::Clusters::Info'); $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.clusters.info'); + $self->set_binding_field('key' => 'size_hint', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'SizingHint'))); $self->set_binding_field('key' => 'stat_summary', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::Stats')); $self->set_binding_field('key' => 'config_status', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::ConfigStatus')); $self->set_binding_field('key' => 'messages', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::Message'))); @@ -1095,15 +1114,55 @@ sub new { $self->set_binding_field('key' => 'tls_endpoint_certificate', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); $self->set_binding_field('key' => 'network_provider', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::NetworkProvider')); $self->set_binding_field('key' => 'ncp_cluster_network_info', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::NCPClusterNetworkInfo'))); + $self->set_binding_field('key' => 'workload_networks', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::WorkloadNetworksInfo'))); + $self->set_binding_field('key' => 'workload_ntp_servers', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); + $self->set_binding_field('key' => 'load_balancers', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'LoadBalancers::Info')))); $self->set_binding_field('key' => 'service_cidr', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Ipv4Cidr')); + $self->set_binding_field('key' => 'master_management_network', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::NetworkSpec'))); $self->set_binding_field('key' => 'master_DNS', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); $self->set_binding_field('key' => 'worker_DNS', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); + $self->set_binding_field('key' => 'master_storage_policy', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'ephemeral_storage_policy', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'login_banner', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'Master_DNS_names', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); + $self->set_binding_field('key' => 'image_storage', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::ImageStorageSpec'))); + $self->set_binding_field('key' => 'default_image_registry', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::ImageRegistry'))); + $self->set_binding_field('key' => 'default_image_repository', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); $self->set_binding_field('key' => 'master_DNS_search_domains', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); + $self->set_binding_field('key' => 'master_NTP_servers', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); $self->set_binding_field('key' => 'default_kubernetes_service_content_library', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); bless $self, $class; return $self; } +## @method get_size_hint () +# Gets the value of 'size_hint' property. +# +# @retval size_hint - The current value of the field. +# Current setting for ``Com::Vmware::Vcenter::Namespace_management::SizingHint`` . This +# affects the size and resources allocated to the Kubernetes API server. This *field* +# was added in vSphere API 7.0.1.0. +# +# optional# +sub get_size_hint { + my ($self, %args) = @_; + return $self->{'size_hint'}; +} + +## @method set_size_hint () +# Sets the given value for 'size_hint' property. +# +# @param size_hint - New value for the field. +# Current setting for ``Com::Vmware::Vcenter::Namespace_management::SizingHint`` . This +# affects the size and resources allocated to the Kubernetes API server. This *field* +# was added in vSphere API 7.0.1.0. +# +sub set_size_hint { + my ($self, %args) = @_; + $self->{'size_hint'} = $args{'size_hint'}; + return; +} + ## @method get_stat_summary () # Gets the value of 'stat_summary' property. # @@ -1416,6 +1475,86 @@ sub set_ncp_cluster_network_info { return; } +## @method get_workload_networks () +# Gets the value of 'workload_networks' property. +# +# @retval workload_networks - The current value of the field. +# Information about workload networks associated with the cluster. This *field* was +# added in vSphere API 7.0.1.0. +# +# optional# +sub get_workload_networks { + my ($self, %args) = @_; + return $self->{'workload_networks'}; +} + +## @method set_workload_networks () +# Sets the given value for 'workload_networks' property. +# +# @param workload_networks - New value for the field. +# Information about workload networks associated with the cluster. This *field* was +# added in vSphere API 7.0.1.0. +# +sub set_workload_networks { + my ($self, %args) = @_; + $self->{'workload_networks'} = $args{'workload_networks'}; + return; +} + +## @method get_workload_ntp_servers () +# Gets the value of 'workload_ntp_servers' property. +# +# @retval workload_ntp_servers - The current value of the field. +# Information about NTP server DNS names or IP addresses to use for workloads such as +# Tanzu Kubernetes Grid VMs, specified in order of preference. This *field* was added +# in vSphere API 7.0.1.0. +# +# Optional# +sub get_workload_ntp_servers { + my ($self, %args) = @_; + return $self->{'workload_ntp_servers'}; +} + +## @method set_workload_ntp_servers () +# Sets the given value for 'workload_ntp_servers' property. +# +# @param workload_ntp_servers - New value for the field. +# Information about NTP server DNS names or IP addresses to use for workloads such as +# Tanzu Kubernetes Grid VMs, specified in order of preference. This *field* was added +# in vSphere API 7.0.1.0. +# +sub set_workload_ntp_servers { + my ($self, %args) = @_; + $self->{'workload_ntp_servers'} = $args{'workload_ntp_servers'}; + return; +} + +## @method get_load_balancers () +# Gets the value of 'load_balancers' property. +# +# @retval load_balancers - The current value of the field. +# Information related to the Load balancer used for provisioning virtual servers in the +# namespace. This *field* was added in vSphere API 7.0.1.0. +# +# optional# +sub get_load_balancers { + my ($self, %args) = @_; + return $self->{'load_balancers'}; +} + +## @method set_load_balancers () +# Sets the given value for 'load_balancers' property. +# +# @param load_balancers - New value for the field. +# Information related to the Load balancer used for provisioning virtual servers in the +# namespace. This *field* was added in vSphere API 7.0.1.0. +# +sub set_load_balancers { + my ($self, %args) = @_; + $self->{'load_balancers'} = $args{'load_balancers'}; + return; +} + ## @method get_service_cidr () # Gets the value of 'service_cidr' property. # @@ -1440,6 +1579,32 @@ sub set_service_cidr { return; } +## @method get_master_management_network () +# Gets the value of 'master_management_network' property. +# +# @retval master_management_network - The current value of the field. +# Specification for the management network on Kubernetes API server. This *field* was +# added in vSphere API 7.0.1.0. +# +# optional# +sub get_master_management_network { + my ($self, %args) = @_; + return $self->{'master_management_network'}; +} + +## @method set_master_management_network () +# Sets the given value for 'master_management_network' property. +# +# @param master_management_network - New value for the field. +# Specification for the management network on Kubernetes API server. This *field* was +# added in vSphere API 7.0.1.0. +# +sub set_master_management_network { + my ($self, %args) = @_; + $self->{'master_management_network'} = $args{'master_management_network'}; + return; +} + ## @method get_master_DNS () # Gets the value of 'master_DNS' property. # @@ -1492,6 +1657,194 @@ sub set_worker_DNS { return; } +## @method get_master_storage_policy () +# Gets the value of 'master_storage_policy' property. +# +# @retval master_storage_policy - The current value of the field. +# Identifier of storage policy associated with Kubernetes API server. This *field* was +# added in vSphere API 7.0.1.0. +# +# optional# +sub get_master_storage_policy { + my ($self, %args) = @_; + return $self->{'master_storage_policy'}; +} + +## @method set_master_storage_policy () +# Sets the given value for 'master_storage_policy' property. +# +# @param master_storage_policy - New value for the field. +# Identifier of storage policy associated with Kubernetes API server. This *field* was +# added in vSphere API 7.0.1.0. +# +sub set_master_storage_policy { + my ($self, %args) = @_; + $self->{'master_storage_policy'} = $args{'master_storage_policy'}; + return; +} + +## @method get_ephemeral_storage_policy () +# Gets the value of 'ephemeral_storage_policy' property. +# +# @retval ephemeral_storage_policy - The current value of the field. +# Identifier of storage policy associated with ephemeral disks of all the Kubernetes +# Pods in the cluster. This *field* was added in vSphere API 7.0.1.0. +# +# optional# +sub get_ephemeral_storage_policy { + my ($self, %args) = @_; + return $self->{'ephemeral_storage_policy'}; +} + +## @method set_ephemeral_storage_policy () +# Sets the given value for 'ephemeral_storage_policy' property. +# +# @param ephemeral_storage_policy - New value for the field. +# Identifier of storage policy associated with ephemeral disks of all the Kubernetes +# Pods in the cluster. This *field* was added in vSphere API 7.0.1.0. +# +sub set_ephemeral_storage_policy { + my ($self, %args) = @_; + $self->{'ephemeral_storage_policy'} = $args{'ephemeral_storage_policy'}; + return; +} + +## @method get_login_banner () +# Gets the value of 'login_banner' property. +# +# @retval login_banner - The current value of the field. +# Disclaimer to be displayed prior to login via the Kubectl plugin. This *field* was +# added in vSphere API 7.0.1.0. +# +# Optional# +sub get_login_banner { + my ($self, %args) = @_; + return $self->{'login_banner'}; +} + +## @method set_login_banner () +# Sets the given value for 'login_banner' property. +# +# @param login_banner - New value for the field. +# Disclaimer to be displayed prior to login via the Kubectl plugin. This *field* was +# added in vSphere API 7.0.1.0. +# +sub set_login_banner { + my ($self, %args) = @_; + $self->{'login_banner'} = $args{'login_banner'}; + return; +} + +## @method get_Master_DNS_names () +# Gets the value of 'Master_DNS_names' property. +# +# @retval Master_DNS_names - The current value of the field. +# List of additional DNS names to associate with the Kubernetes API server. These DNS +# names are embedded in the TLS certificate presented by the API server. This *field* +# was added in vSphere API 7.0.1.0. +# +# Optional# +sub get_Master_DNS_names { + my ($self, %args) = @_; + return $self->{'Master_DNS_names'}; +} + +## @method set_Master_DNS_names () +# Sets the given value for 'Master_DNS_names' property. +# +# @param Master_DNS_names - New value for the field. +# List of additional DNS names to associate with the Kubernetes API server. These DNS +# names are embedded in the TLS certificate presented by the API server. This *field* +# was added in vSphere API 7.0.1.0. +# +sub set_Master_DNS_names { + my ($self, %args) = @_; + $self->{'Master_DNS_names'} = $args{'Master_DNS_names'}; + return; +} + +## @method get_image_storage () +# Gets the value of 'image_storage' property. +# +# @retval image_storage - The current value of the field. +# Specification for storage to be used for container images. This *field* was added in +# vSphere API 7.0.1.0. +# +# optional# +sub get_image_storage { + my ($self, %args) = @_; + return $self->{'image_storage'}; +} + +## @method set_image_storage () +# Sets the given value for 'image_storage' property. +# +# @param image_storage - New value for the field. +# Specification for storage to be used for container images. This *field* was added in +# vSphere API 7.0.1.0. +# +sub set_image_storage { + my ($self, %args) = @_; + $self->{'image_storage'} = $args{'image_storage'}; + return; +} + +## @method get_default_image_registry () +# Gets the value of 'default_image_registry' property. +# +# @retval default_image_registry - The current value of the field. +# Default image registry to use when Kubernetes Pod container specification does not +# specify it as part of the container image name. This *field* was added in vSphere +# API 7.0.1.0. +# +# Optional# +sub get_default_image_registry { + my ($self, %args) = @_; + return $self->{'default_image_registry'}; +} + +## @method set_default_image_registry () +# Sets the given value for 'default_image_registry' property. +# +# @param default_image_registry - New value for the field. +# Default image registry to use when Kubernetes Pod container specification does not +# specify it as part of the container image name. This *field* was added in vSphere +# API 7.0.1.0. +# +sub set_default_image_registry { + my ($self, %args) = @_; + $self->{'default_image_registry'} = $args{'default_image_registry'}; + return; +} + +## @method get_default_image_repository () +# Gets the value of 'default_image_repository' property. +# +# @retval default_image_repository - The current value of the field. +# Default image repository to use when Kubernetes Pod container specification does not +# specify it as part of the container image name. This *field* was added in vSphere +# API 7.0.1.0. +# +# Optional# +sub get_default_image_repository { + my ($self, %args) = @_; + return $self->{'default_image_repository'}; +} + +## @method set_default_image_repository () +# Sets the given value for 'default_image_repository' property. +# +# @param default_image_repository - New value for the field. +# Default image repository to use when Kubernetes Pod container specification does not +# specify it as part of the container image name. This *field* was added in vSphere +# API 7.0.1.0. +# +sub set_default_image_repository { + my ($self, %args) = @_; + $self->{'default_image_repository'} = $args{'default_image_repository'}; + return; +} + ## @method get_master_DNS_search_domains () # Gets the value of 'master_DNS_search_domains' property. # @@ -1518,6 +1871,32 @@ sub set_master_DNS_search_domains { return; } +## @method get_master_NTP_servers () +# Gets the value of 'master_NTP_servers' property. +# +# @retval master_NTP_servers - The current value of the field. +# List of NTP server DNS names or IP addresses to use on Kubernetes API server, +# specified in order of preference. This *field* was added in vSphere API 7.0.1.0. +# +# Optional# +sub get_master_NTP_servers { + my ($self, %args) = @_; + return $self->{'master_NTP_servers'}; +} + +## @method set_master_NTP_servers () +# Sets the given value for 'master_NTP_servers' property. +# +# @param master_NTP_servers - New value for the field. +# List of NTP server DNS names or IP addresses to use on Kubernetes API server, +# specified in order of preference. This *field* was added in vSphere API 7.0.1.0. +# +sub set_master_NTP_servers { + my ($self, %args) = @_; + $self->{'master_NTP_servers'} = $args{'master_NTP_servers'}; + return; +} + ## @method get_default_kubernetes_service_content_library () # Gets the value of 'default_kubernetes_service_content_library' property. # @@ -1711,6 +2090,215 @@ sub set_gateway { 1; +## @class Com::Vmware::Vcenter::Namespace_management::Clusters::WorkloadNetworksEnableSpec +# +# +# The +# ``Com::Vmware::Vcenter::Namespace_management::Clusters::WorkloadNetworksEnableSpec`` +# contains the specification required to configure workload networks for a vSphere +# Namespaces Cluster during Enable operation. These workload networks will be used as +# backing network for Tanzu Kubernetes Cluster VMs and Kubernetes control plane VMs. +# This *class* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Namespace_management::Clusters::WorkloadNetworksEnableSpec; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Namespace_management::Clusters::WorkloadNetworksEnableSpec structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{supervisor_primary_workload_network} = $args{'supervisor_primary_workload_network'}; + $self->{network_list} = $args{'network_list'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::Clusters::WorkloadNetworksEnableSpec'); + $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.clusters.workload_networks_enable_spec'); + $self->set_binding_field('key' => 'supervisor_primary_workload_network', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Networks::CreateSpec')); + $self->set_binding_field('key' => 'network_list', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Networks::CreateSpec')))); + bless $self, $class; + return $self; +} + +## @method get_supervisor_primary_workload_network () +# Gets the value of 'supervisor_primary_workload_network' property. +# +# @retval supervisor_primary_workload_network - The current value of the field. +# The ``CreateSpec`` of the vSphere Namespaces network that will be used by Kubernetes +# control plane VMs to expose Kubernetes API server to devops users and other workloads. +# It can also used as backing network for Tanzu Kubernetes Cluster VMs. This *field* +# was added in vSphere API 7.0.1.0. +# +# CreateSpec# +sub get_supervisor_primary_workload_network { + my ($self, %args) = @_; + return $self->{'supervisor_primary_workload_network'}; +} + +## @method set_supervisor_primary_workload_network () +# Sets the given value for 'supervisor_primary_workload_network' property. +# +# @param supervisor_primary_workload_network - New value for the field. +# The ``CreateSpec`` of the vSphere Namespaces network that will be used by Kubernetes +# control plane VMs to expose Kubernetes API server to devops users and other workloads. +# It can also used as backing network for Tanzu Kubernetes Cluster VMs. This *field* +# was added in vSphere API 7.0.1.0. +# +sub set_supervisor_primary_workload_network { + my ($self, %args) = @_; + $self->{'supervisor_primary_workload_network'} = $args{'supervisor_primary_workload_network'}; + return; +} + +## @method get_network_list () +# Gets the value of 'network_list' property. +# +# @retval network_list - The current value of the field. +# ``CreateSpecs`` *class* es for additional list of vSphere Namespaces networks to be +# associated with this cluster. This *field* was added in vSphere API 7.0.1.0. +# +# Optional# +sub get_network_list { + my ($self, %args) = @_; + return $self->{'network_list'}; +} + +## @method set_network_list () +# Sets the given value for 'network_list' property. +# +# @param network_list - New value for the field. +# ``CreateSpecs`` *class* es for additional list of vSphere Namespaces networks to be +# associated with this cluster. This *field* was added in vSphere API 7.0.1.0. +# +sub set_network_list { + my ($self, %args) = @_; + $self->{'network_list'} = $args{'network_list'}; + return; +} + + +1; + + +## @class Com::Vmware::Vcenter::Namespace_management::Clusters::WorkloadNetworksInfo +# +# +# The ``Com::Vmware::Vcenter::Namespace_management::Clusters::WorkloadNetworksInfo`` +# contains information related to configuration of vSphere Namespaces Network objects. +# This *class* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Namespace_management::Clusters::WorkloadNetworksInfo; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Namespace_management::Clusters::WorkloadNetworksInfo structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{supervisor_primary_workload_network} = $args{'supervisor_primary_workload_network'}; + $self->{network_list} = $args{'network_list'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::Clusters::WorkloadNetworksInfo'); + $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.clusters.workload_networks_info'); + $self->set_binding_field('key' => 'supervisor_primary_workload_network', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Networks::Info')); + $self->set_binding_field('key' => 'network_list', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Networks::Info')))); + bless $self, $class; + return $self; +} + +## @method get_supervisor_primary_workload_network () +# Gets the value of 'supervisor_primary_workload_network' property. +# +# @retval supervisor_primary_workload_network - The current value of the field. +# vSphere Namespaces network used by Kubernetes control plane VMs to access +# load-balanced services on the various workload networks. This *field* was added in +# vSphere API 7.0.1.0. +# +# Info# +sub get_supervisor_primary_workload_network { + my ($self, %args) = @_; + return $self->{'supervisor_primary_workload_network'}; +} + +## @method set_supervisor_primary_workload_network () +# Sets the given value for 'supervisor_primary_workload_network' property. +# +# @param supervisor_primary_workload_network - New value for the field. +# vSphere Namespaces network used by Kubernetes control plane VMs to access +# load-balanced services on the various workload networks. This *field* was added in +# vSphere API 7.0.1.0. +# +sub set_supervisor_primary_workload_network { + my ($self, %args) = @_; + $self->{'supervisor_primary_workload_network'} = $args{'supervisor_primary_workload_network'}; + return; +} + +## @method get_network_list () +# Gets the value of 'network_list' property. +# +# @retval network_list - The current value of the field. +# List of vSphere Namespaces networks associated with this cluster. This *field* was +# added in vSphere API 7.0.1.0. +# +# Optional# +sub get_network_list { + my ($self, %args) = @_; + return $self->{'network_list'}; +} + +## @method set_network_list () +# Sets the given value for 'network_list' property. +# +# @param network_list - New value for the field. +# List of vSphere Namespaces networks associated with this cluster. This *field* was +# added in vSphere API 7.0.1.0. +# +sub set_network_list { + my ($self, %args) = @_; + $self->{'network_list'} = $args{'network_list'}; + return; +} + + +1; + + ## @class Com::Vmware::Vcenter::Namespace_management::Clusters::NetworkSpec # # @@ -2912,6 +3500,7 @@ sub new { 'discriminant_name' => 'network_provider', 'case_map' => { 'NSXT_CONTAINER_PLUGIN' => ['ncp_cluster_network_spec'], + 'VSPHERE_NETWORK' => ['workload_networks_spec', 'load_balancer_config_spec'], }), ]; @@ -2921,6 +3510,9 @@ sub new { $self->{service_cidr} = $args{'service_cidr'}; $self->{network_provider} = $args{'network_provider'}; $self->{ncp_cluster_network_spec} = $args{'ncp_cluster_network_spec'}; + $self->{workload_networks_spec} = $args{'workload_networks_spec'}; + $self->{workload_ntp_servers} = $args{'workload_ntp_servers'}; + $self->{load_balancer_config_spec} = $args{'load_balancer_config_spec'}; $self->{master_management_network} = $args{'master_management_network'}; $self->{master_DNS} = $args{'master_DNS'}; $self->{worker_DNS} = $args{'worker_DNS'}; @@ -2941,6 +3533,9 @@ sub new { $self->set_binding_field('key' => 'service_cidr', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Ipv4Cidr')); $self->set_binding_field('key' => 'network_provider', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::NetworkProvider')); $self->set_binding_field('key' => 'ncp_cluster_network_spec', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::NCPClusterNetworkEnableSpec'))); + $self->set_binding_field('key' => 'workload_networks_spec', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::WorkloadNetworksEnableSpec'))); + $self->set_binding_field('key' => 'workload_ntp_servers', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); + $self->set_binding_field('key' => 'load_balancer_config_spec', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'LoadBalancers::ConfigSpec'))); $self->set_binding_field('key' => 'master_management_network', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::NetworkSpec')); $self->set_binding_field('key' => 'master_DNS', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); $self->set_binding_field('key' => 'worker_DNS', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); @@ -3060,6 +3655,92 @@ sub set_ncp_cluster_network_spec { return; } +## @method get_workload_networks_spec () +# Gets the value of 'workload_networks_spec' property. +# +# @retval workload_networks_spec - The current value of the field. +# Specification for the workload networks to be associated with the cluster. This +# *field* was added in vSphere API 7.0.1.0. +# +# optional# +sub get_workload_networks_spec { + my ($self, %args) = @_; + return $self->{'workload_networks_spec'}; +} + +## @method set_workload_networks_spec () +# Sets the given value for 'workload_networks_spec' property. +# +# @param workload_networks_spec - New value for the field. +# Specification for the workload networks to be associated with the cluster. This +# *field* was added in vSphere API 7.0.1.0. +# +sub set_workload_networks_spec { + my ($self, %args) = @_; + $self->{'workload_networks_spec'} = $args{'workload_networks_spec'}; + return; +} + +## @method get_workload_ntp_servers () +# Gets the value of 'workload_ntp_servers' property. +# +# @retval workload_ntp_servers - The current value of the field. +# List of NTP server DNS names or IP addresses to use for workloads such as Tanzu +# Kubernetes Grid VMs, specified in order of preference. This *field* was added in +# vSphere API 7.0.1.0. +# +# Optional# +sub get_workload_ntp_servers { + my ($self, %args) = @_; + return $self->{'workload_ntp_servers'}; +} + +## @method set_workload_ntp_servers () +# Sets the given value for 'workload_ntp_servers' property. +# +# @param workload_ntp_servers - New value for the field. +# List of NTP server DNS names or IP addresses to use for workloads such as Tanzu +# Kubernetes Grid VMs, specified in order of preference. This *field* was added in +# vSphere API 7.0.1.0. +# +sub set_workload_ntp_servers { + my ($self, %args) = @_; + $self->{'workload_ntp_servers'} = $args{'workload_ntp_servers'}; + return; +} + +## @method get_load_balancer_config_spec () +# Gets the value of 'load_balancer_config_spec' property. +# +# @retval load_balancer_config_spec - The current value of the field. +# A null dictates configuration derived from a user-provisioned load balancer that will +# be used to operate a load balancer that fronts vSphere Namespaces cluster servers, +# Tanzu Kubernetes Grid API servers, and other servers upon request. This configuration +# is required for network providers that do not have a default load balancer included. +# This *field* was added in vSphere API 7.0.1.0. +# +# optional# +sub get_load_balancer_config_spec { + my ($self, %args) = @_; + return $self->{'load_balancer_config_spec'}; +} + +## @method set_load_balancer_config_spec () +# Sets the given value for 'load_balancer_config_spec' property. +# +# @param load_balancer_config_spec - New value for the field. +# A null dictates configuration derived from a user-provisioned load balancer that will +# be used to operate a load balancer that fronts vSphere Namespaces cluster servers, +# Tanzu Kubernetes Grid API servers, and other servers upon request. This configuration +# is required for network providers that do not have a default load balancer included. +# This *field* was added in vSphere API 7.0.1.0. +# +sub set_load_balancer_config_spec { + my ($self, %args) = @_; + $self->{'load_balancer_config_spec'} = $args{'load_balancer_config_spec'}; + return; +} + ## @method get_master_management_network () # Gets the value of 'master_management_network' property. # @@ -3436,6 +4117,7 @@ sub new { 'discriminant_name' => 'network_provider', 'case_map' => { 'NSXT_CONTAINER_PLUGIN' => ['ncp_cluster_network_spec'], + 'VSPHERE_NETWORK' => [], }), ]; @@ -3456,6 +4138,7 @@ sub new { $self->{default_image_repository} = $args{'default_image_repository'}; $self->{tls_endpoint_certificate} = $args{'tls_endpoint_certificate'}; $self->{default_kubernetes_service_content_library} = $args{'default_kubernetes_service_content_library'}; + $self->{workload_ntp_servers} = $args{'workload_ntp_servers'}; $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::Clusters::UpdateSpec'); $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.clusters.update_spec'); @@ -3474,6 +4157,7 @@ sub new { $self->set_binding_field('key' => 'default_image_repository', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); $self->set_binding_field('key' => 'tls_endpoint_certificate', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); $self->set_binding_field('key' => 'default_kubernetes_service_content_library', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'workload_ntp_servers', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); bless $self, $class; return $self; } @@ -3874,6 +4558,34 @@ sub set_default_kubernetes_service_content_library { return; } +## @method get_workload_ntp_servers () +# Gets the value of 'workload_ntp_servers' property. +# +# @retval workload_ntp_servers - The current value of the field. +# List of NTP server DNS names or IP addresses to use for workloads such as Tanzu +# Kubernetes Grid VMs, specified in order of preference. This *field* was added in +# vSphere API 7.0.1.0. +# +# Optional# +sub get_workload_ntp_servers { + my ($self, %args) = @_; + return $self->{'workload_ntp_servers'}; +} + +## @method set_workload_ntp_servers () +# Sets the given value for 'workload_ntp_servers' property. +# +# @param workload_ntp_servers - New value for the field. +# List of NTP server DNS names or IP addresses to use for workloads such as Tanzu +# Kubernetes Grid VMs, specified in order of preference. This *field* was added in +# vSphere API 7.0.1.0. +# +sub set_workload_ntp_servers { + my ($self, %args) = @_; + $self->{'workload_ntp_servers'} = $args{'workload_ntp_servers'}; + return; +} + 1; @@ -3913,6 +4625,7 @@ sub new { 'discriminant_name' => 'network_provider', 'case_map' => { 'NSXT_CONTAINER_PLUGIN' => ['ncp_cluster_network_spec'], + 'VSPHERE_NETWORK' => [], }), ]; @@ -3932,6 +4645,7 @@ sub new { $self->{default_image_registry} = $args{'default_image_registry'}; $self->{default_image_repository} = $args{'default_image_repository'}; $self->{default_kubernetes_service_content_library} = $args{'default_kubernetes_service_content_library'}; + $self->{workload_ntp_servers} = $args{'workload_ntp_servers'}; $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::Clusters::SetSpec'); $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.clusters.set_spec'); @@ -3949,6 +4663,7 @@ sub new { $self->set_binding_field('key' => 'default_image_registry', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::ImageRegistry'))); $self->set_binding_field('key' => 'default_image_repository', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); $self->set_binding_field('key' => 'default_kubernetes_service_content_library', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'workload_ntp_servers', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); bless $self, $class; return $self; } @@ -4313,6 +5028,34 @@ sub set_default_kubernetes_service_content_library { return; } +## @method get_workload_ntp_servers () +# Gets the value of 'workload_ntp_servers' property. +# +# @retval workload_ntp_servers - The current value of the field. +# List of NTP server DNS names or IP addresses to use for workloads such as Tanzu +# Kubernetes Grid VMs, specified in order of preference. This *field* was added in +# vSphere API 7.0.1.0. +# +# Optional# +sub get_workload_ntp_servers { + my ($self, %args) = @_; + return $self->{'workload_ntp_servers'}; +} + +## @method set_workload_ntp_servers () +# Sets the given value for 'workload_ntp_servers' property. +# +# @param workload_ntp_servers - New value for the field. +# List of NTP server DNS names or IP addresses to use for workloads such as Tanzu +# Kubernetes Grid VMs, specified in order of preference. This *field* was added in +# vSphere API 7.0.1.0. +# +sub set_workload_ntp_servers { + my ($self, %args) = @_; + $self->{'workload_ntp_servers'} = $args{'workload_ntp_servers'}; + return; +} + 1; diff --git a/lib/sdk/Com/Vmware/Vcenter/Namespace_management/DistributedSwitchCompatibility.pm b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/DistributedSwitchCompatibility.pm index 93e46eef..0e928bac 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Namespace_management/DistributedSwitchCompatibility.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/DistributedSwitchCompatibility.pm @@ -176,7 +176,10 @@ sub new { # Gets the value of 'distributed_switch' property. # # @retval distributed_switch - The current value of the field. -# Identifier of the switch. +# Identifier of the switch. If ``networkProvider`` is either *null* or is set to +# NSXT_CONTAINER_PLUGIN, the value of this field will refer to the UUID of a +# vim.DistributedVirtualSwitch. Otherwise, the value of the field will refer to the ID +# of a vim.DistributedVirtualSwitch. # # ID# sub get_distributed_switch { @@ -188,7 +191,10 @@ sub get_distributed_switch { # Sets the given value for 'distributed_switch' property. # # @param distributed_switch - New value for the field. -# Identifier of the switch. +# Identifier of the switch. If ``networkProvider`` is either *null* or is set to +# NSXT_CONTAINER_PLUGIN, the value of this field will refer to the UUID of a +# vim.DistributedVirtualSwitch. Otherwise, the value of the field will refer to the ID +# of a vim.DistributedVirtualSwitch. # sub set_distributed_switch { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Namespace_management/IPRange.pm b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/IPRange.pm new file mode 100644 index 00000000..0d0b3511 --- /dev/null +++ b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/IPRange.pm @@ -0,0 +1,100 @@ +## @class Com::Vmware::Vcenter::Namespace_management::IPRange +# +# +# The ``Com::Vmware::Vcenter::Namespace_management::IPRange`` *class* is used to +# express a range of IP addresses. The formats supported by this structure will depend +# on the IP addressing scheme that is being used by vSphere Namespaces. Currently, +# vSphere Namespaces only supports IPv4. This *class* was added in vSphere API +# 7.0.1.0. + +package Com::Vmware::Vcenter::Namespace_management::IPRange; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Namespace_management::IPRange structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{address} = $args{'address'}; + $self->{count} = $args{'count'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::IPRange'); + $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.IP_range'); + $self->set_binding_field('key' => 'address', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'count', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + bless $self, $class; + return $self; +} + +## @method get_address () +# Gets the value of 'address' property. +# +# @retval address - The current value of the field. +# The starting address of the range. This *field* was added in vSphere API 7.0.1.0. +# +# String# +sub get_address { + my ($self, %args) = @_; + return $self->{'address'}; +} + +## @method set_address () +# Sets the given value for 'address' property. +# +# @param address - New value for the field. +# The starting address of the range. This *field* was added in vSphere API 7.0.1.0. +# +sub set_address { + my ($self, %args) = @_; + $self->{'address'} = $args{'address'}; + return; +} + +## @method get_count () +# Gets the value of 'count' property. +# +# @retval count - The current value of the field. +# The number of IP addresses in the range. This *field* was added in vSphere API +# 7.0.1.0. +# +# long# +sub get_count { + my ($self, %args) = @_; + return $self->{'count'}; +} + +## @method set_count () +# Sets the given value for 'count' property. +# +# @param count - New value for the field. +# The number of IP addresses in the range. This *field* was added in vSphere API +# 7.0.1.0. +# +sub set_count { + my ($self, %args) = @_; + $self->{'count'} = $args{'count'}; + return; +} + + +1; + + diff --git a/lib/sdk/Com/Vmware/Vcenter/Namespace_management/LoadBalancers.pm b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/LoadBalancers.pm new file mode 100644 index 00000000..e9b3f61e --- /dev/null +++ b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/LoadBalancers.pm @@ -0,0 +1,1054 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file LoadBalancers.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +## @class Com::Vmware::Vcenter::Namespace_management::LoadBalancers +# ``Com::Vmware::Vcenter::Namespace_management::LoadBalancers`` represent the user +# provisioned load balancers. The load balancers provided may be used to front the API +# servers in both, vSphere Namespaces Cluster and Tanzu Kubernetes Grid clusters. Note: +# The lifecycle of these load balancers is not managed by vSphere. This *interface* +# was added in vSphere API 7.0.1.0. +# + +package Com::Vmware::Vcenter::Namespace_management::LoadBalancers; + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vcenter::Namespace_management::LoadBalancersStub; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiInterface); + +# +# Identifier of the service +# +use constant _VAPI_SERVICE_ID => 'com.vmware.vcenter.namespace_management.load_balancers'; + + +## @method new () +# Constructor to initialize the object +# +# @param api_provider - protocol connection to use with +# stubs created by this factory +# @param StubConfig - Stub's additional configuration +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $stub_config = $args {stub_config}; + my $api_provider = $args {api_provider}; + + my $self = $class->SUPER::new('stub_config' => $stub_config, + 'api_provider' => $api_provider); + bless $self, $class; + return $self; +} + +## @method get () +# Returns information class Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Info +# about the load balancer associated with the given cluster. This *method* was added in +# vSphere API 7.0.1.0. +# +# @param cluster [REQUIRED] Identifier of the cluster the load balancer is associated with. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @param id [REQUIRED] Identifier of the load balancer +# :attr:`Com::Vmware::Vcenter::Namespace_management::LoadBalancers::ConfigSpec.id` . +# The value must be an identifier for the resource type +# getQualifiedName(com.vmware.vcenter.namespace_management.LoadBalancerConfig). +# . The value must be str. +# +# @retval + +# The return type will be Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Info +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if the system reports an error while responding to the request. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if ``cluster`` or ``id`` cannot be located. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the user cannot be authenticated. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthorized +# if the user does not have System.Read privilege. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unsupported +# if the specified cluster does not have vSphere Namespaces enabled. +# +sub get { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + my $id = $args {id}; + + $self->validate_args (method_name => 'get', + method_args => \%args); + + return $self->invoke (method_name => 'get', + method_args => \%args); +} + +## @method list () +# Returns information about all load balancers associated with the given cluster. This +# *method* was added in vSphere API 7.0.1.0. +# +# @param cluster [REQUIRED] Identifier of the cluster the load balancers are associated with. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @retval + +# The return type will be Array of +# Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Summary +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if the system reports an error while responding to the request. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if ``cluster`` cannot be located. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the user cannot be authenticated. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthorized +# if the user does not have System.Read privilege. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unsupported +# if the specified cluster does not have vSphere Namespaces enabled. +# +sub list { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + + $self->validate_args (method_name => 'list', + method_args => \%args); + + return $self->invoke (method_name => 'list', + method_args => \%args); +} + +1; + +######################################################################################### +# Begins enumerations for the Com::Vmware::Vcenter::Namespace_management::LoadBalancers service +######################################################################################### + +## @class Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Provider +# +# The ``Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Provider`` +# enumerates the kinds of load balancers supported by vSphere Namespaces. This +# *enumeration* was added in vSphere API 7.0.1.0. +# +# +# +# Constant Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Provider::HA_PROXY # +# + +package Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Provider; + +use constant { + HA_PROXY => 'HA_PROXY', +}; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiEnum); + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Provider enumeration. +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $self = $class->SUPER::new(); + my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType( + 'name' => 'com.vmware.vcenter.namespace_management.load_balancers.provider', + 'binding_class' => 'Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Provider'); + $class->SUPER::set_binding_type('binding_type' => $bindingType); + + bless $self, $class; + return $self; +} + +1; + + +######################################################################################### +# Ends enumerations for the Com::Vmware::Vcenter::Namespace_management::LoadBalancers service +######################################################################################### + +######################################################################################### +# Begins structures for the Com::Vmware::Vcenter::Namespace_management::LoadBalancers service +######################################################################################### + +## @class Com::Vmware::Vcenter::Namespace_management::LoadBalancers::ConfigSpec +# +# +# The ``Com::Vmware::Vcenter::Namespace_management::LoadBalancers::ConfigSpec`` +# encapsulates load balancer configuration on vSphere Namespaces. This *class* was +# added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Namespace_management::LoadBalancers::ConfigSpec; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Namespace_management::LoadBalancers::ConfigSpec structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + $validatorList = [ + new Com::Vmware::Vapi::Data::UnionValidator( + 'discriminant_name' => 'provider', + 'case_map' => { + 'HA_PROXY' => ['ha_proxy_config_create_spec'], + }), + ]; + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{id} = $args{'id'}; + $self->{address_ranges} = $args{'address_ranges'}; + $self->{provider} = $args{'provider'}; + $self->{ha_proxy_config_create_spec} = $args{'ha_proxy_config_create_spec'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::LoadBalancers::ConfigSpec'); + $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.load_balancers.config_spec'); + $self->set_binding_field('key' => 'id', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'address_ranges', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'IPRange'))); + $self->set_binding_field('key' => 'provider', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'LoadBalancers::Provider')); + $self->set_binding_field('key' => 'ha_proxy_config_create_spec', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'LoadBalancers::HAProxyConfigCreateSpec'))); + bless $self, $class; + return $self; +} + +## @method get_id () +# Gets the value of 'id' property. +# +# @retval id - The current value of the field. +# An identifier that identifies a load balancer and can be used to query or configure +# load balancer properties via these resources. The identifier has DNS_LABEL +# restrictions as specified in . +# This must be an alphanumeric (a-z and 0-9) string, with a maximum length of 63 +# characters and with the '-' character allowed anywhere except the first or +# last character. This name is unique across all Namespaces in this vCenter server. This +# *field* was added in vSphere API 7.0.1.0. +# +# ID# +sub get_id { + my ($self, %args) = @_; + return $self->{'id'}; +} + +## @method set_id () +# Sets the given value for 'id' property. +# +# @param id - New value for the field. +# An identifier that identifies a load balancer and can be used to query or configure +# load balancer properties via these resources. The identifier has DNS_LABEL +# restrictions as specified in . +# This must be an alphanumeric (a-z and 0-9) string, with a maximum length of 63 +# characters and with the '-' character allowed anywhere except the first or +# last character. This name is unique across all Namespaces in this vCenter server. This +# *field* was added in vSphere API 7.0.1.0. +# +sub set_id { + my ($self, %args) = @_; + $self->{'id'} = $args{'id'}; + return; +} + +## @method get_address_ranges () +# Gets the value of 'address_ranges' property. +# +# @retval address_ranges - The current value of the field. +# List of address ranges that will be used to derive frontend IP addresses for L4 +# virtual servers. At least one range must be provided. This *field* was added in +# vSphere API 7.0.1.0. +# +# List# +sub get_address_ranges { + my ($self, %args) = @_; + return $self->{'address_ranges'}; +} + +## @method set_address_ranges () +# Sets the given value for 'address_ranges' property. +# +# @param address_ranges - New value for the field. +# List of address ranges that will be used to derive frontend IP addresses for L4 +# virtual servers. At least one range must be provided. This *field* was added in +# vSphere API 7.0.1.0. +# +sub set_address_ranges { + my ($self, %args) = @_; + $self->{'address_ranges'} = $args{'address_ranges'}; + return; +} + +## @method get_provider () +# Gets the value of 'provider' property. +# +# @retval provider - The current value of the field. +# The ``provider`` selects a provider from the list of available providers to be used +# with vSphere Namespaces. This *field* was added in vSphere API 7.0.1.0. +# +# Provider# +sub get_provider { + my ($self, %args) = @_; + return $self->{'provider'}; +} + +## @method set_provider () +# Sets the given value for 'provider' property. +# +# @param provider - New value for the field. +# The ``provider`` selects a provider from the list of available providers to be used +# with vSphere Namespaces. This *field* was added in vSphere API 7.0.1.0. +# +sub set_provider { + my ($self, %args) = @_; + $self->{'provider'} = $args{'provider'}; + return; +} + +## @method get_ha_proxy_config_create_spec () +# Gets the value of 'ha_proxy_config_create_spec' property. +# +# @retval ha_proxy_config_create_spec - The current value of the field. +# The +# ``Com::Vmware::Vcenter::Namespace_management::LoadBalancers::HAProxyConfigCreateSpec`` +# is a conditional configuration made available upon selecting the HA_PROXY load +# balancer provider. It is used to configure the load balancer at run time. This +# *field* was added in vSphere API 7.0.1.0. +# +# optional# +sub get_ha_proxy_config_create_spec { + my ($self, %args) = @_; + return $self->{'ha_proxy_config_create_spec'}; +} + +## @method set_ha_proxy_config_create_spec () +# Sets the given value for 'ha_proxy_config_create_spec' property. +# +# @param ha_proxy_config_create_spec - New value for the field. +# The +# ``Com::Vmware::Vcenter::Namespace_management::LoadBalancers::HAProxyConfigCreateSpec`` +# is a conditional configuration made available upon selecting the HA_PROXY load +# balancer provider. It is used to configure the load balancer at run time. This +# *field* was added in vSphere API 7.0.1.0. +# +sub set_ha_proxy_config_create_spec { + my ($self, %args) = @_; + $self->{'ha_proxy_config_create_spec'} = $args{'ha_proxy_config_create_spec'}; + return; +} + + +1; + + +## @class Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Server +# +# +# A ``Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Server`` represents +# an endpoint used to configure load balancers. This *class* was added in vSphere API +# 7.0.1.0. + +package Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Server; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Server structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{host} = $args{'host'}; + $self->{port} = $args{'port'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Server'); + $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.load_balancers.server'); + $self->set_binding_field('key' => 'host', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'port', 'value' => new Com::Vmware::Vapi::Bindings::Type::LongType()); + bless $self, $class; + return $self; +} + +## @method get_host () +# Gets the value of 'host' property. +# +# @retval host - The current value of the field. +# Load balancer hostname or IPv4 address. This *field* was added in vSphere API +# 7.0.1.0. +# +# String# +sub get_host { + my ($self, %args) = @_; + return $self->{'host'}; +} + +## @method set_host () +# Sets the given value for 'host' property. +# +# @param host - New value for the field. +# Load balancer hostname or IPv4 address. This *field* was added in vSphere API +# 7.0.1.0. +# +sub set_host { + my ($self, %args) = @_; + $self->{'host'} = $args{'host'}; + return; +} + +## @method get_port () +# Gets the value of 'port' property. +# +# @retval port - The current value of the field. +# Load balancer port. This *field* was added in vSphere API 7.0.1.0. +# +# long# +sub get_port { + my ($self, %args) = @_; + return $self->{'port'}; +} + +## @method set_port () +# Sets the given value for 'port' property. +# +# @param port - New value for the field. +# Load balancer port. This *field* was added in vSphere API 7.0.1.0. +# +sub set_port { + my ($self, %args) = @_; + $self->{'port'} = $args{'port'}; + return; +} + + +1; + + +## @class Com::Vmware::Vcenter::Namespace_management::LoadBalancers::HAProxyConfigCreateSpec +# +# +# ``Com::Vmware::Vcenter::Namespace_management::LoadBalancers::HAProxyConfigCreateSpec`` +# captures the configuration data required for Supervisor Service Type:LoadBalancer to +# have an external load balancer be created via HAProxy. This *class* was added in +# vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Namespace_management::LoadBalancers::HAProxyConfigCreateSpec; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Namespace_management::LoadBalancers::HAProxyConfigCreateSpec structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{servers} = $args{'servers'}; + $self->{username} = $args{'username'}; + $self->{password} = $args{'password'}; + $self->{certificate_authority_chain} = $args{'certificate_authority_chain'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::LoadBalancers::HAProxyConfigCreateSpec'); + $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.load_balancers.HA_proxy_config_create_spec'); + $self->set_binding_field('key' => 'servers', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'LoadBalancers::Server'))); + $self->set_binding_field('key' => 'username', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'password', 'value' => new Com::Vmware::Vapi::Bindings::Type::SecretType()); + $self->set_binding_field('key' => 'certificate_authority_chain', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + bless $self, $class; + return $self; +} + +## @method get_servers () +# Gets the value of 'servers' property. +# +# @retval servers - The current value of the field. +# Servers is a list of the addresses for the data plane API servers used to configure +# Virtual Servers. This *field* was added in vSphere API 7.0.1.0. +# +# List# +sub get_servers { + my ($self, %args) = @_; + return $self->{'servers'}; +} + +## @method set_servers () +# Sets the given value for 'servers' property. +# +# @param servers - New value for the field. +# Servers is a list of the addresses for the data plane API servers used to configure +# Virtual Servers. This *field* was added in vSphere API 7.0.1.0. +# +sub set_servers { + my ($self, %args) = @_; + $self->{'servers'} = $args{'servers'}; + return; +} + +## @method get_username () +# Gets the value of 'username' property. +# +# @retval username - The current value of the field. +# An administrator user name for accessing the HAProxy Data Plane API server. This +# *field* was added in vSphere API 7.0.1.0. +# +# String# +sub get_username { + my ($self, %args) = @_; + return $self->{'username'}; +} + +## @method set_username () +# Sets the given value for 'username' property. +# +# @param username - New value for the field. +# An administrator user name for accessing the HAProxy Data Plane API server. This +# *field* was added in vSphere API 7.0.1.0. +# +sub set_username { + my ($self, %args) = @_; + $self->{'username'} = $args{'username'}; + return; +} + +## @method get_password () +# Gets the value of 'password' property. +# +# @retval password - The current value of the field. +# The password for the administrator user. This *field* was added in vSphere API +# 7.0.1.0. +# +# Secret# +sub get_password { + my ($self, %args) = @_; + return $self->{'password'}; +} + +## @method set_password () +# Sets the given value for 'password' property. +# +# @param password - New value for the field. +# The password for the administrator user. This *field* was added in vSphere API +# 7.0.1.0. +# +sub set_password { + my ($self, %args) = @_; + $self->{'password'} = $args{'password'}; + return; +} + +## @method get_certificate_authority_chain () +# Gets the value of 'certificate_authority_chain' property. +# +# @retval certificate_authority_chain - The current value of the field. +# CertificateAuthorityChain contains PEM-encoded CA chain which is used to verify x509 +# certificates received from the server. This *field* was added in vSphere API +# 7.0.1.0. +# +# String# +sub get_certificate_authority_chain { + my ($self, %args) = @_; + return $self->{'certificate_authority_chain'}; +} + +## @method set_certificate_authority_chain () +# Sets the given value for 'certificate_authority_chain' property. +# +# @param certificate_authority_chain - New value for the field. +# CertificateAuthorityChain contains PEM-encoded CA chain which is used to verify x509 +# certificates received from the server. This *field* was added in vSphere API +# 7.0.1.0. +# +sub set_certificate_authority_chain { + my ($self, %args) = @_; + $self->{'certificate_authority_chain'} = $args{'certificate_authority_chain'}; + return; +} + + +1; + + +## @class Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Summary +# +# +# The ``Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Summary`` contains +# contains basic information related to the load balancer for provisioning virtual +# servers in the namespace. This *class* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Summary; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Summary structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{id} = $args{'id'}; + $self->{provider} = $args{'provider'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Summary'); + $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.load_balancers.summary'); + $self->set_binding_field('key' => 'id', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'provider', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'LoadBalancers::Provider')); + bless $self, $class; + return $self; +} + +## @method get_id () +# Gets the value of 'id' property. +# +# @retval id - The current value of the field. +# An DNS compliant identifier for a load balancer, which can be used to query or +# configure the load balancer properties. This *field* was added in vSphere API +# 7.0.1.0. +# +# ID# +sub get_id { + my ($self, %args) = @_; + return $self->{'id'}; +} + +## @method set_id () +# Sets the given value for 'id' property. +# +# @param id - New value for the field. +# An DNS compliant identifier for a load balancer, which can be used to query or +# configure the load balancer properties. This *field* was added in vSphere API +# 7.0.1.0. +# +sub set_id { + my ($self, %args) = @_; + $self->{'id'} = $args{'id'}; + return; +} + +## @method get_provider () +# Gets the value of 'provider' property. +# +# @retval provider - The current value of the field. +# Load balancer provider for the namespace. This *field* was added in vSphere API +# 7.0.1.0. +# +# Provider# +sub get_provider { + my ($self, %args) = @_; + return $self->{'provider'}; +} + +## @method set_provider () +# Sets the given value for 'provider' property. +# +# @param provider - New value for the field. +# Load balancer provider for the namespace. This *field* was added in vSphere API +# 7.0.1.0. +# +sub set_provider { + my ($self, %args) = @_; + $self->{'provider'} = $args{'provider'}; + return; +} + + +1; + + +## @class Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Info +# +# +# The ``Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Info`` contains +# information related to the load balancer for provisioning virtual servers in the +# namespace. This *class* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Info; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Info structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + $validatorList = [ + new Com::Vmware::Vapi::Data::UnionValidator( + 'discriminant_name' => 'provider', + 'case_map' => { + 'HA_PROXY' => ['ha_proxy_info'], + }), + ]; + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{id} = $args{'id'}; + $self->{address_ranges} = $args{'address_ranges'}; + $self->{provider} = $args{'provider'}; + $self->{ha_proxy_info} = $args{'ha_proxy_info'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::LoadBalancers::Info'); + $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.load_balancers.info'); + $self->set_binding_field('key' => 'id', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'address_ranges', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'IPRange'))); + $self->set_binding_field('key' => 'provider', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'LoadBalancers::Provider')); + $self->set_binding_field('key' => 'ha_proxy_info', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'LoadBalancers::HAProxyInfo'))); + bless $self, $class; + return $self; +} + +## @method get_id () +# Gets the value of 'id' property. +# +# @retval id - The current value of the field. +# An DNS compliant identifier for a load balancer, which can be used to query or +# configure the load balancer properties. This *field* was added in vSphere API +# 7.0.1.0. +# +# ID# +sub get_id { + my ($self, %args) = @_; + return $self->{'id'}; +} + +## @method set_id () +# Sets the given value for 'id' property. +# +# @param id - New value for the field. +# An DNS compliant identifier for a load balancer, which can be used to query or +# configure the load balancer properties. This *field* was added in vSphere API +# 7.0.1.0. +# +sub set_id { + my ($self, %args) = @_; + $self->{'id'} = $args{'id'}; + return; +} + +## @method get_address_ranges () +# Gets the value of 'address_ranges' property. +# +# @retval address_ranges - The current value of the field. +# IP address range from which virtual servers are assigned their IPs. This *field* was +# added in vSphere API 7.0.1.0. +# +# List# +sub get_address_ranges { + my ($self, %args) = @_; + return $self->{'address_ranges'}; +} + +## @method set_address_ranges () +# Sets the given value for 'address_ranges' property. +# +# @param address_ranges - New value for the field. +# IP address range from which virtual servers are assigned their IPs. This *field* was +# added in vSphere API 7.0.1.0. +# +sub set_address_ranges { + my ($self, %args) = @_; + $self->{'address_ranges'} = $args{'address_ranges'}; + return; +} + +## @method get_provider () +# Gets the value of 'provider' property. +# +# @retval provider - The current value of the field. +# Load balancer provider for the namespace. This *field* was added in vSphere API +# 7.0.1.0. +# +# Provider# +sub get_provider { + my ($self, %args) = @_; + return $self->{'provider'}; +} + +## @method set_provider () +# Sets the given value for 'provider' property. +# +# @param provider - New value for the field. +# Load balancer provider for the namespace. This *field* was added in vSphere API +# 7.0.1.0. +# +sub set_provider { + my ($self, %args) = @_; + $self->{'provider'} = $args{'provider'}; + return; +} + +## @method get_ha_proxy_info () +# Gets the value of 'ha_proxy_info' property. +# +# @retval ha_proxy_info - The current value of the field. +# The ``Com::Vmware::Vcenter::Namespace_management::LoadBalancers::HAProxyInfo`` is a +# conditional configuration made available upon selecting the HA_PROXY load balancer +# provider. It is used to configure the load balancer at run time. This *field* was +# added in vSphere API 7.0.1.0. +# +# optional# +sub get_ha_proxy_info { + my ($self, %args) = @_; + return $self->{'ha_proxy_info'}; +} + +## @method set_ha_proxy_info () +# Sets the given value for 'ha_proxy_info' property. +# +# @param ha_proxy_info - New value for the field. +# The ``Com::Vmware::Vcenter::Namespace_management::LoadBalancers::HAProxyInfo`` is a +# conditional configuration made available upon selecting the HA_PROXY load balancer +# provider. It is used to configure the load balancer at run time. This *field* was +# added in vSphere API 7.0.1.0. +# +sub set_ha_proxy_info { + my ($self, %args) = @_; + $self->{'ha_proxy_info'} = $args{'ha_proxy_info'}; + return; +} + + +1; + + +## @class Com::Vmware::Vcenter::Namespace_management::LoadBalancers::HAProxyInfo +# +# +# The ``Com::Vmware::Vcenter::Namespace_management::LoadBalancers::HAProxyInfo`` +# contains information related to the HAProxy load balancer in the namespace. This +# *class* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Namespace_management::LoadBalancers::HAProxyInfo; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Namespace_management::LoadBalancers::HAProxyInfo structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{servers} = $args{'servers'}; + $self->{username} = $args{'username'}; + $self->{certificate_authority_chain} = $args{'certificate_authority_chain'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::LoadBalancers::HAProxyInfo'); + $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.load_balancers.HA_proxy_info'); + $self->set_binding_field('key' => 'servers', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'LoadBalancers::Server'))); + $self->set_binding_field('key' => 'username', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'certificate_authority_chain', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + bless $self, $class; + return $self; +} + +## @method get_servers () +# Gets the value of 'servers' property. +# +# @retval servers - The current value of the field. +# A list of the addresses for the DataPlane API servers used to configure HAProxy. This +# *field* was added in vSphere API 7.0.1.0. +# +# List# +sub get_servers { + my ($self, %args) = @_; + return $self->{'servers'}; +} + +## @method set_servers () +# Sets the given value for 'servers' property. +# +# @param servers - New value for the field. +# A list of the addresses for the DataPlane API servers used to configure HAProxy. This +# *field* was added in vSphere API 7.0.1.0. +# +sub set_servers { + my ($self, %args) = @_; + $self->{'servers'} = $args{'servers'}; + return; +} + +## @method get_username () +# Gets the value of 'username' property. +# +# @retval username - The current value of the field. +# An administrator user name for accessing the HAProxy Data Plane API server. This +# *field* was added in vSphere API 7.0.1.0. +# +# String# +sub get_username { + my ($self, %args) = @_; + return $self->{'username'}; +} + +## @method set_username () +# Sets the given value for 'username' property. +# +# @param username - New value for the field. +# An administrator user name for accessing the HAProxy Data Plane API server. This +# *field* was added in vSphere API 7.0.1.0. +# +sub set_username { + my ($self, %args) = @_; + $self->{'username'} = $args{'username'}; + return; +} + +## @method get_certificate_authority_chain () +# Gets the value of 'certificate_authority_chain' property. +# +# @retval certificate_authority_chain - The current value of the field. +# PEM-encoded CA certificate chain which is used to verify x509 certificates received +# from the server. This *field* was added in vSphere API 7.0.1.0. +# +# String# +sub get_certificate_authority_chain { + my ($self, %args) = @_; + return $self->{'certificate_authority_chain'}; +} + +## @method set_certificate_authority_chain () +# Sets the given value for 'certificate_authority_chain' property. +# +# @param certificate_authority_chain - New value for the field. +# PEM-encoded CA certificate chain which is used to verify x509 certificates received +# from the server. This *field* was added in vSphere API 7.0.1.0. +# +sub set_certificate_authority_chain { + my ($self, %args) = @_; + $self->{'certificate_authority_chain'} = $args{'certificate_authority_chain'}; + return; +} + + +1; + + + +######################################################################################### +# Ends structures for the Com::Vmware::Vcenter::Namespace_management::LoadBalancers service +######################################################################################### diff --git a/lib/sdk/Com/Vmware/Vcenter/Namespace_management/LoadBalancersStub.pm b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/LoadBalancersStub.pm new file mode 100644 index 00000000..b0c77811 --- /dev/null +++ b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/LoadBalancersStub.pm @@ -0,0 +1,145 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file LoadBalancersStub.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +package Com::Vmware::Vcenter::Namespace_management::LoadBalancersStub; + +## @class Com::Vmware::Vcenter::Namespace_management::LoadBalancers +# +#{@name LoadBalancers} represent the user provisioned load balancers. +#The load balancers provided may be used to front the API servers in both, +#vSphere Namespaces Cluster and Tanzu Kubernetes Grid clusters. +#Note: The lifecycle of these load balancers is not managed by vSphere. +# + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::BlobType; +use Com::Vmware::Vapi::Bindings::Type::BooleanType; +use Com::Vmware::Vapi::Bindings::Type::DateTimeType; +use Com::Vmware::Vapi::Bindings::Type::DoubleType; +use Com::Vmware::Vapi::Bindings::Type::EnumType; +use Com::Vmware::Vapi::Bindings::Type::ErrorType; +use Com::Vmware::Vapi::Bindings::Type::ListType; +use Com::Vmware::Vapi::Bindings::Type::LongType; +use Com::Vmware::Vapi::Bindings::Type::MapType; +use Com::Vmware::Vapi::Bindings::Type::OpaqueType; +use Com::Vmware::Vapi::Bindings::Type::OptionalType; +use Com::Vmware::Vapi::Bindings::Type::ReferenceType; +use Com::Vmware::Vapi::Bindings::Type::SecretType; +use Com::Vmware::Vapi::Bindings::Type::SetType; +use Com::Vmware::Vapi::Bindings::Type::StringType; +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vapi::Bindings::Type::DynamicStructType; +use Com::Vmware::Vapi::Bindings::Type::URIType; +use Com::Vmware::Vapi::Bindings::Type::VoidType; +use Com::Vmware::Vapi::Data::UnionValidator; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::ApiInterfaceStub); + +## @method new +# Constructor to initialize the object +# +# @param ApiProvider - ApiProvider for vAPI stubs +# +# @return +# Blessed object +# +sub new +{ + my ($class, %args) = @_; + my $api_provider = $args {api_provider}; + $class = ref($class) || $class; + # + # properties for get operation + # + my $get_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'id' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + } + ); + my $get_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + 'com.vmware.vapi.std.errors.unauthorized' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthorized'), + 'com.vmware.vapi.std.errors.unsupported' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unsupported'), + + }; + + my $get_input_validator_list = [ + ]; + my $get_output_validator_list = []; + + # + # properties for list operation + # + my $list_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + } + ); + my $list_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + 'com.vmware.vapi.std.errors.unauthorized' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthorized'), + 'com.vmware.vapi.std.errors.unsupported' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unsupported'), + + }; + + my $list_input_validator_list = [ + ]; + my $list_output_validator_list = []; + + # + # All the methods (operations) info in a hash + # + my $operations = { + 'get' => { + 'input_type'=> $get_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'LoadBalancers::Info'), + 'errors'=> $get_error_dict, + 'input_validator_list'=> $get_input_validator_list, + 'output_validator_list'=> $get_output_validator_list, + }, + 'list' => { + 'input_type'=> $list_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'LoadBalancers::Summary')), + 'errors'=> $list_error_dict, + 'input_validator_list'=> $list_input_validator_list, + 'output_validator_list'=> $list_output_validator_list, + }, + }; + + my $self = $class->SUPER::new ('api_provider' => $api_provider, + 'iface_name' => 'com.vmware.vcenter.namespace_management.load_balancers', + 'operations' => $operations + ); + bless $self, $class; + return $self; +} + +1; diff --git a/lib/sdk/Com/Vmware/Vcenter/Namespace_management/Networks.pm b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/Networks.pm new file mode 100644 index 00000000..28815381 --- /dev/null +++ b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/Networks.pm @@ -0,0 +1,747 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file Networks.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +## @class Com::Vmware::Vcenter::Namespace_management::Networks +# The ``Com::Vmware::Vcenter::Namespace_management::Networks`` *interface* provides +# lifecycle *methods* on vSphere Namespaces networks associated with a vSphere +# cluster. This *interface* was added in vSphere API 7.0.1.0. +# +# +# Constant String::RESOURCE_TYPE # +#The resource type for network. This *constant* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Namespace_management::Networks; + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vcenter::Namespace_management::NetworksStub; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiInterface); + +# +# Identifier of the service +# +use constant _VAPI_SERVICE_ID => 'com.vmware.vcenter.namespace_management.networks'; + + +## @method new () +# Constructor to initialize the object +# +# @param api_provider - protocol connection to use with +# stubs created by this factory +# @param StubConfig - Stub's additional configuration +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $stub_config = $args {stub_config}; + my $api_provider = $args {api_provider}; + + my $self = $class->SUPER::new('stub_config' => $stub_config, + 'api_provider' => $api_provider); + bless $self, $class; + return $self; +} + +## @method get () +# Return information about a specific vSphere Namespaces network. This *method* was added +# in vSphere API 7.0.1.0. +# +# @param cluster [REQUIRED] Identifier for the cluster. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @param network [REQUIRED] Identifier for the vSphere Namespaces network. +# The value must be an identifier for the resource type +# getQualifiedName(com.vmware.vcenter.namespace_management.Network). +# . The value must be str. +# +# @retval +# List of information about all vSphere Namespaces networks in the cluster. +# The return type will be Com::Vmware::Vcenter::Namespace_management::Networks::Info +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if cluster or network could not be located. +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if the system reports an error while responding to the request. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the user can not be authenticated. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthorized +# if the user does not have System.Read privilege. +# +sub get { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + my $network = $args {network}; + + $self->validate_args (method_name => 'get', + method_args => \%args); + + return $self->invoke (method_name => 'get', + method_args => \%args); +} + +## @method list () +# Return information about all vSphere Namespaces networks in the cluster. This *method* +# was added in vSphere API 7.0.1.0. +# +# @param cluster [REQUIRED] Identifier for the cluster. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @retval +# Information about the specified vSphere Namespaces network.. +# The return type will be Array of +# Com::Vmware::Vcenter::Namespace_management::Networks::Info +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if cluster or network could not be located. +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if the system reports an error while responding to the request. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the user can not be authenticated. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthorized +# if the user does not have System.Read privilege. +# +sub list { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + + $self->validate_args (method_name => 'list', + method_args => \%args); + + return $self->invoke (method_name => 'list', + method_args => \%args); +} + +1; + +######################################################################################### +# Begins enumerations for the Com::Vmware::Vcenter::Namespace_management::Networks service +######################################################################################### + + + +######################################################################################### +# Ends enumerations for the Com::Vmware::Vcenter::Namespace_management::Networks service +######################################################################################### + +######################################################################################### +# Begins structures for the Com::Vmware::Vcenter::Namespace_management::Networks service +######################################################################################### + +## @class Com::Vmware::Vcenter::Namespace_management::Networks::VsphereDVPGNetworkCreateSpec +# +# +# The +# ``Com::Vmware::Vcenter::Namespace_management::Networks::VsphereDVPGNetworkCreateSpec`` +# *class* describes the configuration specification of a vSphere DVPG-backed Namespaces +# Network object. This *class* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Namespace_management::Networks::VsphereDVPGNetworkCreateSpec; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Namespace_management::Networks::VsphereDVPGNetworkCreateSpec structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{portgroup} = $args{'portgroup'}; + $self->{address_ranges} = $args{'address_ranges'}; + $self->{gateway} = $args{'gateway'}; + $self->{subnet_mask} = $args{'subnet_mask'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::Networks::VsphereDVPGNetworkCreateSpec'); + $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.networks.vsphere_DVPG_network_create_spec'); + $self->set_binding_field('key' => 'portgroup', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'address_ranges', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'IPRange'))); + $self->set_binding_field('key' => 'gateway', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'subnet_mask', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + bless $self, $class; + return $self; +} + +## @method get_portgroup () +# Gets the value of 'portgroup' property. +# +# @retval portgroup - The current value of the field. +# Identifier of the vSphere Distributed Portgroup backing the vSphere network object. +# This *field* was added in vSphere API 7.0.1.0. +# +# ID# +sub get_portgroup { + my ($self, %args) = @_; + return $self->{'portgroup'}; +} + +## @method set_portgroup () +# Sets the given value for 'portgroup' property. +# +# @param portgroup - New value for the field. +# Identifier of the vSphere Distributed Portgroup backing the vSphere network object. +# This *field* was added in vSphere API 7.0.1.0. +# +sub set_portgroup { + my ($self, %args) = @_; + $self->{'portgroup'} = $args{'portgroup'}; + return; +} + +## @method get_address_ranges () +# Gets the value of 'address_ranges' property. +# +# @retval address_ranges - The current value of the field. +# Usable IP pools on this network. This *field* was added in vSphere API 7.0.1.0. +# +# List# +sub get_address_ranges { + my ($self, %args) = @_; + return $self->{'address_ranges'}; +} + +## @method set_address_ranges () +# Sets the given value for 'address_ranges' property. +# +# @param address_ranges - New value for the field. +# Usable IP pools on this network. This *field* was added in vSphere API 7.0.1.0. +# +sub set_address_ranges { + my ($self, %args) = @_; + $self->{'address_ranges'} = $args{'address_ranges'}; + return; +} + +## @method get_gateway () +# Gets the value of 'gateway' property. +# +# @retval gateway - The current value of the field. +# Gateway for the network. This *field* was added in vSphere API 7.0.1.0. +# +# String# +sub get_gateway { + my ($self, %args) = @_; + return $self->{'gateway'}; +} + +## @method set_gateway () +# Sets the given value for 'gateway' property. +# +# @param gateway - New value for the field. +# Gateway for the network. This *field* was added in vSphere API 7.0.1.0. +# +sub set_gateway { + my ($self, %args) = @_; + $self->{'gateway'} = $args{'gateway'}; + return; +} + +## @method get_subnet_mask () +# Gets the value of 'subnet_mask' property. +# +# @retval subnet_mask - The current value of the field. +# Subnet mask of the network. This *field* was added in vSphere API 7.0.1.0. +# +# String# +sub get_subnet_mask { + my ($self, %args) = @_; + return $self->{'subnet_mask'}; +} + +## @method set_subnet_mask () +# Sets the given value for 'subnet_mask' property. +# +# @param subnet_mask - New value for the field. +# Subnet mask of the network. This *field* was added in vSphere API 7.0.1.0. +# +sub set_subnet_mask { + my ($self, %args) = @_; + $self->{'subnet_mask'} = $args{'subnet_mask'}; + return; +} + + +1; + + +## @class Com::Vmware::Vcenter::Namespace_management::Networks::CreateSpec +# +# +# The ``Com::Vmware::Vcenter::Namespace_management::Networks::CreateSpec`` *class* +# contains the specification required to create a vSphere Namespaces network object. +# This *class* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Namespace_management::Networks::CreateSpec; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Namespace_management::Networks::CreateSpec structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + $validatorList = [ + new Com::Vmware::Vapi::Data::UnionValidator( + 'discriminant_name' => 'network_provider', + 'case_map' => { + 'VSPHERE_NETWORK' => ['vsphere_network'], + 'NSXT_CONTAINER_PLUGIN' => [], + }), + ]; + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{network} = $args{'network'}; + $self->{network_provider} = $args{'network_provider'}; + $self->{vsphere_network} = $args{'vsphere_network'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::Networks::CreateSpec'); + $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.networks.create_spec'); + $self->set_binding_field('key' => 'network', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'network_provider', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::NetworkProvider')); + $self->set_binding_field('key' => 'vsphere_network', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Networks::VsphereDVPGNetworkCreateSpec'))); + bless $self, $class; + return $self; +} + +## @method get_network () +# Gets the value of 'network' property. +# +# @retval network - The current value of the field. +# Identifier of the network. This has DNS_LABEL restrictions as specified in . This must be an alphanumeric (a-z +# and 0-9) string and with maximum length of 63 characters and with the '-' +# character allowed anywhere except the first or last character. This name must be +# unique within a cluster. This *field* was added in vSphere API 7.0.1.0. +# +# ID# +sub get_network { + my ($self, %args) = @_; + return $self->{'network'}; +} + +## @method set_network () +# Sets the given value for 'network' property. +# +# @param network - New value for the field. +# Identifier of the network. This has DNS_LABEL restrictions as specified in . This must be an alphanumeric (a-z +# and 0-9) string and with maximum length of 63 characters and with the '-' +# character allowed anywhere except the first or last character. This name must be +# unique within a cluster. This *field* was added in vSphere API 7.0.1.0. +# +sub set_network { + my ($self, %args) = @_; + $self->{'network'} = $args{'network'}; + return; +} + +## @method get_network_provider () +# Gets the value of 'network_provider' property. +# +# @retval network_provider - The current value of the field. +# The network provider that will manage the vSphere Namespaces network object. This +# *field* was added in vSphere API 7.0.1.0. +# +# NetworkProvider# +sub get_network_provider { + my ($self, %args) = @_; + return $self->{'network_provider'}; +} + +## @method set_network_provider () +# Sets the given value for 'network_provider' property. +# +# @param network_provider - New value for the field. +# The network provider that will manage the vSphere Namespaces network object. This +# *field* was added in vSphere API 7.0.1.0. +# +sub set_network_provider { + my ($self, %args) = @_; + $self->{'network_provider'} = $args{'network_provider'}; + return; +} + +## @method get_vsphere_network () +# Gets the value of 'vsphere_network' property. +# +# @retval vsphere_network - The current value of the field. +# The create spec for a DVPG-backed Namespaces network object, supported by +# ``VSPHERE_NETWORK`` network provider. This *field* was added in vSphere API +# 7.0.1.0. +# +# optional# +sub get_vsphere_network { + my ($self, %args) = @_; + return $self->{'vsphere_network'}; +} + +## @method set_vsphere_network () +# Sets the given value for 'vsphere_network' property. +# +# @param vsphere_network - New value for the field. +# The create spec for a DVPG-backed Namespaces network object, supported by +# ``VSPHERE_NETWORK`` network provider. This *field* was added in vSphere API +# 7.0.1.0. +# +sub set_vsphere_network { + my ($self, %args) = @_; + $self->{'vsphere_network'} = $args{'vsphere_network'}; + return; +} + + +1; + + +## @class Com::Vmware::Vcenter::Namespace_management::Networks::VsphereDVPGNetworkInfo +# +# +# The ``Com::Vmware::Vcenter::Namespace_management::Networks::VsphereDVPGNetworkInfo`` +# *class* describes the configuration specification of a vSphere DVPG-backed Namespaces +# Network object. This *class* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Namespace_management::Networks::VsphereDVPGNetworkInfo; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Namespace_management::Networks::VsphereDVPGNetworkInfo structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{portgroup} = $args{'portgroup'}; + $self->{address_ranges} = $args{'address_ranges'}; + $self->{gateway} = $args{'gateway'}; + $self->{subnet_mask} = $args{'subnet_mask'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::Networks::VsphereDVPGNetworkInfo'); + $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.networks.vsphere_DVPG_network_info'); + $self->set_binding_field('key' => 'portgroup', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'address_ranges', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'IPRange'))); + $self->set_binding_field('key' => 'gateway', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'subnet_mask', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + bless $self, $class; + return $self; +} + +## @method get_portgroup () +# Gets the value of 'portgroup' property. +# +# @retval portgroup - The current value of the field. +# Identifier of the vSphere Distributed Portgroup backing the vSphere network object. +# This *field* was added in vSphere API 7.0.1.0. +# +# ID# +sub get_portgroup { + my ($self, %args) = @_; + return $self->{'portgroup'}; +} + +## @method set_portgroup () +# Sets the given value for 'portgroup' property. +# +# @param portgroup - New value for the field. +# Identifier of the vSphere Distributed Portgroup backing the vSphere network object. +# This *field* was added in vSphere API 7.0.1.0. +# +sub set_portgroup { + my ($self, %args) = @_; + $self->{'portgroup'} = $args{'portgroup'}; + return; +} + +## @method get_address_ranges () +# Gets the value of 'address_ranges' property. +# +# @retval address_ranges - The current value of the field. +# Usable IP pools on this network. This *field* was added in vSphere API 7.0.1.0. +# +# List# +sub get_address_ranges { + my ($self, %args) = @_; + return $self->{'address_ranges'}; +} + +## @method set_address_ranges () +# Sets the given value for 'address_ranges' property. +# +# @param address_ranges - New value for the field. +# Usable IP pools on this network. This *field* was added in vSphere API 7.0.1.0. +# +sub set_address_ranges { + my ($self, %args) = @_; + $self->{'address_ranges'} = $args{'address_ranges'}; + return; +} + +## @method get_gateway () +# Gets the value of 'gateway' property. +# +# @retval gateway - The current value of the field. +# Gateway for the network. This *field* was added in vSphere API 7.0.1.0. +# +# String# +sub get_gateway { + my ($self, %args) = @_; + return $self->{'gateway'}; +} + +## @method set_gateway () +# Sets the given value for 'gateway' property. +# +# @param gateway - New value for the field. +# Gateway for the network. This *field* was added in vSphere API 7.0.1.0. +# +sub set_gateway { + my ($self, %args) = @_; + $self->{'gateway'} = $args{'gateway'}; + return; +} + +## @method get_subnet_mask () +# Gets the value of 'subnet_mask' property. +# +# @retval subnet_mask - The current value of the field. +# Subnet mask of the network. This *field* was added in vSphere API 7.0.1.0. +# +# String# +sub get_subnet_mask { + my ($self, %args) = @_; + return $self->{'subnet_mask'}; +} + +## @method set_subnet_mask () +# Sets the given value for 'subnet_mask' property. +# +# @param subnet_mask - New value for the field. +# Subnet mask of the network. This *field* was added in vSphere API 7.0.1.0. +# +sub set_subnet_mask { + my ($self, %args) = @_; + $self->{'subnet_mask'} = $args{'subnet_mask'}; + return; +} + + +1; + + +## @class Com::Vmware::Vcenter::Namespace_management::Networks::Info +# +# + + +package Com::Vmware::Vcenter::Namespace_management::Networks::Info; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Namespace_management::Networks::Info structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + $validatorList = [ + new Com::Vmware::Vapi::Data::UnionValidator( + 'discriminant_name' => 'network_provider', + 'case_map' => { + 'VSPHERE_NETWORK' => ['vsphere_network'], + 'NSXT_CONTAINER_PLUGIN' => [], + }), + ]; + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{network} = $args{'network'}; + $self->{network_provider} = $args{'network_provider'}; + $self->{vsphere_network} = $args{'vsphere_network'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespace_management::Networks::Info'); + $self->set_binding_name('name' => 'com.vmware.vcenter.namespace_management.networks.info'); + $self->set_binding_field('key' => 'network', 'value' => new Com::Vmware::Vapi::Bindings::Type::StringType()); + $self->set_binding_field('key' => 'network_provider', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Clusters::NetworkProvider')); + $self->set_binding_field('key' => 'vsphere_network', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Networks::VsphereDVPGNetworkInfo'))); + bless $self, $class; + return $self; +} + +## @method get_network () +# Gets the value of 'network' property. +# +# @retval network - The current value of the field. +# Identifier of the network. This *field* was added in vSphere API 7.0.1.0. +# +# ID# +sub get_network { + my ($self, %args) = @_; + return $self->{'network'}; +} + +## @method set_network () +# Sets the given value for 'network' property. +# +# @param network - New value for the field. +# Identifier of the network. This *field* was added in vSphere API 7.0.1.0. +# +sub set_network { + my ($self, %args) = @_; + $self->{'network'} = $args{'network'}; + return; +} + +## @method get_network_provider () +# Gets the value of 'network_provider' property. +# +# @retval network_provider - The current value of the field. +# The network provider that will manage the vSphere Namespaces network object. This +# *field* was added in vSphere API 7.0.1.0. +# +# NetworkProvider# +sub get_network_provider { + my ($self, %args) = @_; + return $self->{'network_provider'}; +} + +## @method set_network_provider () +# Sets the given value for 'network_provider' property. +# +# @param network_provider - New value for the field. +# The network provider that will manage the vSphere Namespaces network object. This +# *field* was added in vSphere API 7.0.1.0. +# +sub set_network_provider { + my ($self, %args) = @_; + $self->{'network_provider'} = $args{'network_provider'}; + return; +} + +## @method get_vsphere_network () +# Gets the value of 'vsphere_network' property. +# +# @retval vsphere_network - The current value of the field. +# Updated configuration specification for a DVPG-backed Namespaces network object, +# supported by ``VSPHERE_NETWORK`` network provider. This *field* was added in +# vSphere API 7.0.1.0. +# +# optional# +sub get_vsphere_network { + my ($self, %args) = @_; + return $self->{'vsphere_network'}; +} + +## @method set_vsphere_network () +# Sets the given value for 'vsphere_network' property. +# +# @param vsphere_network - New value for the field. +# Updated configuration specification for a DVPG-backed Namespaces network object, +# supported by ``VSPHERE_NETWORK`` network provider. This *field* was added in +# vSphere API 7.0.1.0. +# +sub set_vsphere_network { + my ($self, %args) = @_; + $self->{'vsphere_network'} = $args{'vsphere_network'}; + return; +} + + +1; + + + +######################################################################################### +# Ends structures for the Com::Vmware::Vcenter::Namespace_management::Networks service +######################################################################################### diff --git a/lib/sdk/Com/Vmware/Vcenter/Namespace_management/NetworksStub.pm b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/NetworksStub.pm new file mode 100644 index 00000000..f13ebc8e --- /dev/null +++ b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/NetworksStub.pm @@ -0,0 +1,141 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file NetworksStub.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std::Errors; + +package Com::Vmware::Vcenter::Namespace_management::NetworksStub; + +## @class Com::Vmware::Vcenter::Namespace_management::Networks +# +#The {@name Networks} {@term service} provides lifecycle {@term operations} +#on vSphere Namespaces networks associated with a vSphere cluster. +# + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::BlobType; +use Com::Vmware::Vapi::Bindings::Type::BooleanType; +use Com::Vmware::Vapi::Bindings::Type::DateTimeType; +use Com::Vmware::Vapi::Bindings::Type::DoubleType; +use Com::Vmware::Vapi::Bindings::Type::EnumType; +use Com::Vmware::Vapi::Bindings::Type::ErrorType; +use Com::Vmware::Vapi::Bindings::Type::ListType; +use Com::Vmware::Vapi::Bindings::Type::LongType; +use Com::Vmware::Vapi::Bindings::Type::MapType; +use Com::Vmware::Vapi::Bindings::Type::OpaqueType; +use Com::Vmware::Vapi::Bindings::Type::OptionalType; +use Com::Vmware::Vapi::Bindings::Type::ReferenceType; +use Com::Vmware::Vapi::Bindings::Type::SecretType; +use Com::Vmware::Vapi::Bindings::Type::SetType; +use Com::Vmware::Vapi::Bindings::Type::StringType; +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vapi::Bindings::Type::DynamicStructType; +use Com::Vmware::Vapi::Bindings::Type::URIType; +use Com::Vmware::Vapi::Bindings::Type::VoidType; +use Com::Vmware::Vapi::Data::UnionValidator; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::ApiInterfaceStub); + +## @method new +# Constructor to initialize the object +# +# @param ApiProvider - ApiProvider for vAPI stubs +# +# @return +# Blessed object +# +sub new +{ + my ($class, %args) = @_; + my $api_provider = $args {api_provider}; + $class = ref($class) || $class; + # + # properties for get operation + # + my $get_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'network' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + } + ); + my $get_error_dict = { + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + 'com.vmware.vapi.std.errors.unauthorized' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthorized'), + + }; + + my $get_input_validator_list = [ + ]; + my $get_output_validator_list = []; + + # + # properties for list operation + # + my $list_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + } + ); + my $list_error_dict = { + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + 'com.vmware.vapi.std.errors.unauthorized' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthorized'), + + }; + + my $list_input_validator_list = [ + ]; + my $list_output_validator_list = []; + + # + # All the methods (operations) info in a hash + # + my $operations = { + 'get' => { + 'input_type'=> $get_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Networks::Info'), + 'errors'=> $get_error_dict, + 'input_validator_list'=> $get_input_validator_list, + 'output_validator_list'=> $get_output_validator_list, + }, + 'list' => { + 'input_type'=> $list_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespace_management', 'type_name' => 'Networks::Info')), + 'errors'=> $list_error_dict, + 'input_validator_list'=> $list_input_validator_list, + 'output_validator_list'=> $list_output_validator_list, + }, + }; + + my $self = $class->SUPER::new ('api_provider' => $api_provider, + 'iface_name' => 'com.vmware.vcenter.namespace_management.networks', + 'operations' => $operations + ); + bless $self, $class; + return $self; +} + +1; diff --git a/lib/sdk/Com/Vmware/Vcenter/Namespace_management/SupportBundle.pm b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/SupportBundle.pm index 328c933c..e9ad56fc 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Namespace_management/SupportBundle.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Namespace_management/SupportBundle.pm @@ -118,7 +118,7 @@ sub new { # if the user can not be authenticated. # # @throw Com::Vmware::Vapi::Std::Errors::Unauthorized -# if the user does not have System.Read privilege. +# if the user does not have Global.Diagnostics privilege. # sub create { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Namespaces/Instances.pm b/lib/sdk/Com/Vmware/Vcenter/Namespaces/Instances.pm index 2205b639..da8bcdd3 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Namespaces/Instances.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Namespaces/Instances.pm @@ -92,7 +92,9 @@ sub new { # # @throw Com::Vmware::Vapi::Std::Errors::Unsupported # if :attr:`Com::Vmware::Vcenter::Namespaces::Instances::CreateSpec.cluster` is not -# enabled for Namespaces. +# enabled for Namespaces, or if the networks field is set when the +# :attr:`Com::Vmware::Vcenter::Namespaces::Instances::CreateSpec.cluster` hosting the +# namespace uses NSXT_CONTAINER_PLUGIN as its network provider. # # @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated # if the user can not be authenticated. @@ -1091,6 +1093,7 @@ sub new { $self->{resource_spec} = $args{'resource_spec'}; $self->{access_list} = $args{'access_list'}; $self->{storage_specs} = $args{'storage_specs'}; + $self->{networks} = $args{'networks'}; $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespaces::Instances::Info'); $self->set_binding_name('name' => 'com.vmware.vcenter.namespaces.instances.info'); @@ -1102,6 +1105,7 @@ sub new { $self->set_binding_field('key' => 'resource_spec', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::DynamicStructType())); $self->set_binding_field('key' => 'access_list', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespaces', 'type_name' => 'Instances::Access'))); $self->set_binding_field('key' => 'storage_specs', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespaces', 'type_name' => 'Instances::StorageSpec'))); + $self->set_binding_field('key' => 'networks', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); bless $self, $class; return $self; } @@ -1300,6 +1304,32 @@ sub set_storage_specs { return; } +## @method get_networks () +# Gets the value of 'networks' property. +# +# @retval networks - The current value of the field. +# vSphere Networks associated with the namespace. This *field* was added in vSphere +# API 7.0.1.0. +# +# Optional# +sub get_networks { + my ($self, %args) = @_; + return $self->{'networks'}; +} + +## @method set_networks () +# Sets the given value for 'networks' property. +# +# @param networks - New value for the field. +# vSphere Networks associated with the namespace. This *field* was added in vSphere +# API 7.0.1.0. +# +sub set_networks { + my ($self, %args) = @_; + $self->{'networks'} = $args{'networks'}; + return; +} + 1; @@ -1649,6 +1679,7 @@ sub new { $self->{resource_spec} = $args{'resource_spec'}; $self->{access_list} = $args{'access_list'}; $self->{storage_specs} = $args{'storage_specs'}; + $self->{networks} = $args{'networks'}; $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Namespaces::Instances::CreateSpec'); $self->set_binding_name('name' => 'com.vmware.vcenter.namespaces.instances.create_spec'); @@ -1658,6 +1689,7 @@ sub new { $self->set_binding_field('key' => 'resource_spec', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::DynamicStructType())); $self->set_binding_field('key' => 'access_list', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespaces', 'type_name' => 'Instances::Access')))); $self->set_binding_field('key' => 'storage_specs', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Namespaces', 'type_name' => 'Instances::StorageSpec')))); + $self->set_binding_field('key' => 'networks', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); bless $self, $class; return $self; } @@ -1820,6 +1852,34 @@ sub set_storage_specs { return; } +## @method get_networks () +# Gets the value of 'networks' property. +# +# @retval networks - The current value of the field. +# vSphere Namespaces network objects to be associated with the namespace. The values of +# this list need to reference names of pre-existing ``Networks.Info`` *class* s. This +# *field* was added in vSphere API 7.0.1.0. +# +# Optional# +sub get_networks { + my ($self, %args) = @_; + return $self->{'networks'}; +} + +## @method set_networks () +# Sets the given value for 'networks' property. +# +# @param networks - New value for the field. +# vSphere Namespaces network objects to be associated with the namespace. The values of +# this list need to reference names of pre-existing ``Networks.Info`` *class* s. This +# *field* was added in vSphere API 7.0.1.0. +# +sub set_networks { + my ($self, %args) = @_; + $self->{'networks'} = $args{'networks'}; + return; +} + 1; diff --git a/lib/sdk/Com/Vmware/Vcenter/Network.pm b/lib/sdk/Com/Vmware/Vcenter/Network.pm index 1673c7c2..760aed83 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Network.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Network.pm @@ -125,14 +125,14 @@ sub list { # # # Constant Com::Vmware::Vcenter::Network::Type::STANDARD_PORTGROUP # -#XXX: ESX based (created and managed on ESX) +#vSphere standard portgroup (created and managed on ESX) # # Constant Com::Vmware::Vcenter::Network::Type::DISTRIBUTED_PORTGROUP # -#XXX: vCenter based (create and managed through vCenter) +#Distributed virtual portgroup (created and managed through vCenter) # # Constant Com::Vmware::Vcenter::Network::Type::OPAQUE_NETWORK # -#A network for whose configuration is managed outside of vSphere. The identifer and name of -# the network is made available through vSphere so that host and virtual machine virtual +#A network whose configuration is managed outside of vSphere. The identifer and name of the +# network is made available through vSphere so that host and virtual machine virtual # ethernet devices can connect to them. package Com::Vmware::Vcenter::Network::Type; diff --git a/lib/sdk/Com/Vmware/Vcenter/ResourcePool.pm b/lib/sdk/Com/Vmware/Vcenter/ResourcePool.pm index fbe2ab26..b712be93 100644 --- a/lib/sdk/Com/Vmware/Vcenter/ResourcePool.pm +++ b/lib/sdk/Com/Vmware/Vcenter/ResourcePool.pm @@ -152,7 +152,7 @@ sub list { } ## @method create () -# Creates a resource pool. This *method* was added in vSphere API 7.0.0. +# Creates a resource pool. This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are Resource.CreatePool. @@ -208,7 +208,7 @@ sub create { } ## @method delete () -# Deletes a resource pool. This *method* was added in vSphere API 7.0.0. +# Deletes a resource pool. This *method* was added in vSphere API 7.0.0.0. # # @param resource_pool [REQUIRED] Identifier of the resource pool to be deleted. # The value must be an identifier for the resource type getQualifiedName(ResourcePool). @@ -245,7 +245,7 @@ sub delete { ## @method update () # Updates the configuration of a resource pool. This *method* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Note: # Privileges required for this operation are Resource.EditPool. @@ -322,7 +322,7 @@ sub update { # general, a consumer with more shares gets proportionally more of the resource, subject # to certain other constraints.

    # -# . This *class* was added in vSphere API 7.0.0. +# . This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::ResourcePool::SharesInfo; @@ -377,7 +377,7 @@ sub new { # @retval level - The current value of the field. # The allocation level. It maps to a pre-determined set of numeric values for shares. If # the shares value does not map to a predefined size, then the level is set as CUSTOM. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # # Level# sub get_level { @@ -391,7 +391,7 @@ sub get_level { # @param level - New value for the field. # The allocation level. It maps to a pre-determined set of numeric values for shares. If # the shares value does not map to a predefined size, then the level is set as CUSTOM. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # sub set_level { my ($self, %args) = @_; @@ -409,7 +409,7 @@ sub set_level { # There is no unit for this value. It is a relative measure based on the settings for # other resource pools.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_shares { @@ -427,7 +427,7 @@ sub get_shares { # There is no unit for this value. It is a relative measure based on the settings for # other resource pools.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_shares { my ($self, %args) = @_; @@ -443,28 +443,28 @@ sub set_shares { # # The ``Com::Vmware::Vcenter::ResourcePool::SharesInfo::Level`` *enumerated type* # defines the possible values for the allocation level. This *enumeration* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::ResourcePool::SharesInfo::Level::LOW # #For CPU: Shares = 500 * number of virtual CPUs. # For Memory: Shares = 5 * virtual machine memory size in MB. -# . This *constant* was added in vSphere API 7.0.0. +# . This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::ResourcePool::SharesInfo::Level::NORMAL # #For CPU: Shares = 1000 * number of virtual CPUs. # For Memory: Shares = 10 * virtual machine memory size in MB. -# . This *constant* was added in vSphere API 7.0.0. +# . This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::ResourcePool::SharesInfo::Level::HIGH # #For CPU: Shares = 2000 * nmumber of virtual CPUs. # For Memory: Shares = 20 * virtual machine memory size in MB. -# . This *constant* was added in vSphere API 7.0.0. +# . This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::ResourcePool::SharesInfo::Level::CUSTOM # #If *set* , in case there is resource contention the server uses the shares value to -# determine the resource allocation. This *constant* was added in vSphere API 7.0.0. +# determine the resource allocation. This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::ResourcePool::SharesInfo::Level; @@ -507,7 +507,7 @@ sub new { # # The ``Com::Vmware::Vcenter::ResourcePool::ResourceAllocationInfo`` *class* # contains resource allocation information of a resource pool. This *class* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::ResourcePool::ResourceAllocationInfo; @@ -557,7 +557,7 @@ sub new { # Amount of resource that is guaranteed available to a resource pool. Reserved resources # are not wasted if they are not used. If the utilization is less than the reservation, # the resources can be utilized by other running virtual machines. Units are MB fo -# memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0. +# memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0.0. # # long# sub get_reservation { @@ -572,7 +572,7 @@ sub get_reservation { # Amount of resource that is guaranteed available to a resource pool. Reserved resources # are not wasted if they are not used. If the utilization is less than the reservation, # the resources can be utilized by other running virtual machines. Units are MB fo -# memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0. +# memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0.0. # sub set_reservation { my ($self, %args) = @_; @@ -587,7 +587,7 @@ sub set_reservation { # In a resource pool with an expandable reservation, the reservation can grow beyond the # specified value, if the parent resource pool has unreserved resources. A # non-expandable reservation is called a fixed reservation. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # boolean# sub get_expandable_reservation { @@ -602,7 +602,7 @@ sub get_expandable_reservation { # In a resource pool with an expandable reservation, the reservation can grow beyond the # specified value, if the parent resource pool has unreserved resources. A # non-expandable reservation is called a fixed reservation. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_expandable_reservation { my ($self, %args) = @_; @@ -618,7 +618,7 @@ sub set_expandable_reservation { # available resources. This is typically used to ensure a consistent performance of # resource pools independent of available resources. If set to -1, then there is no # fixed limit on resource usage (only bounded by available resources and shares). Units -# are MB for memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0. +# are MB for memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0.0. # # long# sub get_limit { @@ -634,7 +634,7 @@ sub get_limit { # available resources. This is typically used to ensure a consistent performance of # resource pools independent of available resources. If set to -1, then there is no # fixed limit on resource usage (only bounded by available resources and shares). Units -# are MB for memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0. +# are MB for memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0.0. # sub set_limit { my ($self, %args) = @_; @@ -647,7 +647,7 @@ sub set_limit { # # @retval shares - The current value of the field. # Shares are used in case of resource contention. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # # SharesInfo# sub get_shares { @@ -660,7 +660,7 @@ sub get_shares { # # @param shares - New value for the field. # Shares are used in case of resource contention. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # sub set_shares { my ($self, %args) = @_; @@ -772,7 +772,7 @@ sub set_resource_pools { # # @retval cpu_allocation - The current value of the field. # Resource allocation information for CPU. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # optional# sub get_cpu_allocation { @@ -785,7 +785,7 @@ sub get_cpu_allocation { # # @param cpu_allocation - New value for the field. # Resource allocation information for CPU. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_cpu_allocation { my ($self, %args) = @_; @@ -798,7 +798,7 @@ sub set_cpu_allocation { # # @retval memory_allocation - The current value of the field. # Resource allocation information for memory. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # optional# sub get_memory_allocation { @@ -811,7 +811,7 @@ sub get_memory_allocation { # # @param memory_allocation - New value for the field. # Resource allocation information for memory. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_memory_allocation { my ($self, %args) = @_; @@ -1133,7 +1133,7 @@ sub set_name { # The ``Com::Vmware::Vcenter::ResourcePool::ResourceAllocationCreateSpec`` *class* # contains resource allocation information used to create a resource pool, see # :func:`Com::Vmware::Vcenter::ResourcePool.create` . This *class* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. package Com::Vmware::Vcenter::ResourcePool::ResourceAllocationCreateSpec; @@ -1183,7 +1183,7 @@ sub new { # Amount of resource that is guaranteed available to a resource pool. Reserved resources # are not wasted if they are not used. If the utilization is less than the reservation, # the resources can be utilized by other running virtual machines. Units are MB fo -# memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0. +# memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_reservation { @@ -1198,7 +1198,7 @@ sub get_reservation { # Amount of resource that is guaranteed available to a resource pool. Reserved resources # are not wasted if they are not used. If the utilization is less than the reservation, # the resources can be utilized by other running virtual machines. Units are MB fo -# memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0. +# memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0.0. # sub set_reservation { my ($self, %args) = @_; @@ -1213,7 +1213,7 @@ sub set_reservation { # In a resource pool with an expandable reservation, the reservation can grow beyond the # specified value, if the parent resource pool has unreserved resources. A # non-expandable reservation is called a fixed reservation. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_expandable_reservation { @@ -1228,7 +1228,7 @@ sub get_expandable_reservation { # In a resource pool with an expandable reservation, the reservation can grow beyond the # specified value, if the parent resource pool has unreserved resources. A # non-expandable reservation is called a fixed reservation. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_expandable_reservation { my ($self, %args) = @_; @@ -1244,7 +1244,7 @@ sub set_expandable_reservation { # available resources. This is typically used to ensure a consistent performance of # resource pools independent of available resources. If set to -1, then there is no # fixed limit on resource usage (only bounded by available resources and shares). Units -# are MB for memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0. +# are MB for memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_limit { @@ -1260,7 +1260,7 @@ sub get_limit { # available resources. This is typically used to ensure a consistent performance of # resource pools independent of available resources. If set to -1, then there is no # fixed limit on resource usage (only bounded by available resources and shares). Units -# are MB for memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0. +# are MB for memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0.0. # sub set_limit { my ($self, %args) = @_; @@ -1273,7 +1273,7 @@ sub set_limit { # # @retval shares - The current value of the field. # Shares are used in case of resource contention. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # # Optional# sub get_shares { @@ -1286,7 +1286,7 @@ sub get_shares { # # @param shares - New value for the field. # Shares are used in case of resource contention. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # sub set_shares { my ($self, %args) = @_; @@ -1303,7 +1303,7 @@ sub set_shares { # # The *class* contains information used to create a resource pool, see # :func:`Com::Vmware::Vcenter::ResourcePool.create` . This *class* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. package Com::Vmware::Vcenter::ResourcePool::CreateSpec; @@ -1350,7 +1350,7 @@ sub new { # Gets the value of 'name' property. # # @retval name - The current value of the field. -# Name of the resource pool. This *field* was added in vSphere API 7.0.0. +# Name of the resource pool. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_name { @@ -1362,7 +1362,7 @@ sub get_name { # Sets the given value for 'name' property. # # @param name - New value for the field. -# Name of the resource pool. This *field* was added in vSphere API 7.0.0. +# Name of the resource pool. This *field* was added in vSphere API 7.0.0.0. # sub set_name { my ($self, %args) = @_; @@ -1374,7 +1374,7 @@ sub set_name { # Gets the value of 'parent' property. # # @retval parent - The current value of the field. -# Parent of the created resource pool. This *field* was added in vSphere API 7.0.0. +# Parent of the created resource pool. This *field* was added in vSphere API 7.0.0.0. # # ID# sub get_parent { @@ -1386,7 +1386,7 @@ sub get_parent { # Sets the given value for 'parent' property. # # @param parent - New value for the field. -# Parent of the created resource pool. This *field* was added in vSphere API 7.0.0. +# Parent of the created resource pool. This *field* was added in vSphere API 7.0.0.0. # sub set_parent { my ($self, %args) = @_; @@ -1398,7 +1398,7 @@ sub set_parent { # Gets the value of 'cpu_allocation' property. # # @retval cpu_allocation - The current value of the field. -# Resource allocation for CPU. This *field* was added in vSphere API 7.0.0. +# Resource allocation for CPU. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_cpu_allocation { @@ -1410,7 +1410,7 @@ sub get_cpu_allocation { # Sets the given value for 'cpu_allocation' property. # # @param cpu_allocation - New value for the field. -# Resource allocation for CPU. This *field* was added in vSphere API 7.0.0. +# Resource allocation for CPU. This *field* was added in vSphere API 7.0.0.0. # sub set_cpu_allocation { my ($self, %args) = @_; @@ -1422,7 +1422,7 @@ sub set_cpu_allocation { # Gets the value of 'memory_allocation' property. # # @retval memory_allocation - The current value of the field. -# Resource allocation for memory. This *field* was added in vSphere API 7.0.0. +# Resource allocation for memory. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_memory_allocation { @@ -1434,7 +1434,7 @@ sub get_memory_allocation { # Sets the given value for 'memory_allocation' property. # # @param memory_allocation - New value for the field. -# Resource allocation for memory. This *field* was added in vSphere API 7.0.0. +# Resource allocation for memory. This *field* was added in vSphere API 7.0.0.0. # sub set_memory_allocation { my ($self, %args) = @_; @@ -1451,7 +1451,7 @@ sub set_memory_allocation { # # The ``ResourceAllocationUpdateSpec`` *class* descrives the updates to be made to # the resource allocation settings of a resource pool. This *class* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. package Com::Vmware::Vcenter::ResourcePool::ResourceAllocationUpdateSpec; @@ -1501,7 +1501,7 @@ sub new { # Amount of resource that is guaranteed available to a resource pool. Reserved resources # are not wasted if they are not used. If the utilization is less than the reservation, # the resources can be utilized by other running virtual machines. Units are MB fo -# memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0. +# memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_reservation { @@ -1516,7 +1516,7 @@ sub get_reservation { # Amount of resource that is guaranteed available to a resource pool. Reserved resources # are not wasted if they are not used. If the utilization is less than the reservation, # the resources can be utilized by other running virtual machines. Units are MB fo -# memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0. +# memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0.0. # sub set_reservation { my ($self, %args) = @_; @@ -1531,7 +1531,7 @@ sub set_reservation { # In a resource pool with an expandable reservation, the reservation can grow beyond the # specified value, if the parent resource pool has unreserved resources. A # non-expandable reservation is called a fixed reservation. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_expandable_reservation { @@ -1546,7 +1546,7 @@ sub get_expandable_reservation { # In a resource pool with an expandable reservation, the reservation can grow beyond the # specified value, if the parent resource pool has unreserved resources. A # non-expandable reservation is called a fixed reservation. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_expandable_reservation { my ($self, %args) = @_; @@ -1562,7 +1562,7 @@ sub set_expandable_reservation { # available resources. This is typically used to ensure a consistent performance of # resource pools independent of available resources. If set to -1, then there is no # fixed limit on resource usage (only bounded by available resources and shares). Units -# are MB for memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0. +# are MB for memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_limit { @@ -1578,7 +1578,7 @@ sub get_limit { # available resources. This is typically used to ensure a consistent performance of # resource pools independent of available resources. If set to -1, then there is no # fixed limit on resource usage (only bounded by available resources and shares). Units -# are MB for memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0. +# are MB for memory, and MHz for CPU. This *field* was added in vSphere API 7.0.0.0. # sub set_limit { my ($self, %args) = @_; @@ -1591,7 +1591,7 @@ sub set_limit { # # @retval shares - The current value of the field. # Shares are used in case of resource contention. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # # Optional# sub get_shares { @@ -1604,7 +1604,7 @@ sub get_shares { # # @param shares - New value for the field. # Shares are used in case of resource contention. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # sub set_shares { my ($self, %args) = @_; @@ -1620,7 +1620,7 @@ sub set_shares { # # # The *class* contains specification for updating the configuration of a resource -# pool. This *class* was added in vSphere API 7.0.0. +# pool. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::ResourcePool::UpdateSpec; @@ -1665,7 +1665,7 @@ sub new { # Gets the value of 'name' property. # # @retval name - The current value of the field. -# Name of the resource pool. This *field* was added in vSphere API 7.0.0. +# Name of the resource pool. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_name { @@ -1677,7 +1677,7 @@ sub get_name { # Sets the given value for 'name' property. # # @param name - New value for the field. -# Name of the resource pool. This *field* was added in vSphere API 7.0.0. +# Name of the resource pool. This *field* was added in vSphere API 7.0.0.0. # sub set_name { my ($self, %args) = @_; @@ -1689,7 +1689,7 @@ sub set_name { # Gets the value of 'cpu_allocation' property. # # @retval cpu_allocation - The current value of the field. -# Resource allocation for CPU. This *field* was added in vSphere API 7.0.0. +# Resource allocation for CPU. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_cpu_allocation { @@ -1701,7 +1701,7 @@ sub get_cpu_allocation { # Sets the given value for 'cpu_allocation' property. # # @param cpu_allocation - New value for the field. -# Resource allocation for CPU. This *field* was added in vSphere API 7.0.0. +# Resource allocation for CPU. This *field* was added in vSphere API 7.0.0.0. # sub set_cpu_allocation { my ($self, %args) = @_; @@ -1713,7 +1713,7 @@ sub set_cpu_allocation { # Gets the value of 'memory_allocation' property. # # @retval memory_allocation - The current value of the field. -# Resource allocation for memory. This *field* was added in vSphere API 7.0.0. +# Resource allocation for memory. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_memory_allocation { @@ -1725,7 +1725,7 @@ sub get_memory_allocation { # Sets the given value for 'memory_allocation' property. # # @param memory_allocation - New value for the field. -# Resource allocation for memory. This *field* was added in vSphere API 7.0.0. +# Resource allocation for memory. This *field* was added in vSphere API 7.0.0.0. # sub set_memory_allocation { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Tagging/Associations.pm b/lib/sdk/Com/Vmware/Vcenter/Tagging/Associations.pm index 5e70e597..2e06b7b8 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Tagging/Associations.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Tagging/Associations.pm @@ -14,7 +14,7 @@ ## @class Com::Vmware::Vcenter::Tagging::Associations # The ``Com::Vmware::Vcenter::Tagging::Associations`` *interface* provides # *methods* to list tag associations. This *interface* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # package Com::Vmware::Vcenter::Tagging::Associations; @@ -67,7 +67,7 @@ sub new { ## @method list () # Returns tag associations that match the specified iteration spec. This *method* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # # @param iterate [OPTIONAL] The specification of a page to be retrieved. # If *null* , the first page will be retrieved. @@ -116,7 +116,7 @@ sub list { # Failures to retrieve results will be returned as Error responses. These last statuses # are only returned when the iterator is operating as expected.

    # -# . This *enumeration* was added in vSphere API 7.0.0. +# . This *enumeration* was added in vSphere API 7.0.0.0. # # # @@ -127,14 +127,15 @@ sub list { # The number of results returned may be less than the usual size. In other words, the # iterator may not fill the page. The iterator has returned at least 1 result.

    # -# . This *constant* was added in vSphere API 7.0.0. +# . This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Tagging::Associations::LastIterationStatus::END_OF_DATA # #Iterator has finished iterating through its inventory. There are currently no more # entities to return and the caller can terminate iteration. If the iterator returned some # data, the marker may be set to allow the iterator to continue from where it left off when # additional data does become available. This value is used to indicate that all available -# data has been returned by the iterator. This *constant* was added in vSphere API 7.0.0. +# data has been returned by the iterator. This *constant* was added in vSphere API +# 7.0.0.0. package Com::Vmware::Vcenter::Tagging::Associations::LastIterationStatus; @@ -184,7 +185,7 @@ sub new { # The ``Com::Vmware::Vcenter::Tagging::Associations::IterationSpec`` *class* # contains *fields* used to break results into pages when listing tags associated to # objects see :func:`Com::Vmware::Vcenter::Tagging::Associations.list` ). This *class* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Tagging::Associations::IterationSpec; @@ -226,7 +227,7 @@ sub new { # # @retval marker - The current value of the field. # Marker is an opaque token that allows the caller to request the next page of tag -# associations. This *field* was added in vSphere API 7.0.0. +# associations. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_marker { @@ -239,7 +240,7 @@ sub get_marker { # # @param marker - New value for the field. # Marker is an opaque token that allows the caller to request the next page of tag -# associations. This *field* was added in vSphere API 7.0.0. +# associations. This *field* was added in vSphere API 7.0.0.0. # sub set_marker { my ($self, %args) = @_; @@ -255,7 +256,7 @@ sub set_marker { # # # The ``Com::Vmware::Vcenter::Tagging::Associations::Summary`` describes a tag -# association. This *class* was added in vSphere API 7.0.0. +# association. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Tagging::Associations::Summary; @@ -298,7 +299,7 @@ sub new { # Gets the value of 'tag' property. # # @retval tag - The current value of the field. -# The identifier of a tag. This *field* was added in vSphere API 7.0.0. +# The identifier of a tag. This *field* was added in vSphere API 7.0.0.0. # # ID# sub get_tag { @@ -310,7 +311,7 @@ sub get_tag { # Sets the given value for 'tag' property. # # @param tag - New value for the field. -# The identifier of a tag. This *field* was added in vSphere API 7.0.0. +# The identifier of a tag. This *field* was added in vSphere API 7.0.0.0. # sub set_tag { my ($self, %args) = @_; @@ -322,7 +323,8 @@ sub set_tag { # Gets the value of 'object' property. # # @retval object - The current value of the field. -# The identifier of an associated object. This *field* was added in vSphere API 7.0.0. +# The identifier of an associated object. This *field* was added in vSphere API +# 7.0.0.0. # # DynamicID# sub get_object { @@ -334,7 +336,8 @@ sub get_object { # Sets the given value for 'object' property. # # @param object - New value for the field. -# The identifier of an associated object. This *field* was added in vSphere API 7.0.0. +# The identifier of an associated object. This *field* was added in vSphere API +# 7.0.0.0. # sub set_object { my ($self, %args) = @_; @@ -351,7 +354,7 @@ sub set_object { # # The ``Com::Vmware::Vcenter::Tagging::Associations::ListResult`` *class* contains # the list of tag associations in a page, as well as related metadata fields. This -# *class* was added in vSphere API 7.0.0. +# *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Tagging::Associations::ListResult; @@ -396,7 +399,7 @@ sub new { # Gets the value of 'associations' property. # # @retval associations - The current value of the field. -# List of tag associations. This *field* was added in vSphere API 7.0.0. +# List of tag associations. This *field* was added in vSphere API 7.0.0.0. # # List# sub get_associations { @@ -408,7 +411,7 @@ sub get_associations { # Sets the given value for 'associations' property. # # @param associations - New value for the field. -# List of tag associations. This *field* was added in vSphere API 7.0.0. +# List of tag associations. This *field* was added in vSphere API 7.0.0.0. # sub set_associations { my ($self, %args) = @_; @@ -421,7 +424,7 @@ sub set_associations { # # @retval marker - The current value of the field. # Marker is an opaque data structure that allows the caller to request the next page of -# tag associations. This *field* was added in vSphere API 7.0.0. +# tag associations. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_marker { @@ -434,7 +437,7 @@ sub get_marker { # # @param marker - New value for the field. # Marker is an opaque data structure that allows the caller to request the next page of -# tag associations. This *field* was added in vSphere API 7.0.0. +# tag associations. This *field* was added in vSphere API 7.0.0.0. # sub set_marker { my ($self, %args) = @_; @@ -448,7 +451,7 @@ sub set_marker { # @retval status - The current value of the field. # The last status for the iterator that indicates whether any more results can be # expected if the caller continues to make requests for more data using the iterator. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # # LastIterationStatus# sub get_status { @@ -462,7 +465,7 @@ sub get_status { # @param status - New value for the field. # The last status for the iterator that indicates whether any more results can be # expected if the caller continues to make requests for more data using the iterator. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # sub set_status { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Attestation/Services.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Attestation/Services.pm index 032ff6d1..50d01fea 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Attestation/Services.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Attestation/Services.pm @@ -14,12 +14,12 @@ ## @class Com::Vmware::Vcenter::Trusted_infrastructure::Attestation::Services # The ``Com::Vmware::Vcenter::Trusted_infrastructure::Attestation::Services`` # *interface* contains information about the registered instances of the Attestation -# Service in vCenter. This *interface* was added in vSphere API 7.0.0. +# Service in vCenter. This *interface* was added in vSphere API 7.0.0.0. # # # Constant String::RESOURCE_TYPE # #The resource type for the Attestation Service instances. This *constant* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Attestation::Services; @@ -71,7 +71,7 @@ sub new { ## @method list () # Returns detailed information about all registered Attestation Service instances in this -# vCenter. This *method* was added in vSphere API 7.0.0. +# vCenter. This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ReadTrustedHosts, System.View. @@ -110,7 +110,7 @@ sub list { ## @method get () # Returns the detailed information about a registered Attestation Service instance in this -# vCenter. This *method* was added in vSphere API 7.0.0. +# vCenter. This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ReadTrustedHosts, System.View. @@ -151,7 +151,7 @@ sub get { ## @method create () # Registers a new Attestation Service instance in this vCenter. This *method* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ManageTrustedHosts. @@ -195,7 +195,7 @@ sub create { ## @method delete () # Removes a registered Attestation Service instance from this vCenter. This *method* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ManageTrustedHosts. @@ -255,7 +255,7 @@ sub delete { # # The ``Com::Vmware::Vcenter::Trusted_infrastructure::Attestation::Services::Summary`` # *class* contains basic information about a registered Attestation Service instance. -# This *class* was added in vSphere API 7.0.0. +# This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Attestation::Services::Summary; @@ -302,7 +302,7 @@ sub new { # Gets the value of 'service' property. # # @retval service - The current value of the field. -# The service's unique identifier. This *field* was added in vSphere API 7.0.0. +# The service's unique identifier. This *field* was added in vSphere API 7.0.0.0. # # ID# sub get_service { @@ -314,7 +314,7 @@ sub get_service { # Sets the given value for 'service' property. # # @param service - New value for the field. -# The service's unique identifier. This *field* was added in vSphere API 7.0.0. +# The service's unique identifier. This *field* was added in vSphere API 7.0.0.0. # sub set_service { my ($self, %args) = @_; @@ -326,7 +326,7 @@ sub set_service { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # NetworkAddress# sub get_address { @@ -338,7 +338,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -351,7 +351,7 @@ sub set_address { # # @retval group - The current value of the field. # The group specifies the Key Provider Service instances that can accept reports issued -# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0. +# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_group { @@ -364,7 +364,7 @@ sub get_group { # # @param group - New value for the field. # The group specifies the Key Provider Service instances that can accept reports issued -# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0. +# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -377,7 +377,7 @@ sub set_group { # # @retval trust_authority_cluster - The current value of the field. # The cluster specifies the Trust Authority Cluster this Attestation Service instance -# belongs to. This *field* was added in vSphere API 7.0.0. +# belongs to. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_trust_authority_cluster { @@ -390,7 +390,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The cluster specifies the Trust Authority Cluster this Attestation Service instance -# belongs to. This *field* was added in vSphere API 7.0.0. +# belongs to. This *field* was added in vSphere API 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; @@ -407,7 +407,7 @@ sub set_trust_authority_cluster { # # The ``Com::Vmware::Vcenter::Trusted_infrastructure::Attestation::Services::Info`` # *class* contains all the stored information about a registered Attestation Service -# instance. This *class* was added in vSphere API 7.0.0. +# instance. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Attestation::Services::Info; @@ -454,7 +454,7 @@ sub new { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # NetworkAddress# sub get_address { @@ -466,7 +466,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -479,7 +479,7 @@ sub set_address { # # @retval trusted_CA - The current value of the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # X509CertChain# sub get_trusted_CA { @@ -492,7 +492,7 @@ sub get_trusted_CA { # # @param trusted_CA - New value for the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_trusted_CA { my ($self, %args) = @_; @@ -505,7 +505,7 @@ sub set_trusted_CA { # # @retval group - The current value of the field. # The group specifies the Key Provider Service instances that can accept reports issued -# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0. +# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_group { @@ -518,7 +518,7 @@ sub get_group { # # @param group - New value for the field. # The group specifies the Key Provider Service instances that can accept reports issued -# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0. +# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -531,7 +531,7 @@ sub set_group { # # @retval trust_authority_cluster - The current value of the field. # The cluster specifies the Trust Authority Cluster this Attestation Service belongs to. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # # String# sub get_trust_authority_cluster { @@ -544,7 +544,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The cluster specifies the Trust Authority Cluster this Attestation Service belongs to. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; @@ -562,7 +562,7 @@ sub set_trust_authority_cluster { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Attestation::Services::CreateSpec`` # *class* contains the data necessary for registering an Attestation Service instance -# to the environment. This *class* was added in vSphere API 7.0.0. +# to the environment. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Attestation::Services::CreateSpec; @@ -609,7 +609,7 @@ sub new { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # NetworkAddress# sub get_address { @@ -621,7 +621,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -634,7 +634,7 @@ sub set_address { # # @retval trusted_CA - The current value of the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # X509CertChain# sub get_trusted_CA { @@ -647,7 +647,7 @@ sub get_trusted_CA { # # @param trusted_CA - New value for the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_trusted_CA { my ($self, %args) = @_; @@ -660,7 +660,7 @@ sub set_trusted_CA { # # @retval group - The current value of the field. # The group specifies the Key Provider Service instances that can accept reports issued -# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0. +# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_group { @@ -673,7 +673,7 @@ sub get_group { # # @param group - New value for the field. # The group specifies the Key Provider Service instances that can accept reports issued -# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0. +# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -686,7 +686,7 @@ sub set_group { # # @retval trust_authority_cluster - The current value of the field. # The cluster specifies the Trust Authority Cluster this Attestation Service belongs to. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # # String# sub get_trust_authority_cluster { @@ -699,7 +699,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The cluster specifies the Trust Authority Cluster this Attestation Service belongs to. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; @@ -717,7 +717,7 @@ sub set_trust_authority_cluster { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Attestation::Services::FilterSpec`` # *class* contains the data necessary for identifying an Attestation Service instance. -# This *class* was added in vSphere API 7.0.0. +# This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Attestation::Services::FilterSpec; @@ -765,7 +765,7 @@ sub new { # # @retval services - The current value of the field. # A set of IDs by which to filter the services. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_services { @@ -778,7 +778,7 @@ sub get_services { # # @param services - New value for the field. # A set of IDs by which to filter the services. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_services { my ($self, %args) = @_; @@ -790,7 +790,7 @@ sub set_services { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# A set of address by which to filter. This *field* was added in vSphere API 7.0.0. +# A set of address by which to filter. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_address { @@ -802,7 +802,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# A set of address by which to filter. This *field* was added in vSphere API 7.0.0. +# A set of address by which to filter. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -815,7 +815,7 @@ sub set_address { # # @retval group - The current value of the field. # The group specifies the Key Provider Service instances that can accept reports issued -# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0. +# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_group { @@ -828,7 +828,7 @@ sub get_group { # # @param group - New value for the field. # The group specifies the Key Provider Service instances that can accept reports issued -# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0. +# by this Attestation Service instance. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -841,7 +841,7 @@ sub set_group { # # @retval trust_authority_cluster - The current value of the field. # The cluster specifies the Trust Authority Cluster this Attestation Service belongs to. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_trust_authority_cluster { @@ -854,7 +854,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The cluster specifies the Trust Authority Cluster this Attestation Service belongs to. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Kms/Services.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Kms/Services.pm index 860a87b9..c7f3f608 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Kms/Services.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Kms/Services.pm @@ -14,12 +14,12 @@ ## @class Com::Vmware::Vcenter::Trusted_infrastructure::Kms::Services # The ``Com::Vmware::Vcenter::Trusted_infrastructure::Kms::Services`` *interface* # contains information about the registered instances of the Key Provider Service in -# vCenter. This *interface* was added in vSphere API 7.0.0. +# vCenter. This *interface* was added in vSphere API 7.0.0.0. # # # Constant String::RESOURCE_TYPE # #The resource type for the Key Provider Service instance. This *constant* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Kms::Services; @@ -71,7 +71,7 @@ sub new { ## @method list () # Returns basic information about all registered Key Provider Service instances in this -# vCenter. This *method* was added in vSphere API 7.0.0. +# vCenter. This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ReadTrustedHosts, System.View. @@ -109,7 +109,7 @@ sub list { ## @method get () # Returns the detailed information about a registered Key Provider Service instance in this -# vCenter. This *method* was added in vSphere API 7.0.0. +# vCenter. This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ReadTrustedHosts, System.View. @@ -149,7 +149,7 @@ sub get { ## @method create () # Registers a Key Provider Service instance in this vCenter. This *method* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ManageTrustedHosts. @@ -193,7 +193,7 @@ sub create { ## @method delete () # Removes a currently registered Key Provider Service instance from this vCenter. This -# *method* was added in vSphere API 7.0.0. +# *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ManageTrustedHosts. @@ -251,7 +251,7 @@ sub delete { # # The ``Com::Vmware::Vcenter::Trusted_infrastructure::Kms::Services::Summary`` # *class* contains basic information about a registered Key Provider Service instance. -# This *class* was added in vSphere API 7.0.0. +# This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Kms::Services::Summary; @@ -298,7 +298,7 @@ sub new { # Gets the value of 'service' property. # # @retval service - The current value of the field. -# The service's unique identifier. This *field* was added in vSphere API 7.0.0. +# The service's unique identifier. This *field* was added in vSphere API 7.0.0.0. # # ID# sub get_service { @@ -310,7 +310,7 @@ sub get_service { # Sets the given value for 'service' property. # # @param service - New value for the field. -# The service's unique identifier. This *field* was added in vSphere API 7.0.0. +# The service's unique identifier. This *field* was added in vSphere API 7.0.0.0. # sub set_service { my ($self, %args) = @_; @@ -322,7 +322,7 @@ sub set_service { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # NetworkAddress# sub get_address { @@ -334,7 +334,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -347,7 +347,7 @@ sub set_address { # # @retval group - The current value of the field. # The group determines the Attestation Service instances this Key Provider Service can -# accept reports from. This *field* was added in vSphere API 7.0.0. +# accept reports from. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_group { @@ -360,7 +360,7 @@ sub get_group { # # @param group - New value for the field. # The group determines the Attestation Service instances this Key Provider Service can -# accept reports from. This *field* was added in vSphere API 7.0.0. +# accept reports from. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -373,7 +373,7 @@ sub set_group { # # @retval trust_authority_cluster - The current value of the field. # The cluster specifies the Trust Authority Cluster this Key Provider service belongs -# to. This *field* was added in vSphere API 7.0.0. +# to. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_trust_authority_cluster { @@ -386,7 +386,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The cluster specifies the Trust Authority Cluster this Key Provider service belongs -# to. This *field* was added in vSphere API 7.0.0. +# to. This *field* was added in vSphere API 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; @@ -403,7 +403,7 @@ sub set_trust_authority_cluster { # # The ``Com::Vmware::Vcenter::Trusted_infrastructure::Kms::Services::Info`` *class* # contains all the stored information about a registered Key Provider Service instance. -# This *class* was added in vSphere API 7.0.0. +# This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Kms::Services::Info; @@ -450,7 +450,7 @@ sub new { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # NetworkAddress# sub get_address { @@ -462,7 +462,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -475,7 +475,7 @@ sub set_address { # # @retval trusted_CA - The current value of the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # X509CertChain# sub get_trusted_CA { @@ -488,7 +488,7 @@ sub get_trusted_CA { # # @param trusted_CA - New value for the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_trusted_CA { my ($self, %args) = @_; @@ -501,7 +501,7 @@ sub set_trusted_CA { # # @retval group - The current value of the field. # The group determines the Attestation Service instances this Key Provider Service can -# accept reports from. This *field* was added in vSphere API 7.0.0. +# accept reports from. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_group { @@ -514,7 +514,7 @@ sub get_group { # # @param group - New value for the field. # The group determines the Attestation Service instances this Key Provider Service can -# accept reports from. This *field* was added in vSphere API 7.0.0. +# accept reports from. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -527,7 +527,7 @@ sub set_group { # # @retval trust_authority_cluster - The current value of the field. # The cluster specifies the Trust Authority Cluster this Key Provider Service belongs -# to. This *field* was added in vSphere API 7.0.0. +# to. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_trust_authority_cluster { @@ -540,7 +540,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The cluster specifies the Trust Authority Cluster this Key Provider Service belongs -# to. This *field* was added in vSphere API 7.0.0. +# to. This *field* was added in vSphere API 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; @@ -557,7 +557,7 @@ sub set_trust_authority_cluster { # # The ``Com::Vmware::Vcenter::Trusted_infrastructure::Kms::Services::CreateSpec`` # *class* contains the data necessary for registering a Key Provider Service instance -# to the environment. This *class* was added in vSphere API 7.0.0. +# to the environment. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Kms::Services::CreateSpec; @@ -604,7 +604,7 @@ sub new { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # NetworkAddress# sub get_address { @@ -616,7 +616,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -629,7 +629,7 @@ sub set_address { # # @retval trusted_CA - The current value of the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # X509CertChain# sub get_trusted_CA { @@ -642,7 +642,7 @@ sub get_trusted_CA { # # @param trusted_CA - New value for the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_trusted_CA { my ($self, %args) = @_; @@ -655,7 +655,7 @@ sub set_trusted_CA { # # @retval group - The current value of the field. # The group determines the Attestation Service instances this Key Provider service can -# accept reports from. This *field* was added in vSphere API 7.0.0. +# accept reports from. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_group { @@ -668,7 +668,7 @@ sub get_group { # # @param group - New value for the field. # The group determines the Attestation Service instances this Key Provider service can -# accept reports from. This *field* was added in vSphere API 7.0.0. +# accept reports from. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -681,7 +681,7 @@ sub set_group { # # @retval trust_authority_cluster - The current value of the field. # The cluster specifies the Trust Authority Cluster this Key Provider Service belongs -# to. This *field* was added in vSphere API 7.0.0. +# to. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_trust_authority_cluster { @@ -694,7 +694,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The cluster specifies the Trust Authority Cluster this Key Provider Service belongs -# to. This *field* was added in vSphere API 7.0.0. +# to. This *field* was added in vSphere API 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; @@ -711,7 +711,7 @@ sub set_trust_authority_cluster { # # The ``Com::Vmware::Vcenter::Trusted_infrastructure::Kms::Services::FilterSpec`` # *class* contains the data necessary for identifying a Key Provider Service instance. -# This *class* was added in vSphere API 7.0.0. +# This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Kms::Services::FilterSpec; @@ -759,7 +759,7 @@ sub new { # # @retval services - The current value of the field. # A set of IDs by which to filter the services. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_services { @@ -772,7 +772,7 @@ sub get_services { # # @param services - New value for the field. # A set of IDs by which to filter the services. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_services { my ($self, %args) = @_; @@ -784,7 +784,7 @@ sub set_services { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# A set of address by which to filter. This *field* was added in vSphere API 7.0.0. +# A set of address by which to filter. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_address { @@ -796,7 +796,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# A set of address by which to filter. This *field* was added in vSphere API 7.0.0. +# A set of address by which to filter. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -809,7 +809,7 @@ sub set_address { # # @retval group - The current value of the field. # The group determines the Attestation Service instances this Key Provider Service can -# accept reports from. This *field* was added in vSphere API 7.0.0. +# accept reports from. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_group { @@ -822,7 +822,7 @@ sub get_group { # # @param group - New value for the field. # The group determines the Attestation Service instances this Key Provider Service can -# accept reports from. This *field* was added in vSphere API 7.0.0. +# accept reports from. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -835,7 +835,7 @@ sub set_group { # # @retval trust_authority_cluster - The current value of the field. # The cluster specifies the Trust Authority Cluster this Key Provider Service belongs -# to. This *field* was added in vSphere API 7.0.0. +# to. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_trust_authority_cluster { @@ -848,7 +848,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The cluster specifies the Trust Authority Cluster this Key Provider Service belongs -# to. This *field* was added in vSphere API 7.0.0. +# to. This *field* was added in vSphere API 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/NetworkAddress.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/NetworkAddress.pm index e604a8b2..9d97efbc 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/NetworkAddress.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/NetworkAddress.pm @@ -3,7 +3,7 @@ # # The ``Com::Vmware::Vcenter::Trusted_infrastructure::NetworkAddress`` *class* # contains an IP address or DNS resolvable name and a port on which a connection can be -# established. This *class* was added in vSphere API 7.0.0. +# established. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::NetworkAddress; @@ -47,7 +47,7 @@ sub new { # # @retval hostname - The current value of the field. # The IP address or DNS resolvable name of the service. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # String# sub get_hostname { @@ -60,7 +60,7 @@ sub get_hostname { # # @param hostname - New value for the field. # The IP address or DNS resolvable name of the service. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_hostname { my ($self, %args) = @_; @@ -72,7 +72,7 @@ sub set_hostname { # Gets the value of 'port' property. # # @retval port - The current value of the field. -# The port of the service. This *field* was added in vSphere API 7.0.0. +# The port of the service. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_port { @@ -84,7 +84,7 @@ sub get_port { # Sets the given value for 'port' property. # # @param port - New value for the field. -# The port of the service. This *field* was added in vSphere API 7.0.0. +# The port of the service. This *field* was added in vSphere API 7.0.0.0. # sub set_port { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Principal.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Principal.pm index 937ae8c7..1f4cedee 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Principal.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Principal.pm @@ -13,7 +13,7 @@ ## @class Com::Vmware::Vcenter::Trusted_infrastructure::Principal # The ``Com::Vmware::Vcenter::Trusted_infrastructure::Principal`` *interface* # contains information about the certificates which sign the tokens used by vCenter for -# authentication. This *interface* was added in vSphere API 7.0.0. +# authentication. This *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Trusted_infrastructure::Principal; @@ -66,7 +66,7 @@ sub new { ## @method get () # Returns information about the STS used by this vCenter instance. This *method* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ReadStsInfo. @@ -112,7 +112,7 @@ sub get { # # The ``Com::Vmware::Vcenter::Trusted_infrastructure::Principal::Info`` *class* # contains the information about the principal and certificates used by this vCenter to -# retrieve tokens. This *class* was added in vSphere API 7.0.0. +# retrieve tokens. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Principal::Info; @@ -160,7 +160,7 @@ sub new { # # @retval certificates - The current value of the field. # The certificates used by the STS to sign tokens for this vCenter. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # # List# sub get_certificates { @@ -173,7 +173,7 @@ sub get_certificates { # # @param certificates - New value for the field. # The certificates used by the STS to sign tokens for this vCenter. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # sub set_certificates { my ($self, %args) = @_; @@ -186,7 +186,7 @@ sub set_certificates { # # @retval issuer - The current value of the field. # The service which created and signed the security token. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # String# sub get_issuer { @@ -199,7 +199,7 @@ sub get_issuer { # # @param issuer - New value for the field. # The service which created and signed the security token. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_issuer { my ($self, %args) = @_; @@ -212,7 +212,7 @@ sub set_issuer { # # @retval principal - The current value of the field. # The principal used by this vCenter instance to retrieve tokens. Currently this is the -# vCenter solution user. This *field* was added in vSphere API 7.0.0. +# vCenter solution user. This *field* was added in vSphere API 7.0.0.0. # # StsPrincipal# sub get_principal { @@ -225,7 +225,7 @@ sub get_principal { # # @param principal - New value for the field. # The principal used by this vCenter instance to retrieve tokens. Currently this is the -# vCenter solution user. This *field* was added in vSphere API 7.0.0. +# vCenter solution user. This *field* was added in vSphere API 7.0.0.0. # sub set_principal { my ($self, %args) = @_; @@ -237,7 +237,8 @@ sub set_principal { # Gets the value of 'name' property. # # @retval name - The current value of the field. -# The user-friednly name of the vCenter. This *field* was added in vSphere API 7.0.0. +# The user-friednly name of the vCenter. This *field* was added in vSphere API +# 7.0.0.0. # # String# sub get_name { @@ -249,7 +250,8 @@ sub get_name { # Sets the given value for 'name' property. # # @param name - New value for the field. -# The user-friednly name of the vCenter. This *field* was added in vSphere API 7.0.0. +# The user-friednly name of the vCenter. This *field* was added in vSphere API +# 7.0.0.0. # sub set_name { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/StsPrincipal.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/StsPrincipal.pm index 1a390111..3f5babdc 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/StsPrincipal.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/StsPrincipal.pm @@ -2,7 +2,7 @@ # # # The ``Com::Vmware::Vcenter::Trusted_infrastructure::StsPrincipal`` *class* -# contains a IDM principal. This *class* was added in vSphere API 7.0.0. +# contains a IDM principal. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::StsPrincipal; @@ -45,7 +45,7 @@ sub new { # Gets the value of 'id' property. # # @retval id - The current value of the field. -# The principal's ID. This *field* was added in vSphere API 7.0.0. +# The principal's ID. This *field* was added in vSphere API 7.0.0.0. # # StsPrincipalId# sub get_id { @@ -57,7 +57,7 @@ sub get_id { # Sets the given value for 'id' property. # # @param id - New value for the field. -# The principal's ID. This *field* was added in vSphere API 7.0.0. +# The principal's ID. This *field* was added in vSphere API 7.0.0.0. # sub set_id { my ($self, %args) = @_; @@ -70,7 +70,7 @@ sub set_id { # # @retval type - The current value of the field. # The type of the principal (user or group). This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # StsPrincipalType# sub get_type { @@ -83,7 +83,7 @@ sub get_type { # # @param type - New value for the field. # The type of the principal (user or group). This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_type { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/StsPrincipalId.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/StsPrincipalId.pm index 63bd4dcd..4a1f97e3 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/StsPrincipalId.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/StsPrincipalId.pm @@ -2,7 +2,7 @@ # # # The ``Com::Vmware::Vcenter::Trusted_infrastructure::StsPrincipalId`` *class* -# contains an IDM principal ID. This *class* was added in vSphere API 7.0.0. +# contains an IDM principal ID. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::StsPrincipalId; @@ -45,7 +45,7 @@ sub new { # Gets the value of 'name' property. # # @retval name - The current value of the field. -# The principal's username. This *field* was added in vSphere API 7.0.0. +# The principal's username. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_name { @@ -57,7 +57,7 @@ sub get_name { # Sets the given value for 'name' property. # # @param name - New value for the field. -# The principal's username. This *field* was added in vSphere API 7.0.0. +# The principal's username. This *field* was added in vSphere API 7.0.0.0. # sub set_name { my ($self, %args) = @_; @@ -69,7 +69,7 @@ sub set_name { # Gets the value of 'domain' property. # # @retval domain - The current value of the field. -# The principal's domain. This *field* was added in vSphere API 7.0.0. +# The principal's domain. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_domain { @@ -81,7 +81,7 @@ sub get_domain { # Sets the given value for 'domain' property. # # @param domain - New value for the field. -# The principal's domain. This *field* was added in vSphere API 7.0.0. +# The principal's domain. This *field* was added in vSphere API 7.0.0.0. # sub set_domain { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/StsPrincipalType.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/StsPrincipalType.pm index 4cbc54aa..7c3f7b02 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/StsPrincipalType.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/StsPrincipalType.pm @@ -1,15 +1,15 @@ ## @class Com::Vmware::Vcenter::Trusted_infrastructure::StsPrincipalType # # The ``Com::Vmware::Vcenter::Trusted_infrastructure::StsPrincipalType`` *enum* can -# be either users or groups. This *enumeration* was added in vSphere API 7.0.0. +# be either users or groups. This *enumeration* was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::StsPrincipalType::STS_USER # -#The principal is a user. This *constant* was added in vSphere API 7.0.0. +#The principal is a user. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::StsPrincipalType::STS_GROUP # -#The principal is a group. This *constant* was added in vSphere API 7.0.0. +#The principal is a group. This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::StsPrincipalType; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/TrustAuthorityClusters.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/TrustAuthorityClusters.pm index c4121c7a..47216709 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/TrustAuthorityClusters.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/TrustAuthorityClusters.pm @@ -16,7 +16,7 @@ # in the cluster. The # ``Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters`` *interface* # transforms a ClusterComputeResource into Trust Authority Cluster and vice versa. This -# *interface* was added in vSphere API 7.0.0. +# *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters; @@ -73,7 +73,7 @@ sub new { } ## @method update_task () -# Updates the state of a cluster. This *method* was added in vSphere API 7.0.0. +# Updates the state of a cluster. This *method* was added in vSphere API 7.0.0.0. # # @param cluster [REQUIRED] Cluster id. # The value must be an identifier for the resource type @@ -108,7 +108,7 @@ sub update_task { ## @method get () # Get the result of the last Update operation which matches the cluster id. This *method* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ReadTrustedHosts, System.View. @@ -153,7 +153,7 @@ sub get { ## @method list () # Returns a list of clusters for this vCenter instance which matches the class # Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters::FilterSpec . This -# *method* was added in vSphere API 7.0.0. +# *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ReadTrustedHosts, System.View. @@ -205,17 +205,17 @@ sub list { # The ``Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters::State`` # *enumerated type* defines the states of the class # Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters . This -# *enumeration* was added in vSphere API 7.0.0. +# *enumeration* was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters::State::ENABLE # #The class Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters is -# enabled. This *constant* was added in vSphere API 7.0.0. +# enabled. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters::State::DISABLE # #The class Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters is -# disabled. This *constant* was added in vSphere API 7.0.0. +# disabled. This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters::State; @@ -265,7 +265,7 @@ sub new { # The ``Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters::Summary`` # *class* contains information about class # Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters id and state. -# This *class* was added in vSphere API 7.0.0. +# This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters::Summary; @@ -308,7 +308,7 @@ sub new { # Gets the value of 'cluster' property. # # @retval cluster - The current value of the field. -# Identifies the cluster. This *field* was added in vSphere API 7.0.0. +# Identifies the cluster. This *field* was added in vSphere API 7.0.0.0. # # ID# sub get_cluster { @@ -320,7 +320,7 @@ sub get_cluster { # Sets the given value for 'cluster' property. # # @param cluster - New value for the field. -# Identifies the cluster. This *field* was added in vSphere API 7.0.0. +# Identifies the cluster. This *field* was added in vSphere API 7.0.0.0. # sub set_cluster { my ($self, %args) = @_; @@ -334,7 +334,7 @@ sub set_cluster { # @retval state - The current value of the field. # The state of the class # Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters . This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # State# sub get_state { @@ -348,7 +348,7 @@ sub get_state { # @param state - New value for the field. # The state of the class # Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters . This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # sub set_state { my ($self, %args) = @_; @@ -367,7 +367,7 @@ sub set_state { # ``Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters::FilterSpec`` # *class* contains the data necessary for identifying a class # Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters . This *class* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters::FilterSpec; @@ -410,7 +410,7 @@ sub new { # Gets the value of 'cluster' property. # # @retval cluster - The current value of the field. -# Identifies the cluster. This *field* was added in vSphere API 7.0.0. +# Identifies the cluster. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_cluster { @@ -422,7 +422,7 @@ sub get_cluster { # Sets the given value for 'cluster' property. # # @param cluster - New value for the field. -# Identifies the cluster. This *field* was added in vSphere API 7.0.0. +# Identifies the cluster. This *field* was added in vSphere API 7.0.0.0. # sub set_cluster { my ($self, %args) = @_; @@ -436,7 +436,7 @@ sub set_cluster { # @retval state - The current value of the field. # The state of the class # Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters . This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # Optional# sub get_state { @@ -450,7 +450,7 @@ sub get_state { # @param state - New value for the field. # The state of the class # Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters . This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # sub set_state { my ($self, %args) = @_; @@ -469,7 +469,7 @@ sub set_state { # ``Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters::UpdateSpec`` # *class* contains the data necessary for update of a class # Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters . This *class* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters::UpdateSpec; @@ -512,7 +512,7 @@ sub new { # @retval state - The current value of the field. # The state of the class # Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters . This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # Optional# sub get_state { @@ -526,7 +526,7 @@ sub get_state { # @param state - New value for the field. # The state of the class # Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters . This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # sub set_state { my ($self, %args) = @_; @@ -544,7 +544,7 @@ sub set_state { # The ``Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters::Info`` # *class* contains the data necessary for retrieving the class # Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters info. This -# *class* was added in vSphere API 7.0.0. +# *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::TrustAuthorityClusters::Info; @@ -587,7 +587,7 @@ sub new { # Gets the value of 'cluster' property. # # @retval cluster - The current value of the field. -# Identifies the cluster. This *field* was added in vSphere API 7.0.0. +# Identifies the cluster. This *field* was added in vSphere API 7.0.0.0. # # ID# sub get_cluster { @@ -599,7 +599,7 @@ sub get_cluster { # Sets the given value for 'cluster' property. # # @param cluster - New value for the field. -# Identifies the cluster. This *field* was added in vSphere API 7.0.0. +# Identifies the cluster. This *field* was added in vSphere API 7.0.0.0. # sub set_cluster { my ($self, %args) = @_; @@ -611,7 +611,7 @@ sub set_cluster { # Gets the value of 'state' property. # # @retval state - The current value of the field. -# The state of the cluster. This *field* was added in vSphere API 7.0.0. +# The state of the cluster. This *field* was added in vSphere API 7.0.0.0. # # State# sub get_state { @@ -623,7 +623,7 @@ sub get_state { # Sets the given value for 'state' property. # # @param state - New value for the field. -# The state of the cluster. This *field* was added in vSphere API 7.0.0. +# The state of the cluster. This *field* was added in vSphere API 7.0.0.0. # sub set_state { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Os/Esx/BaseImages.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Os/Esx/BaseImages.pm index e2af5c7b..17cfdd72 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Os/Esx/BaseImages.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Os/Esx/BaseImages.pm @@ -15,11 +15,11 @@ # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages`` # *interface* provides *methods* to manage trusted instances of ESX software on a -# cluster level. This *interface* was added in vSphere API 7.0.0. +# cluster level. This *interface* was added in vSphere API 7.0.0.0. # # # Constant String::RESOURCE_TYPE # -#Resource type for ESX base image. This *constant* was added in vSphere API 7.0.0. +#Resource type for ESX base image. This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages; @@ -83,7 +83,7 @@ sub new { # Import a boot_imgdb.tgz file which contains metadata that describes a trusted ESX base # image. A boot_imgdb.tgz file can be downloaded from a representative host.

    # -# . This *method* was added in vSphere API 7.0.0. +# . This *method* was added in vSphere API 7.0.0.0. # # @param cluster [REQUIRED] The id of the cluster on which the operation will be executed. # The value must be an identifier for the resource type @@ -128,7 +128,8 @@ sub import_from_imgdb_task { ## @method list_task () -# Return a list of trusted ESX base images. This *method* was added in vSphere API 7.0.0. +# Return a list of trusted ESX base images. This *method* was added in vSphere API +# 7.0.0.0. # # @param cluster [REQUIRED] The id of the cluster on which the operation will be executed. # The value must be an identifier for the resource type @@ -172,7 +173,7 @@ sub list_task { ## @method delete_task () # Remove a trusted ESX base image of each ESX in the cluster. This *method* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # @param cluster [REQUIRED] The id of the cluster on which the operation will be executed. # The value must be an identifier for the resource type @@ -210,7 +211,8 @@ sub delete_task { ## @method get_task () -# Get the trusted ESX base version details. This *method* was added in vSphere API 7.0.0. +# Get the trusted ESX base version details. This *method* was added in vSphere API +# 7.0.0.0. # # @param cluster [REQUIRED] The id of the cluster on which the operation will be executed. # The value must be an identifier for the resource type @@ -262,24 +264,24 @@ sub get_task { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages::Health`` # *enumerated type* is indicator for the consistency of the hosts status in the -# cluster. This *enumeration* was added in vSphere API 7.0.0. +# cluster. This *enumeration* was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages::Health::NONE # -#No status available. This *constant* was added in vSphere API 7.0.0. +#No status available. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages::Health::OK # #Each host in the cluster is in consistent state with the rest hosts in the cluster. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages::Health::WARNING # #Attestation is funtioning, however there is an issue that requires attention. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages::Health::ERROR # #Not all hosts in the cluster are in consistent state. This *constant* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages::Health; @@ -331,7 +333,7 @@ sub new { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages::Summary`` # *class* contains information that summarizes an ESX base image. This *class* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages::Summary; @@ -376,7 +378,7 @@ sub new { # Gets the value of 'version' property. # # @retval version - The current value of the field. -# A unique ESX version number. This *field* was added in vSphere API 7.0.0. +# A unique ESX version number. This *field* was added in vSphere API 7.0.0.0. # # ID# sub get_version { @@ -388,7 +390,7 @@ sub get_version { # Sets the given value for 'version' property. # # @param version - New value for the field. -# A unique ESX version number. This *field* was added in vSphere API 7.0.0. +# A unique ESX version number. This *field* was added in vSphere API 7.0.0.0. # sub set_version { my ($self, %args) = @_; @@ -401,7 +403,7 @@ sub set_version { # # @retval display_name - The current value of the field. # A unique ESX version formatted for display. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # String# sub get_display_name { @@ -414,7 +416,7 @@ sub get_display_name { # # @param display_name - New value for the field. # A unique ESX version formatted for display. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_display_name { my ($self, %args) = @_; @@ -427,7 +429,7 @@ sub set_display_name { # # @retval health - The current value of the field. # A health indicator which indicates whether each host in the cluster has this version -# of the ESX base image. This *field* was added in vSphere API 7.0.0. +# of the ESX base image. This *field* was added in vSphere API 7.0.0.0. # # Health# sub get_health { @@ -440,7 +442,7 @@ sub get_health { # # @param health - New value for the field. # A health indicator which indicates whether each host in the cluster has this version -# of the ESX base image. This *field* was added in vSphere API 7.0.0. +# of the ESX base image. This *field* was added in vSphere API 7.0.0.0. # sub set_health { my ($self, %args) = @_; @@ -458,7 +460,7 @@ sub set_health { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages::Info`` # *class* contains information that describes an ESX base image. This *class* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages::Info; @@ -504,7 +506,7 @@ sub new { # # @retval display_name - The current value of the field. # A unique ESX version formatted for display. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # String# sub get_display_name { @@ -517,7 +519,7 @@ sub get_display_name { # # @param display_name - New value for the field. # A unique ESX version formatted for display. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_display_name { my ($self, %args) = @_; @@ -530,7 +532,7 @@ sub set_display_name { # # @retval health - The current value of the field. # A health indicator which indicates whether each host in the cluster has this version -# of the ESX base image. This *field* was added in vSphere API 7.0.0. +# of the ESX base image. This *field* was added in vSphere API 7.0.0.0. # # Health# sub get_health { @@ -543,7 +545,7 @@ sub get_health { # # @param health - New value for the field. # A health indicator which indicates whether each host in the cluster has this version -# of the ESX base image. This *field* was added in vSphere API 7.0.0. +# of the ESX base image. This *field* was added in vSphere API 7.0.0.0. # sub set_health { my ($self, %args) = @_; @@ -565,7 +567,7 @@ sub set_health { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages::Health.NONE` # , this member will provide an actionable description of the issues present.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # List# sub get_details { @@ -587,7 +589,7 @@ sub get_details { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages::Health.NONE` # , this member will provide an actionable description of the issues present.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_details { my ($self, %args) = @_; @@ -605,7 +607,7 @@ sub set_details { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages::FilterSpec`` # *class* contains the data necessary for identifying a Trust Authority Host in a -# cluster. This *class* was added in vSphere API 7.0.0. +# cluster. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Os::Esx::BaseImages::FilterSpec; @@ -651,7 +653,7 @@ sub new { # # @retval version - The current value of the field. # Search criteria by ESX base image version numbers. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # # Optional# sub get_version { @@ -664,7 +666,7 @@ sub get_version { # # @param version - New value for the field. # Search criteria by ESX base image version numbers. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # sub set_version { my ($self, %args) = @_; @@ -677,7 +679,7 @@ sub set_version { # # @retval display_name - The current value of the field. # Search criteria by ESX base image version version numbers. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_display_name { @@ -690,7 +692,7 @@ sub get_display_name { # # @param display_name - New value for the field. # Search criteria by ESX base image version version numbers. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_display_name { my ($self, %args) = @_; @@ -702,7 +704,7 @@ sub set_display_name { # Gets the value of 'health' property. # # @retval health - The current value of the field. -# Search criteria by health indicator. This *field* was added in vSphere API 7.0.0. +# Search criteria by health indicator. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_health { @@ -714,7 +716,7 @@ sub get_health { # Sets the given value for 'health' property. # # @param health - New value for the field. -# Search criteria by health indicator. This *field* was added in vSphere API 7.0.0. +# Search criteria by health indicator. This *field* was added in vSphere API 7.0.0.0. # sub set_health { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/ServiceStatus.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/ServiceStatus.pm index d7e70998..6b192a9e 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/ServiceStatus.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/ServiceStatus.pm @@ -15,7 +15,7 @@ # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::ServiceStatus`` # *interface* provides *methods* to get the Attestation Service health status. This -# *interface* was added in vSphere API 7.0.0. +# *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::ServiceStatus; @@ -73,7 +73,7 @@ sub new { ## @method get_task () # Return the Attestation service health in the given cluster. This *method* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -119,22 +119,22 @@ sub get_task { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::ServiceStatus::Health`` # *enumerated type* defines the possible service health states. This *enumeration* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::ServiceStatus::Health::NONE # -#No status available. This *constant* was added in vSphere API 7.0.0. +#No status available. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::ServiceStatus::Health::OK # -#Service is functioning normally. This *constant* was added in vSphere API 7.0.0. +#Service is functioning normally. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::ServiceStatus::Health::WARNING # #Service is functioning, however there is an issue that requires attention. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::ServiceStatus::Health::ERROR # -#Service is not functioning. This *constant* was added in vSphere API 7.0.0. +#Service is not functioning. This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::ServiceStatus::Health; @@ -186,7 +186,7 @@ sub new { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::ServiceStatus::Info`` # *class* contains information that describes the status of the service. This *class* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::ServiceStatus::Info; @@ -229,7 +229,7 @@ sub new { # Gets the value of 'health' property. # # @retval health - The current value of the field. -# The service health status. This *field* was added in vSphere API 7.0.0. +# The service health status. This *field* was added in vSphere API 7.0.0.0. # # Health# sub get_health { @@ -241,7 +241,7 @@ sub get_health { # Sets the given value for 'health' property. # # @param health - New value for the field. -# The service health status. This *field* was added in vSphere API 7.0.0. +# The service health status. This *field* was added in vSphere API 7.0.0.0. # sub set_health { my ($self, %args) = @_; @@ -263,7 +263,7 @@ sub set_health { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::ServiceStatus::Health.NONE` # , this member will provide an actionable description of the issues present.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # List# sub get_details { @@ -285,7 +285,7 @@ sub get_details { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::ServiceStatus::Health.NONE` # , this member will provide an actionable description of the issues present.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_details { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Tpm2/CaCertificates.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Tpm2/CaCertificates.pm index ec438658..ebf6e357 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Tpm2/CaCertificates.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Tpm2/CaCertificates.pm @@ -23,12 +23,12 @@ # registered with the Attestation Service in order to validate TPM EK certificates when # presented at attestation time.

    # -# . This *interface* was added in vSphere API 7.0.0. +# . This *interface* was added in vSphere API 7.0.0.0. # # # Constant String::RESOURCE_TYPE # #Resource type for TPM 2.0 CA certificates. This *constant* was added in vSphere API -# 7.0.0. +# 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::CaCertificates; @@ -88,7 +88,7 @@ sub new { ## @method list_task () # Return a list of configured TPM CA certificates on a cluster. This *method* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # @param cluster [REQUIRED] The id of the cluster on which the operation will be executed. # The value must be an identifier for the resource type @@ -125,7 +125,8 @@ sub list_task { ## @method create_task () -# Add a new TPM CA certificate on a cluster. This *method* was added in vSphere API 7.0.0. +# Add a new TPM CA certificate on a cluster. This *method* was added in vSphere API +# 7.0.0.0. # # @param cluster [REQUIRED] The id of the cluster on which the operation will be executed. # The value must be an identifier for the resource type @@ -165,7 +166,8 @@ sub create_task { ## @method delete_task () -# Remove a TPM CA certificate on a cluster. This *method* was added in vSphere API 7.0.0. +# Remove a TPM CA certificate on a cluster. This *method* was added in vSphere API +# 7.0.0.0. # # @param cluster [REQUIRED] The id of the cluster on which the operation will be executed. # The value must be an identifier for the resource type @@ -205,7 +207,7 @@ sub delete_task { ## @method get_task () # Get the TPM CA certificate details on a cluster. This *method* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # @param cluster [REQUIRED] The id of the cluster on which the operation will be executed. # The value must be an identifier for the resource type @@ -258,24 +260,24 @@ sub get_task { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::CaCertificates::Health`` # *enumerated type* is indicator for the consistency of the hosts status in the -# cluster. This *enumeration* was added in vSphere API 7.0.0. +# cluster. This *enumeration* was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::CaCertificates::Health::NONE # -#No status available. This *constant* was added in vSphere API 7.0.0. +#No status available. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::CaCertificates::Health::OK # #Each host in the cluster is in consistent state with the rest hosts in the cluster. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::CaCertificates::Health::WARNING # #Attestation is funtioning, however there is an issue that requires attention. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::CaCertificates::Health::ERROR # #Not all hosts in the cluster are in consistent state. This *constant* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::CaCertificates::Health; @@ -327,7 +329,7 @@ sub new { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::CaCertificates::Summary`` # *class* contains information that summarizes a TPM CA certificate. This *class* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::CaCertificates::Summary; @@ -371,7 +373,7 @@ sub new { # # @retval name - The current value of the field. # A unique name for the TPM CA certificate. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # ID# sub get_name { @@ -384,7 +386,7 @@ sub get_name { # # @param name - New value for the field. # A unique name for the TPM CA certificate. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_name { my ($self, %args) = @_; @@ -397,7 +399,7 @@ sub set_name { # # @retval health - The current value of the field. # A health indicator which indicates whether each host in the cluster has the same CA -# certs. This *field* was added in vSphere API 7.0.0. +# certs. This *field* was added in vSphere API 7.0.0.0. # # Health# sub get_health { @@ -410,7 +412,7 @@ sub get_health { # # @param health - New value for the field. # A health indicator which indicates whether each host in the cluster has the same CA -# certs. This *field* was added in vSphere API 7.0.0. +# certs. This *field* was added in vSphere API 7.0.0.0. # sub set_health { my ($self, %args) = @_; @@ -428,7 +430,7 @@ sub set_health { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::CaCertificates::Info`` # *class* contains information that describes a TPM CA certificate. This *class* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::CaCertificates::Info; @@ -473,7 +475,7 @@ sub new { # Gets the value of 'cert_chain' property. # # @retval cert_chain - The current value of the field. -# The CA certificate chain. This *field* was added in vSphere API 7.0.0. +# The CA certificate chain. This *field* was added in vSphere API 7.0.0.0. # # X509CertChain# sub get_cert_chain { @@ -485,7 +487,7 @@ sub get_cert_chain { # Sets the given value for 'cert_chain' property. # # @param cert_chain - New value for the field. -# The CA certificate chain. This *field* was added in vSphere API 7.0.0. +# The CA certificate chain. This *field* was added in vSphere API 7.0.0.0. # sub set_cert_chain { my ($self, %args) = @_; @@ -498,7 +500,7 @@ sub set_cert_chain { # # @retval health - The current value of the field. # A health indicator which indicates whether each host in the cluster has the same CA -# certs. This *field* was added in vSphere API 7.0.0. +# certs. This *field* was added in vSphere API 7.0.0.0. # # Health# sub get_health { @@ -511,7 +513,7 @@ sub get_health { # # @param health - New value for the field. # A health indicator which indicates whether each host in the cluster has the same CA -# certs. This *field* was added in vSphere API 7.0.0. +# certs. This *field* was added in vSphere API 7.0.0.0. # sub set_health { my ($self, %args) = @_; @@ -533,7 +535,7 @@ sub set_health { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::CaCertificates::Health.NONE` # , this member will provide an actionable description of the issues present.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # List# sub get_details { @@ -555,7 +557,7 @@ sub get_details { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::CaCertificates::Health.NONE` # , this member will provide an actionable description of the issues present.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_details { my ($self, %args) = @_; @@ -573,7 +575,7 @@ sub set_details { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::CaCertificates::CreateSpec`` # *class* contains information that describes a TPM CA certificate. This *class* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::CaCertificates::CreateSpec; @@ -617,7 +619,7 @@ sub new { # # @retval name - The current value of the field. # A unique name for the TPM CA certificate. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # ID# sub get_name { @@ -630,7 +632,7 @@ sub get_name { # # @param name - New value for the field. # A unique name for the TPM CA certificate. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_name { my ($self, %args) = @_; @@ -661,7 +663,7 @@ sub set_name { # Similarly, when added as a chain the list must be ordered in the direction from root # to leaf.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_cert_chain { @@ -692,7 +694,7 @@ sub get_cert_chain { # Similarly, when added as a chain the list must be ordered in the direction from root # to leaf.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_cert_chain { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Tpm2/EndorsementKeys.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Tpm2/EndorsementKeys.pm index b9cdd165..47ca63e6 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Tpm2/EndorsementKeys.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Tpm2/EndorsementKeys.pm @@ -15,12 +15,12 @@ # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys`` # *interface* provides *methods* to manage Trusted Platform Module (TPM) Endorsement -# Keys (EK) on a cluster level. This *interface* was added in vSphere API 7.0.0. +# Keys (EK) on a cluster level. This *interface* was added in vSphere API 7.0.0.0. # # # Constant String::RESOURCE_TYPE # #Resource type for TPM 2.0 endorsement keys. This *constant* was added in vSphere API -# 7.0.0. +# 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys; @@ -80,7 +80,7 @@ sub new { ## @method list_task () # Return a list of configured TPM endorsement keys in a cluster. This *method* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # # @param cluster [REQUIRED] The id of the cluster on which the operation will be executed. # The value must be an identifier for the resource type @@ -117,7 +117,7 @@ sub list_task { ## @method create_task () # Add a new TPM endorsement key on a cluster. This *method* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # @param cluster [REQUIRED] The id of the cluster on which the operation will be executed. # The value must be an identifier for the resource type @@ -157,7 +157,8 @@ sub create_task { ## @method delete_task () -# Remove a TPM endorsement key on a cluster. This *method* was added in vSphere API 7.0.0. +# Remove a TPM endorsement key on a cluster. This *method* was added in vSphere API +# 7.0.0.0. # # @param cluster [REQUIRED] The id of the cluster on which the operation will be executed. # The value must be an identifier for the resource type @@ -197,7 +198,7 @@ sub delete_task { ## @method get_task () # Get the TPM endorsement key details on a cluster. This *method* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # @param cluster [REQUIRED] The id of the cluster on which the operation will be executed. # The value must be an identifier for the resource type @@ -250,24 +251,24 @@ sub get_task { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys::Health`` # *enumerated type* is indicator for the consistency of the hosts status in the -# cluster. This *enumeration* was added in vSphere API 7.0.0. +# cluster. This *enumeration* was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys::Health::NONE # -#No status available. This *constant* was added in vSphere API 7.0.0. +#No status available. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys::Health::OK # #Each host in the cluster is in consistent state with the rest hosts in the cluster. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys::Health::WARNING # #Attestation is functioning, however there is an issue that requires attention. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys::Health::ERROR # #Not all hosts in the cluster are in consistent state. This *constant* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys::Health; @@ -319,7 +320,7 @@ sub new { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys::Summary`` # *class* contains information that summarizes a TPM endorsement key. This *class* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys::Summary; @@ -363,7 +364,7 @@ sub new { # # @retval name - The current value of the field. # A unique name for the TPM endorsement key. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # ID# sub get_name { @@ -376,7 +377,7 @@ sub get_name { # # @param name - New value for the field. # A unique name for the TPM endorsement key. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_name { my ($self, %args) = @_; @@ -389,7 +390,7 @@ sub set_name { # # @retval health - The current value of the field. # A health indicator which indicates whether each host in the cluster has the same -# endorsement key. This *field* was added in vSphere API 7.0.0. +# endorsement key. This *field* was added in vSphere API 7.0.0.0. # # Health# sub get_health { @@ -402,7 +403,7 @@ sub get_health { # # @param health - New value for the field. # A health indicator which indicates whether each host in the cluster has the same -# endorsement key. This *field* was added in vSphere API 7.0.0. +# endorsement key. This *field* was added in vSphere API 7.0.0.0. # sub set_health { my ($self, %args) = @_; @@ -420,7 +421,7 @@ sub set_health { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys::Info`` # *class* contains information that describes a TPM endorsement key. This *class* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys::Info; @@ -466,7 +467,7 @@ sub new { # # @retval public_key - The current value of the field. # TPM public endorsement key in PEM format. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # String# sub get_public_key { @@ -479,7 +480,7 @@ sub get_public_key { # # @param public_key - New value for the field. # TPM public endorsement key in PEM format. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_public_key { my ($self, %args) = @_; @@ -492,7 +493,7 @@ sub set_public_key { # # @retval health - The current value of the field. # A health indicator which indicates whether each host in the cluster has the same -# endorsement key. This *field* was added in vSphere API 7.0.0. +# endorsement key. This *field* was added in vSphere API 7.0.0.0. # # Health# sub get_health { @@ -505,7 +506,7 @@ sub get_health { # # @param health - New value for the field. # A health indicator which indicates whether each host in the cluster has the same -# endorsement key. This *field* was added in vSphere API 7.0.0. +# endorsement key. This *field* was added in vSphere API 7.0.0.0. # sub set_health { my ($self, %args) = @_; @@ -527,7 +528,7 @@ sub set_health { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys::Health.NONE` # , this member will provide an actionable description of the issues present.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # List# sub get_details { @@ -549,7 +550,7 @@ sub get_details { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys::Health.NONE` # , this member will provide an actionable description of the issues present.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_details { my ($self, %args) = @_; @@ -574,7 +575,7 @@ sub set_details { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys::CreateSpec.certificate` # must be specified.

    # -# . This *class* was added in vSphere API 7.0.0. +# . This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::EndorsementKeys::CreateSpec; @@ -624,7 +625,7 @@ sub new { # The unique name should be something that an administrator can use to easily identify # the remote system. For example, the hostname, or hardware UUID.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # ID# sub get_name { @@ -641,7 +642,7 @@ sub get_name { # The unique name should be something that an administrator can use to easily identify # the remote system. For example, the hostname, or hardware UUID.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_name { my ($self, %args) = @_; @@ -654,7 +655,7 @@ sub set_name { # # @retval public_key - The current value of the field. # TPM public endorsement key in PEM format. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_public_key { @@ -667,7 +668,7 @@ sub get_public_key { # # @param public_key - New value for the field. # TPM public endorsement key in PEM format. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_public_key { my ($self, %args) = @_; @@ -690,7 +691,7 @@ sub set_public_key { # Using this format allows for failures to be caught during configuration rather than # later during attestation.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_certificate { @@ -713,7 +714,7 @@ sub get_certificate { # Using this format allows for failures to be caught during configuration rather than # later during attestation.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_certificate { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Tpm2/Settings.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Tpm2/Settings.pm index 44ec743f..e35b85a9 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Tpm2/Settings.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Attestation/Tpm2/Settings.pm @@ -15,7 +15,7 @@ # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::Settings`` # *interface* provides *methods* to get or update settings related to the TPM 2.0 -# attestation protocol behavior. This *interface* was added in vSphere API 7.0.0. +# attestation protocol behavior. This *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::Settings; @@ -73,7 +73,7 @@ sub new { } ## @method get_task () -# Return the TPM 2.0 protocol settings. This *method* was added in vSphere API 7.0.0. +# Return the TPM 2.0 protocol settings. This *method* was added in vSphere API 7.0.0.0. # # @param cluster [REQUIRED] The id of the cluster on which the operation will be executed. # The value must be an identifier for the resource type @@ -109,7 +109,7 @@ sub get_task { ## @method update_task () -# Set the TPM 2.0 protocol settings. This *method* was added in vSphere API 7.0.0. +# Set the TPM 2.0 protocol settings. This *method* was added in vSphere API 7.0.0.0. # # @param cluster [REQUIRED] The id of the cluster on which the operation will be executed. # The value must be an identifier for the resource type @@ -156,24 +156,24 @@ sub update_task { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::Settings::Health`` # *enumerated type* is indicator for the consistency of the hosts status in the -# cluster. This *enumeration* was added in vSphere API 7.0.0. +# cluster. This *enumeration* was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::Settings::Health::NONE # -#No status available. This *constant* was added in vSphere API 7.0.0. +#No status available. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::Settings::Health::OK # #Each host in the cluster is in consistent state with the rest hosts in the cluster. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::Settings::Health::WARNING # #Attestation is functioning, however there is an issue that requires attention. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::Settings::Health::ERROR # #Not all hosts in the cluster are in consistent state. This *constant* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::Settings::Health; @@ -225,7 +225,7 @@ sub new { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::Settings::Info`` # *class* contains information that describes the TPM 2.0 protocol settings. This -# *class* was added in vSphere API 7.0.0. +# *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::Settings::Info; @@ -279,7 +279,7 @@ sub new { # proceed with attestation if the endorsement key has been added to the list of # configured trusted endorsement keys.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # boolean# sub get_require_endorsement_keys { @@ -298,7 +298,7 @@ sub get_require_endorsement_keys { # proceed with attestation if the endorsement key has been added to the list of # configured trusted endorsement keys.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_require_endorsement_keys { my ($self, %args) = @_; @@ -318,7 +318,7 @@ sub set_require_endorsement_keys { # certificates. Only endorsement key certificates that are signed by a trusted TPM CA # certificate will be able to successfully attest.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # boolean# sub get_require_certificate_validation { @@ -338,7 +338,7 @@ sub get_require_certificate_validation { # certificates. Only endorsement key certificates that are signed by a trusted TPM CA # certificate will be able to successfully attest.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_require_certificate_validation { my ($self, %args) = @_; @@ -351,7 +351,7 @@ sub set_require_certificate_validation { # # @retval health - The current value of the field. # A health indicator which indicates whether each host in the cluster has the same -# attestation settings. This *field* was added in vSphere API 7.0.0. +# attestation settings. This *field* was added in vSphere API 7.0.0.0. # # Health# sub get_health { @@ -364,7 +364,7 @@ sub get_health { # # @param health - New value for the field. # A health indicator which indicates whether each host in the cluster has the same -# attestation settings. This *field* was added in vSphere API 7.0.0. +# attestation settings. This *field* was added in vSphere API 7.0.0.0. # sub set_health { my ($self, %args) = @_; @@ -386,7 +386,7 @@ sub set_health { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::Settings::Health.NONE` # , this member will provide an actionable description of the issues present.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # List# sub get_details { @@ -408,7 +408,7 @@ sub get_details { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::Settings::Health.NONE` # , this member will provide an actionable description of the issues present.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_details { my ($self, %args) = @_; @@ -426,7 +426,7 @@ sub set_details { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::Settings::UpdateSpec`` # *class* contains information that describes changes to the TPM 2.0 protocol settings. -# This *class* was added in vSphere API 7.0.0. +# This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Attestation::Tpm2::Settings::UpdateSpec; @@ -470,7 +470,7 @@ sub new { # # @retval require_endorsement_keys - The current value of the field. # Require registered TPM endorsement keys. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_require_endorsement_keys { @@ -483,7 +483,7 @@ sub get_require_endorsement_keys { # # @param require_endorsement_keys - New value for the field. # Require registered TPM endorsement keys. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_require_endorsement_keys { my ($self, %args) = @_; @@ -496,7 +496,7 @@ sub set_require_endorsement_keys { # # @retval require_certificate_validation - The current value of the field. # Require TPM endorsement key certificate validation. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_require_certificate_validation { @@ -509,7 +509,7 @@ sub get_require_certificate_validation { # # @param require_certificate_validation - New value for the field. # Require TPM endorsement key certificate validation. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_require_certificate_validation { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/ConsumerPrincipals.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/ConsumerPrincipals.pm index ce89becc..eb70f485 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/ConsumerPrincipals.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/ConsumerPrincipals.pm @@ -17,7 +17,7 @@ # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals`` # *interface* configures the token policies and STS trust necessary for the workload # vCenter to query the trusted services for their status. This *interface* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals; @@ -78,7 +78,7 @@ sub new { ## @method create_task () # Creates a profile with the specified connection information on all hosts from a Trust -# Authority Cluster. This *method* was added in vSphere API 7.0.0. +# Authority Cluster. This *method* was added in vSphere API 7.0.0.0. # # @param cluster [REQUIRED] The ID of the Trust Authority Cluster to configure. # The value must be an identifier for the resource type @@ -122,7 +122,7 @@ sub create_task { ## @method delete_task () # Removes the read-only policy configured on ESX for a specific principal. This *method* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # @param cluster [REQUIRED] The ID of the Trust Authority Cluster to configure. # The value must be an identifier for the resource type @@ -158,7 +158,7 @@ sub delete_task { ## @method get_task () # Retrieve information for a specific profile. This *method* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # @param cluster [REQUIRED] The ID of the Trust Authority Cluster on which the profile is configured. # The value must be an identifier for the resource type @@ -198,7 +198,7 @@ sub get_task { ## @method list_task () # Lists all policies configured on a specific cluster. This *method* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # # @param cluster [REQUIRED] The ID of the Trust Authority Cluster on which the profile is configured. # The value must be an identifier for the resource type @@ -248,22 +248,22 @@ sub list_task { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals::Health`` # *enumerated type* defines the possible health states. This *enumeration* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals::Health::NONE # -#None. No status available. This *constant* was added in vSphere API 7.0.0. +#None. No status available. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals::Health::OK # -#OK. Health is normal. This *constant* was added in vSphere API 7.0.0. +#OK. Health is normal. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals::Health::WARNING # #Warning. Health is normal, however there is an issue that requires attention. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals::Health::ERROR # -#Error. Not healthy. This *constant* was added in vSphere API 7.0.0. +#Error. Not healthy. This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals::Health; @@ -315,7 +315,7 @@ sub new { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals::CreateSpec`` # *class* contains the information necessary to establish trust between a workload -# vCenter and a Trust Authority Host. This *class* was added in vSphere API 7.0.0. +# vCenter and a Trust Authority Host. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals::CreateSpec; @@ -363,7 +363,7 @@ sub new { # # @retval certificates - The current value of the field. # The certificates used by the vCenter STS to sign tokens. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # List# sub get_certificates { @@ -376,7 +376,7 @@ sub get_certificates { # # @param certificates - New value for the field. # The certificates used by the vCenter STS to sign tokens. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_certificates { my ($self, %args) = @_; @@ -389,7 +389,7 @@ sub set_certificates { # # @retval issuer_alias - The current value of the field. # A user-friendly alias of the service which created and signed the security token. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # ID# sub get_issuer_alias { @@ -402,7 +402,7 @@ sub get_issuer_alias { # # @param issuer_alias - New value for the field. # A user-friendly alias of the service which created and signed the security token. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_issuer_alias { my ($self, %args) = @_; @@ -415,7 +415,7 @@ sub set_issuer_alias { # # @retval issuer - The current value of the field. # The service which created and signed the security token. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # String# sub get_issuer { @@ -428,7 +428,7 @@ sub get_issuer { # # @param issuer - New value for the field. # The service which created and signed the security token. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_issuer { my ($self, %args) = @_; @@ -441,7 +441,7 @@ sub set_issuer { # # @retval principal - The current value of the field. # The principal used by the vCenter to retrieve tokens. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # StsPrincipal# sub get_principal { @@ -454,7 +454,7 @@ sub get_principal { # # @param principal - New value for the field. # The principal used by the vCenter to retrieve tokens. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_principal { my ($self, %args) = @_; @@ -472,7 +472,7 @@ sub set_principal { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals::FilterSpec`` # *class* contains data which identifies a connection profile on the trusted vCenter. -# This *class* was added in vSphere API 7.0.0. +# This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals::FilterSpec; @@ -518,7 +518,7 @@ sub new { # # @retval id - The current value of the field. # The unqiue identifier of a connection profile. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_id { @@ -531,7 +531,7 @@ sub get_id { # # @param id - New value for the field. # The unqiue identifier of a connection profile. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_id { my ($self, %args) = @_; @@ -544,7 +544,7 @@ sub set_id { # # @retval principals - The current value of the field. # The principal used by the vCenter to retrieve tokens. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_principals { @@ -557,7 +557,7 @@ sub get_principals { # # @param principals - New value for the field. # The principal used by the vCenter to retrieve tokens. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_principals { my ($self, %args) = @_; @@ -570,7 +570,7 @@ sub set_principals { # # @retval issuer - The current value of the field. # The service which created and signed the security token. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_issuer { @@ -583,7 +583,7 @@ sub get_issuer { # # @param issuer - New value for the field. # The service which created and signed the security token. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_issuer { my ($self, %args) = @_; @@ -601,7 +601,7 @@ sub set_issuer { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals::Info`` # *class* contains the information necessary to establish trust between a workload -# vCenter and a Trust Authority Host. This *class* was added in vSphere API 7.0.0. +# vCenter and a Trust Authority Host. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals::Info; @@ -655,7 +655,7 @@ sub new { # # @retval id - The current value of the field. # The unqiue identifier of a connection profile. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # ID# sub get_id { @@ -668,7 +668,7 @@ sub get_id { # # @param id - New value for the field. # The unqiue identifier of a connection profile. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_id { my ($self, %args) = @_; @@ -681,7 +681,7 @@ sub set_id { # # @retval principal - The current value of the field. # The principal used by the vCenter to retrieve tokens. Currently this is the vCenter -# solution user. This *field* was added in vSphere API 7.0.0. +# solution user. This *field* was added in vSphere API 7.0.0.0. # # StsPrincipal# sub get_principal { @@ -694,7 +694,7 @@ sub get_principal { # # @param principal - New value for the field. # The principal used by the vCenter to retrieve tokens. Currently this is the vCenter -# solution user. This *field* was added in vSphere API 7.0.0. +# solution user. This *field* was added in vSphere API 7.0.0.0. # sub set_principal { my ($self, %args) = @_; @@ -707,7 +707,7 @@ sub set_principal { # # @retval issuer_alias - The current value of the field. # A user-friendly alias of the service which created and signed the security token. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # ID# sub get_issuer_alias { @@ -720,7 +720,7 @@ sub get_issuer_alias { # # @param issuer_alias - New value for the field. # A user-friendly alias of the service which created and signed the security token. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_issuer_alias { my ($self, %args) = @_; @@ -733,7 +733,7 @@ sub set_issuer_alias { # # @retval issuer - The current value of the field. # The service which created and signed the security token. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # String# sub get_issuer { @@ -746,7 +746,7 @@ sub get_issuer { # # @param issuer - New value for the field. # The service which created and signed the security token. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_issuer { my ($self, %args) = @_; @@ -759,7 +759,7 @@ sub set_issuer { # # @retval certificates - The current value of the field. # The certificates used by the vCenter STS to sign tokens. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # List# sub get_certificates { @@ -772,7 +772,7 @@ sub get_certificates { # # @param certificates - New value for the field. # The certificates used by the vCenter STS to sign tokens. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_certificates { my ($self, %args) = @_; @@ -785,7 +785,7 @@ sub set_certificates { # # @retval health - The current value of the field. # The consistency of the profile across the hosts in the cluster. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # # Health# sub get_health { @@ -798,7 +798,7 @@ sub get_health { # # @param health - New value for the field. # The consistency of the profile across the hosts in the cluster. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # sub set_health { my ($self, %args) = @_; @@ -811,7 +811,7 @@ sub set_health { # # @retval message - The current value of the field. # A localizable message describing the health of the profile. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # # Optional# sub get_message { @@ -824,7 +824,7 @@ sub get_message { # # @param message - New value for the field. # A localizable message describing the health of the profile. This *field* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # sub set_message { my ($self, %args) = @_; @@ -843,7 +843,7 @@ sub set_message { # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals::Summary`` # *class* contains a summary of the information necessary to establish trust between a # workload vCenter and a Trust Authority Host. This *class* was added in vSphere API -# 7.0.0. +# 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::ConsumerPrincipals::Summary; @@ -891,7 +891,7 @@ sub new { # # @retval id - The current value of the field. # The unqiue identifier of a connection profile. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # ID# sub get_id { @@ -904,7 +904,7 @@ sub get_id { # # @param id - New value for the field. # The unqiue identifier of a connection profile. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_id { my ($self, %args) = @_; @@ -917,7 +917,7 @@ sub set_id { # # @retval principal - The current value of the field. # The principal used by the vCenter to retrieve tokens. Currently this is the vCenter -# solution user. This *field* was added in vSphere API 7.0.0. +# solution user. This *field* was added in vSphere API 7.0.0.0. # # StsPrincipal# sub get_principal { @@ -930,7 +930,7 @@ sub get_principal { # # @param principal - New value for the field. # The principal used by the vCenter to retrieve tokens. Currently this is the vCenter -# solution user. This *field* was added in vSphere API 7.0.0. +# solution user. This *field* was added in vSphere API 7.0.0.0. # sub set_principal { my ($self, %args) = @_; @@ -943,7 +943,7 @@ sub set_principal { # # @retval issuer_alias - The current value of the field. # A user-friendly alias of the service which created and signed the security token. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # ID# sub get_issuer_alias { @@ -956,7 +956,7 @@ sub get_issuer_alias { # # @param issuer_alias - New value for the field. # A user-friendly alias of the service which created and signed the security token. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_issuer_alias { my ($self, %args) = @_; @@ -969,7 +969,7 @@ sub set_issuer_alias { # # @retval issuer - The current value of the field. # The service which created and signed the security token. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # String# sub get_issuer { @@ -982,7 +982,7 @@ sub get_issuer { # # @param issuer - New value for the field. # The service which created and signed the security token. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_issuer { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers.pm index 89167f23..cf70161e 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers.pm @@ -16,11 +16,11 @@ # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers`` # *interface* provides *methods* to create, update and delete Key Providers that -# handoff to key servers. This *interface* was added in vSphere API 7.0.0. +# handoff to key servers. This *interface* was added in vSphere API 7.0.0.0. # # # Constant String::RESOURCE_TYPE # -#Resource type for a Key Provider. This *constant* was added in vSphere API 7.0.0. +#Resource type for a Key Provider. This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers; @@ -80,7 +80,11 @@ sub new { } ## @method list_task () -# Return a list of summary of Key Providers. This *method* was added in vSphere API 7.0.0. +# Return a list of summary of Key Providers. This *method* was added in vSphere API +# 7.0.0.0. +# +# Note: +# Privileges required for this operation are VcIdentityProviders.Read, VcIdentityProviders.Manage. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -116,7 +120,10 @@ sub list_task { ## @method create_task () -# Add a new Key Provider. This *method* was added in vSphere API 7.0.0. +# Add a new Key Provider. This *method* was added in vSphere API 7.0.0.0. +# +# Note: +# Privileges required for this operation are VcIdentityProviders.Create, VcIdentityProviders.Manage. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -156,7 +163,10 @@ sub create_task { ## @method update_task () -# Update an existing Key Provider. This *method* was added in vSphere API 7.0.0. +# Update an existing Key Provider. This *method* was added in vSphere API 7.0.0.0. +# +# Note: +# Privileges required for this operation are VcIdentityProviders.Manage. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -199,7 +209,10 @@ sub update_task { ## @method delete_task () -# Remove a Key Provider. This *method* was added in vSphere API 7.0.0. +# Remove a Key Provider. This *method* was added in vSphere API 7.0.0.0. +# +# Note: +# Privileges required for this operation are VcIdentityProviders.Manage. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -237,7 +250,10 @@ sub delete_task { ## @method get_task () -# Return information about a Key Provider. This *method* was added in vSphere API 7.0.0. +# Return information about a Key Provider. This *method* was added in vSphere API 7.0.0.0. +# +# Note: +# Privileges required for this operation are VcIdentityProviders.Read, VcIdentityProviders.Manage. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -289,22 +305,22 @@ sub get_task { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Health`` # *enumerated type* defines the possible health states. This *enumeration* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Health::NONE # -#No status available. This *constant* was added in vSphere API 7.0.0. +#No status available. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Health::OK # -#Health is normal. This *constant* was added in vSphere API 7.0.0. +#Health is normal. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Health::WARNING # #Health is normal, however there is an issue that requires attention. This *constant* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Health::ERROR # -#Not healthy. This *constant* was added in vSphere API 7.0.0. +#Not healthy. This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Health; @@ -356,7 +372,7 @@ sub new { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::ServerInfo`` # *class* contains *fields* that describe the status of a key server. This *class* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::ServerInfo; @@ -406,7 +422,7 @@ sub new { # # @retval health - The current value of the field. # The connection status health of the server. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Health# sub get_health { @@ -419,7 +435,7 @@ sub get_health { # # @param health - New value for the field. # The connection status health of the server. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_health { my ($self, %args) = @_; @@ -439,7 +455,7 @@ sub set_health { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Health.OK` # , this *field* will provide an actionable description of the issue.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # List# sub get_details { @@ -459,7 +475,7 @@ sub get_details { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Health.OK` # , this *field* will provide an actionable description of the issue.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_details { my ($self, %args) = @_; @@ -471,7 +487,8 @@ sub set_details { # Gets the value of 'client_trust_server' property. # # @retval client_trust_server - The current value of the field. -# Whether this client trusts the server. This *field* was added in vSphere API 7.0.0. +# Whether this client trusts the server. This *field* was added in vSphere API +# 7.0.0.0. # # boolean# sub get_client_trust_server { @@ -483,7 +500,8 @@ sub get_client_trust_server { # Sets the given value for 'client_trust_server' property. # # @param client_trust_server - New value for the field. -# Whether this client trusts the server. This *field* was added in vSphere API 7.0.0. +# Whether this client trusts the server. This *field* was added in vSphere API +# 7.0.0.0. # sub set_client_trust_server { my ($self, %args) = @_; @@ -495,7 +513,8 @@ sub set_client_trust_server { # Gets the value of 'server_trust_client' property. # # @retval server_trust_client - The current value of the field. -# Whether the server trusts this client. This *field* was added in vSphere API 7.0.0. +# Whether the server trusts this client. This *field* was added in vSphere API +# 7.0.0.0. # # boolean# sub get_server_trust_client { @@ -507,7 +526,8 @@ sub get_server_trust_client { # Sets the given value for 'server_trust_client' property. # # @param server_trust_client - New value for the field. -# Whether the server trusts this client. This *field* was added in vSphere API 7.0.0. +# Whether the server trusts this client. This *field* was added in vSphere API +# 7.0.0.0. # sub set_server_trust_client { my ($self, %args) = @_; @@ -519,7 +539,7 @@ sub set_server_trust_client { # Gets the value of 'name' property. # # @retval name - The current value of the field. -# Name of the server. This *field* was added in vSphere API 7.0.0. +# Name of the server. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_name { @@ -531,7 +551,7 @@ sub get_name { # Sets the given value for 'name' property. # # @param name - New value for the field. -# Name of the server. This *field* was added in vSphere API 7.0.0. +# Name of the server. This *field* was added in vSphere API 7.0.0.0. # sub set_name { my ($self, %args) = @_; @@ -549,7 +569,7 @@ sub set_name { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Status`` # *class* contains *fields* that describe the status of the Key Provider. This -# *class* was added in vSphere API 7.0.0. +# *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Status; @@ -594,7 +614,7 @@ sub new { # Gets the value of 'health' property. # # @retval health - The current value of the field. -# The health of the provider. This *field* was added in vSphere API 7.0.0. +# The health of the provider. This *field* was added in vSphere API 7.0.0.0. # # Health# sub get_health { @@ -606,7 +626,7 @@ sub get_health { # Sets the given value for 'health' property. # # @param health - New value for the field. -# The health of the provider. This *field* was added in vSphere API 7.0.0. +# The health of the provider. This *field* was added in vSphere API 7.0.0.0. # sub set_health { my ($self, %args) = @_; @@ -626,7 +646,7 @@ sub set_health { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Health.OK` # , this *field* will provide an actionable description of the issue.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # List# sub get_details { @@ -646,7 +666,7 @@ sub get_details { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Health.OK` # , this *field* will provide an actionable description of the issue.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_details { my ($self, %args) = @_; @@ -658,7 +678,7 @@ sub set_details { # Gets the value of 'servers' property. # # @retval servers - The current value of the field. -# Health of the key servers. This *field* was added in vSphere API 7.0.0. +# Health of the key servers. This *field* was added in vSphere API 7.0.0.0. # # List# sub get_servers { @@ -670,7 +690,7 @@ sub get_servers { # Sets the given value for 'servers' property. # # @param servers - New value for the field. -# Health of the key servers. This *field* was added in vSphere API 7.0.0. +# Health of the key servers. This *field* was added in vSphere API 7.0.0.0. # sub set_servers { my ($self, %args) = @_; @@ -688,7 +708,7 @@ sub set_servers { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Server`` # *class* contains *fields* that describe a connection endpoint. This *class* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Server; @@ -735,7 +755,7 @@ sub new { # # A unique string chosen by the client.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # String# sub get_name { @@ -751,7 +771,7 @@ sub get_name { # # A unique string chosen by the client.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_name { my ($self, %args) = @_; @@ -763,7 +783,7 @@ sub set_name { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The server's address. This *field* was added in vSphere API 7.0.0. +# The server's address. This *field* was added in vSphere API 7.0.0.0. # # NetworkAddress# sub get_address { @@ -775,7 +795,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The server's address. This *field* was added in vSphere API 7.0.0. +# The server's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -794,7 +814,7 @@ sub set_address { # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KmipServerCreateSpec`` # *class* contains *fields* that describe Key Management Interoperability Protocol # (KMIP) desired key server configuration. This *class* was added in vSphere API -# 7.0.0. +# 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KmipServerCreateSpec; @@ -842,7 +862,7 @@ sub new { # Key servers must be configured for active-active replication. If the server port is # *null* , a default value for KMIP's port will be used.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # List# sub get_servers { @@ -859,7 +879,7 @@ sub get_servers { # Key servers must be configured for active-active replication. If the server port is # *null* , a default value for KMIP's port will be used.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_servers { my ($self, %args) = @_; @@ -871,7 +891,7 @@ sub set_servers { # Gets the value of 'username' property. # # @retval username - The current value of the field. -# Username for authentication. This *field* was added in vSphere API 7.0.0. +# Username for authentication. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_username { @@ -883,7 +903,7 @@ sub get_username { # Sets the given value for 'username' property. # # @param username - New value for the field. -# Username for authentication. This *field* was added in vSphere API 7.0.0. +# Username for authentication. This *field* was added in vSphere API 7.0.0.0. # sub set_username { my ($self, %args) = @_; @@ -901,7 +921,7 @@ sub set_username { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KeyServerCreateSpec`` # *class* contains *fields* that describe the desired configuration for the key -# server. This *class* was added in vSphere API 7.0.0. +# server. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KeyServerCreateSpec; @@ -957,7 +977,7 @@ sub new { # Gets the value of 'type' property. # # @retval type - The current value of the field. -# Type of the key server. This *field* was added in vSphere API 7.0.0. +# Type of the key server. This *field* was added in vSphere API 7.0.0.0. # # Type# sub get_type { @@ -969,7 +989,7 @@ sub get_type { # Sets the given value for 'type' property. # # @param type - New value for the field. -# Type of the key server. This *field* was added in vSphere API 7.0.0. +# Type of the key server. This *field* was added in vSphere API 7.0.0.0. # sub set_type { my ($self, %args) = @_; @@ -981,7 +1001,7 @@ sub set_type { # Gets the value of 'description' property. # # @retval description - The current value of the field. -# Description of the key server. This *field* was added in vSphere API 7.0.0. +# Description of the key server. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_description { @@ -993,7 +1013,7 @@ sub get_description { # Sets the given value for 'description' property. # # @param description - New value for the field. -# Description of the key server. This *field* was added in vSphere API 7.0.0. +# Description of the key server. This *field* was added in vSphere API 7.0.0.0. # sub set_description { my ($self, %args) = @_; @@ -1005,7 +1025,7 @@ sub set_description { # Gets the value of 'proxy_server' property. # # @retval proxy_server - The current value of the field. -# Proxy server configuration. This *field* was added in vSphere API 7.0.0. +# Proxy server configuration. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_proxy_server { @@ -1017,7 +1037,7 @@ sub get_proxy_server { # Sets the given value for 'proxy_server' property. # # @param proxy_server - New value for the field. -# Proxy server configuration. This *field* was added in vSphere API 7.0.0. +# Proxy server configuration. This *field* was added in vSphere API 7.0.0.0. # sub set_proxy_server { my ($self, %args) = @_; @@ -1029,7 +1049,7 @@ sub set_proxy_server { # Gets the value of 'connection_timeout' property. # # @retval connection_timeout - The current value of the field. -# Connection timeout in seconds. This *field* was added in vSphere API 7.0.0. +# Connection timeout in seconds. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_connection_timeout { @@ -1041,7 +1061,7 @@ sub get_connection_timeout { # Sets the given value for 'connection_timeout' property. # # @param connection_timeout - New value for the field. -# Connection timeout in seconds. This *field* was added in vSphere API 7.0.0. +# Connection timeout in seconds. This *field* was added in vSphere API 7.0.0.0. # sub set_connection_timeout { my ($self, %args) = @_; @@ -1054,7 +1074,7 @@ sub set_connection_timeout { # # @retval kmip_server - The current value of the field. # Configuration information for Key Management Interoperability Protocol (KMIP) based -# key server. This *field* was added in vSphere API 7.0.0. +# key server. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_kmip_server { @@ -1067,7 +1087,7 @@ sub get_kmip_server { # # @param kmip_server - New value for the field. # Configuration information for Key Management Interoperability Protocol (KMIP) based -# key server. This *field* was added in vSphere API 7.0.0. +# key server. This *field* was added in vSphere API 7.0.0.0. # sub set_kmip_server { my ($self, %args) = @_; @@ -1084,13 +1104,13 @@ sub set_kmip_server { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KeyServerCreateSpec::Type`` # *enumerated type* lists the key server types. This *enumeration* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KeyServerCreateSpec::Type::KMIP # #Key Management Interoperability Protocol (KMIP) based key management server. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KeyServerCreateSpec::Type; @@ -1131,7 +1151,7 @@ sub new { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::CreateSpec`` # *class* contains *fields* that describe the desired configuration for a new Key -# Provider. This *class* was added in vSphere API 7.0.0. +# Provider. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::CreateSpec; @@ -1180,7 +1200,7 @@ sub new { # # A unique string chosen by the client.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # ID# sub get_provider { @@ -1196,7 +1216,7 @@ sub get_provider { # # A unique string chosen by the client.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_provider { my ($self, %args) = @_; @@ -1212,7 +1232,7 @@ sub set_provider { # # A unique Key ID.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # String# sub get_master_key_id { @@ -1228,7 +1248,7 @@ sub get_master_key_id { # # A unique Key ID.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_master_key_id { my ($self, %args) = @_; @@ -1241,7 +1261,7 @@ sub set_master_key_id { # # @retval key_server - The current value of the field. # Key server associated with this Provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # KeyServerCreateSpec# sub get_key_server { @@ -1254,7 +1274,7 @@ sub get_key_server { # # @param key_server - New value for the field. # Key server associated with this Provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_key_server { my ($self, %args) = @_; @@ -1272,7 +1292,7 @@ sub set_key_server { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KmipServerUpdateSpec`` # *class* contains *fields* that describe new configuration for KMIP based key -# server. This *class* was added in vSphere API 7.0.0. +# server. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KmipServerUpdateSpec; @@ -1324,7 +1344,7 @@ sub new { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_servers { @@ -1345,7 +1365,7 @@ sub get_servers { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_servers { my ($self, %args) = @_; @@ -1361,7 +1381,7 @@ sub set_servers { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_username { @@ -1377,7 +1397,7 @@ sub get_username { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_username { my ($self, %args) = @_; @@ -1395,7 +1415,7 @@ sub set_username { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KeyServerUpdateSpec`` # *class* contains *fields* that describe new configuration for an existing key -# server. This *class* was added in vSphere API 7.0.0. +# server. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KeyServerUpdateSpec; @@ -1455,7 +1475,7 @@ sub new { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_type { @@ -1471,7 +1491,7 @@ sub get_type { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_type { my ($self, %args) = @_; @@ -1487,7 +1507,7 @@ sub set_type { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_description { @@ -1503,7 +1523,7 @@ sub get_description { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_description { my ($self, %args) = @_; @@ -1519,7 +1539,7 @@ sub set_description { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_proxy_server { @@ -1535,7 +1555,7 @@ sub get_proxy_server { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_proxy_server { my ($self, %args) = @_; @@ -1551,7 +1571,7 @@ sub set_proxy_server { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_connection_timeout { @@ -1567,7 +1587,7 @@ sub get_connection_timeout { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_connection_timeout { my ($self, %args) = @_; @@ -1583,7 +1603,7 @@ sub set_connection_timeout { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_kmip_server { @@ -1599,7 +1619,7 @@ sub get_kmip_server { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_kmip_server { my ($self, %args) = @_; @@ -1616,13 +1636,13 @@ sub set_kmip_server { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KeyServerUpdateSpec::Type`` # *enumerated type* list the key server types. This *enumeration* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KeyServerUpdateSpec::Type::KMIP # #Key Management Interoperability Protocol (KMIP) based key management server. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KeyServerUpdateSpec::Type; @@ -1663,7 +1683,7 @@ sub new { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::UpdateSpec`` # *class* contains *fields* that describe the new configuration for an existing -# provider. This *class* was added in vSphere API 7.0.0. +# provider. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::UpdateSpec; @@ -1714,7 +1734,7 @@ sub new { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_master_key_id { @@ -1734,7 +1754,7 @@ sub get_master_key_id { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_master_key_id { my ($self, %args) = @_; @@ -1750,7 +1770,7 @@ sub set_master_key_id { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_key_server { @@ -1766,7 +1786,7 @@ sub get_key_server { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_key_server { my ($self, %args) = @_; @@ -1784,7 +1804,7 @@ sub set_key_server { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Summary`` # *class* contains *fields* that summarize a provider. This *class* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Summary; @@ -1831,7 +1851,7 @@ sub new { # # A unique string chosen by the client.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # ID# sub get_provider { @@ -1847,7 +1867,7 @@ sub get_provider { # # A unique string chosen by the client.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_provider { my ($self, %args) = @_; @@ -1859,7 +1879,8 @@ sub set_provider { # Gets the value of 'health' property. # # @retval health - The current value of the field. -# Health of the provider in the cluster. This *field* was added in vSphere API 7.0.0. +# Health of the provider in the cluster. This *field* was added in vSphere API +# 7.0.0.0. # # Health# sub get_health { @@ -1871,7 +1892,8 @@ sub get_health { # Sets the given value for 'health' property. # # @param health - New value for the field. -# Health of the provider in the cluster. This *field* was added in vSphere API 7.0.0. +# Health of the provider in the cluster. This *field* was added in vSphere API +# 7.0.0.0. # sub set_health { my ($self, %args) = @_; @@ -1889,7 +1911,7 @@ sub set_health { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KmipServerInfo`` # *class* contains *fields* that describe the current configuration of a KMIP based -# key server. This *class* was added in vSphere API 7.0.0. +# key server. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KmipServerInfo; @@ -1932,7 +1954,7 @@ sub new { # Gets the value of 'servers' property. # # @retval servers - The current value of the field. -# List of KMIP compliant key servers. This *field* was added in vSphere API 7.0.0. +# List of KMIP compliant key servers. This *field* was added in vSphere API 7.0.0.0. # # List# sub get_servers { @@ -1944,7 +1966,7 @@ sub get_servers { # Sets the given value for 'servers' property. # # @param servers - New value for the field. -# List of KMIP compliant key servers. This *field* was added in vSphere API 7.0.0. +# List of KMIP compliant key servers. This *field* was added in vSphere API 7.0.0.0. # sub set_servers { my ($self, %args) = @_; @@ -1960,7 +1982,7 @@ sub set_servers { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_username { @@ -1976,7 +1998,7 @@ sub get_username { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_username { my ($self, %args) = @_; @@ -1994,7 +2016,7 @@ sub set_username { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KeyServerInfo`` # *class* contains *fields* that describe the current configuration of a key server. -# This *class* was added in vSphere API 7.0.0. +# This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KeyServerInfo; @@ -2050,7 +2072,7 @@ sub new { # Gets the value of 'type' property. # # @retval type - The current value of the field. -# Type of the key server. This *field* was added in vSphere API 7.0.0. +# Type of the key server. This *field* was added in vSphere API 7.0.0.0. # # Type# sub get_type { @@ -2062,7 +2084,7 @@ sub get_type { # Sets the given value for 'type' property. # # @param type - New value for the field. -# Type of the key server. This *field* was added in vSphere API 7.0.0. +# Type of the key server. This *field* was added in vSphere API 7.0.0.0. # sub set_type { my ($self, %args) = @_; @@ -2074,7 +2096,7 @@ sub set_type { # Gets the value of 'description' property. # # @retval description - The current value of the field. -# Description of the key server. This *field* was added in vSphere API 7.0.0. +# Description of the key server. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_description { @@ -2086,7 +2108,7 @@ sub get_description { # Sets the given value for 'description' property. # # @param description - New value for the field. -# Description of the key server. This *field* was added in vSphere API 7.0.0. +# Description of the key server. This *field* was added in vSphere API 7.0.0.0. # sub set_description { my ($self, %args) = @_; @@ -2102,7 +2124,7 @@ sub set_description { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_proxy_server { @@ -2118,7 +2140,7 @@ sub get_proxy_server { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_proxy_server { my ($self, %args) = @_; @@ -2134,7 +2156,7 @@ sub set_proxy_server { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_connection_timeout { @@ -2150,7 +2172,7 @@ sub get_connection_timeout { # #

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_connection_timeout { my ($self, %args) = @_; @@ -2163,7 +2185,7 @@ sub set_connection_timeout { # # @retval kmip_server - The current value of the field. # Configuration information for KMIP based key server. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # optional# sub get_kmip_server { @@ -2176,7 +2198,7 @@ sub get_kmip_server { # # @param kmip_server - New value for the field. # Configuration information for KMIP based key server. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_kmip_server { my ($self, %args) = @_; @@ -2193,13 +2215,13 @@ sub set_kmip_server { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KeyServerInfo::Type`` # *enumerated type* list the key server types. This *enumeration* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KeyServerInfo::Type::KMIP # #Key Management Interoperability Protocol (KMIP) based key management server. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::KeyServerInfo::Type; @@ -2240,7 +2262,7 @@ sub new { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Info`` # *class* contains *fields* that describe the current configuration of a provider. -# This *class* was added in vSphere API 7.0.0. +# This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Info; @@ -2289,7 +2311,7 @@ sub new { # # A unique Key identifier.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # String# sub get_master_key_id { @@ -2305,7 +2327,7 @@ sub get_master_key_id { # # A unique Key identifier.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_master_key_id { my ($self, %args) = @_; @@ -2318,7 +2340,7 @@ sub set_master_key_id { # # @retval key_server - The current value of the field. # Key server associated with this provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # KeyServerInfo# sub get_key_server { @@ -2331,7 +2353,7 @@ sub get_key_server { # # @param key_server - New value for the field. # Key server associated with this provider. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_key_server { my ($self, %args) = @_; @@ -2343,7 +2365,8 @@ sub set_key_server { # Gets the value of 'status' property. # # @retval status - The current value of the field. -# Status of the provider in the cluster. This *field* was added in vSphere API 7.0.0. +# Status of the provider in the cluster. This *field* was added in vSphere API +# 7.0.0.0. # # Status# sub get_status { @@ -2355,7 +2378,8 @@ sub get_status { # Sets the given value for 'status' property. # # @param status - New value for the field. -# Status of the provider in the cluster. This *field* was added in vSphere API 7.0.0. +# Status of the provider in the cluster. This *field* was added in vSphere API +# 7.0.0.0. # sub set_status { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/ClientCertificate.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/ClientCertificate.pm index bc9be98f..b47e398b 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/ClientCertificate.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/ClientCertificate.pm @@ -14,7 +14,7 @@ # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::ClientCertificate`` # *interface* provides *methods* to add and retrieve client certificate. This -# *interface* was added in vSphere API 7.0.0. +# *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::ClientCertificate; @@ -75,7 +75,7 @@ sub new { ## @method create_task () # Generate a new self signed client certificate. Existing client certificate is overwritten. # The key server will use this certificate to validate the client connection. This *method* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -113,7 +113,7 @@ sub create_task { ## @method get_task () -# Return the existing client certificate. This *method* was added in vSphere API 7.0.0. +# Return the existing client certificate. This *method* was added in vSphere API 7.0.0.0. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -165,7 +165,7 @@ sub get_task { # An optional private key can be specified if the certificate has already been # provisioned.

    # -# . This *method* was added in vSphere API 7.0.0. +# . This *method* was added in vSphere API 7.0.0.0. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -229,7 +229,7 @@ sub update_task { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::ClientCertificate::Info`` # *class* contains the client certificate used by the hosts in a cluster for -# authenticating with the Provider. This *class* was added in vSphere API 7.0.0. +# authenticating with the Provider. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::ClientCertificate::Info; @@ -270,7 +270,7 @@ sub new { # Gets the value of 'certificate' property. # # @retval certificate - The current value of the field. -# Public certificate. This *field* was added in vSphere API 7.0.0. +# Public certificate. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_certificate { @@ -282,7 +282,7 @@ sub get_certificate { # Sets the given value for 'certificate' property. # # @param certificate - New value for the field. -# Public certificate. This *field* was added in vSphere API 7.0.0. +# Public certificate. This *field* was added in vSphere API 7.0.0.0. # sub set_certificate { my ($self, %args) = @_; @@ -300,7 +300,7 @@ sub set_certificate { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::ClientCertificate::UpdateSpec`` # *class* contains *fields* that describe the client certificate update for a Key -# Provider. This *class* was added in vSphere API 7.0.0. +# Provider. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::ClientCertificate::UpdateSpec; @@ -344,7 +344,7 @@ sub new { # # @retval certificate - The current value of the field. # Public certificate used by every host in the cluster. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # String# sub get_certificate { @@ -357,7 +357,7 @@ sub get_certificate { # # @param certificate - New value for the field. # Public certificate used by every host in the cluster. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_certificate { my ($self, %args) = @_; @@ -369,7 +369,7 @@ sub set_certificate { # Gets the value of 'private_key' property. # # @retval private_key - The current value of the field. -# Private part of the certificate. This *field* was added in vSphere API 7.0.0. +# Private part of the certificate. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_private_key { @@ -381,7 +381,7 @@ sub get_private_key { # Sets the given value for 'private_key' property. # # @param private_key - New value for the field. -# Private part of the certificate. This *field* was added in vSphere API 7.0.0. +# Private part of the certificate. This *field* was added in vSphere API 7.0.0.0. # sub set_private_key { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/Client_certificate/Csr.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/Client_certificate/Csr.pm index b5b11a50..b272e828 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/Client_certificate/Csr.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/Client_certificate/Csr.pm @@ -14,7 +14,7 @@ # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Client_certificate::Csr`` # *interface* provides *methods* to create a certificate signing request(CSR). This -# *interface* was added in vSphere API 7.0.0. +# *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Client_certificate::Csr; @@ -82,7 +82,7 @@ sub new { # # Calling the API repeatedly will result in a generating a new CSR each time.

    # -# . This *method* was added in vSphere API 7.0.0. +# . This *method* was added in vSphere API 7.0.0.0. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -133,7 +133,7 @@ sub create_task { # #

    # -# . This *method* was added in vSphere API 7.0.0. +# . This *method* was added in vSphere API 7.0.0.0. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -196,7 +196,7 @@ sub get_task { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Client_certificate::Csr::Info`` # *class* contains the certificate signing request. This *class* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Client_certificate::Csr::Info; @@ -237,7 +237,7 @@ sub new { # Gets the value of 'csr' property. # # @retval csr - The current value of the field. -# Certificate signing request. This *field* was added in vSphere API 7.0.0. +# Certificate signing request. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_csr { @@ -249,7 +249,7 @@ sub get_csr { # Sets the given value for 'csr' property. # # @param csr - New value for the field. -# Certificate signing request. This *field* was added in vSphere API 7.0.0. +# Certificate signing request. This *field* was added in vSphere API 7.0.0.0. # sub set_csr { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/Credential.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/Credential.pm index 6d81eb22..e75bae3d 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/Credential.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/Credential.pm @@ -14,7 +14,7 @@ # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Credential`` # *interface* provides *methods* to add a credential for external key management -# service(s). This *interface* was added in vSphere API 7.0.0. +# service(s). This *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::Credential; @@ -71,7 +71,7 @@ sub new { } ## @method set_task () -# Set the key server credential. This *method* was added in vSphere API 7.0.0. +# Set the key server credential. This *method* was added in vSphere API 7.0.0.0. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/CurrentPeerCertificates.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/CurrentPeerCertificates.pm index 381061a8..caec6952 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/CurrentPeerCertificates.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/CurrentPeerCertificates.pm @@ -16,7 +16,7 @@ # review. Following approval these certificates should be added as trusted certificates # in the class # Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::TrustedPeerCertificates -# *interface* . This *interface* was added in vSphere API 7.0.0. +# *interface* . This *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::CurrentPeerCertificates; @@ -87,7 +87,7 @@ sub new { # :func:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::TrustedPeerCertificates.update` # with the updated *list* of certificates.

    # -# . This *method* was added in vSphere API 7.0.0. +# . This *method* was added in vSphere API 7.0.0.0. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -159,7 +159,7 @@ sub list_task { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::CurrentPeerCertificates::Summary`` # *class* contains a summary of the current key server certificates. This *class* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::CurrentPeerCertificates::Summary; @@ -206,7 +206,7 @@ sub new { # Gets the value of 'server_name' property. # # @retval server_name - The current value of the field. -# Name of the server. This *field* was added in vSphere API 7.0.0. +# Name of the server. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_server_name { @@ -218,7 +218,7 @@ sub get_server_name { # Sets the given value for 'server_name' property. # # @param server_name - New value for the field. -# Name of the server. This *field* was added in vSphere API 7.0.0. +# Name of the server. This *field* was added in vSphere API 7.0.0.0. # sub set_server_name { my ($self, %args) = @_; @@ -230,7 +230,7 @@ sub set_server_name { # Gets the value of 'certificate' property. # # @retval certificate - The current value of the field. -# Server certificate. This *field* was added in vSphere API 7.0.0. +# Server certificate. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_certificate { @@ -242,7 +242,7 @@ sub get_certificate { # Sets the given value for 'certificate' property. # # @param certificate - New value for the field. -# Server certificate. This *field* was added in vSphere API 7.0.0. +# Server certificate. This *field* was added in vSphere API 7.0.0.0. # sub set_certificate { my ($self, %args) = @_; @@ -261,7 +261,7 @@ sub set_certificate { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::CurrentPeerCertificates::Summary.certificate` # is *set* .

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # List# sub get_error_messages { @@ -280,7 +280,7 @@ sub get_error_messages { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::CurrentPeerCertificates::Summary.certificate` # is *set* .

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_error_messages { my ($self, %args) = @_; @@ -293,7 +293,7 @@ sub set_error_messages { # # @retval trusted - The current value of the field. # whether server certificate is already trusted . This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # # boolean# sub get_trusted { @@ -306,7 +306,7 @@ sub get_trusted { # # @param trusted - New value for the field. # whether server certificate is already trusted . This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # sub set_trusted { my ($self, %args) = @_; @@ -324,7 +324,7 @@ sub set_trusted { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::CurrentPeerCertificates::FilterSpec`` # *class* contains *fields* used to filter the results when listing remote server -# certificates. This *class* was added in vSphere API 7.0.0. +# certificates. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::CurrentPeerCertificates::FilterSpec; @@ -369,7 +369,7 @@ sub new { # @retval server_names - The current value of the field. # Names that key server must have to match the filter (see # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::CurrentPeerCertificates::Summary.server_name` -# ). This *field* was added in vSphere API 7.0.0. +# ). This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_server_names { @@ -383,7 +383,7 @@ sub get_server_names { # @param server_names - New value for the field. # Names that key server must have to match the filter (see # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::CurrentPeerCertificates::Summary.server_name` -# ). This *field* was added in vSphere API 7.0.0. +# ). This *field* was added in vSphere API 7.0.0.0. # sub set_server_names { my ($self, %args) = @_; @@ -397,7 +397,7 @@ sub set_server_names { # @retval trusted - The current value of the field. # Trust status that server certificates must have to match the filter (see # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::CurrentPeerCertificates::Summary.trusted` -# ). This *field* was added in vSphere API 7.0.0. +# ). This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_trusted { @@ -411,7 +411,7 @@ sub get_trusted { # @param trusted - New value for the field. # Trust status that server certificates must have to match the filter (see # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::CurrentPeerCertificates::Summary.trusted` -# ). This *field* was added in vSphere API 7.0.0. +# ). This *field* was added in vSphere API 7.0.0.0. # sub set_trusted { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/TrustedPeerCertificates.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/TrustedPeerCertificates.pm index b975368f..18ce5a90 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/TrustedPeerCertificates.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/Providers/TrustedPeerCertificates.pm @@ -18,7 +18,7 @@ # Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::CurrentPeerCertificates # *interface*

    # -# . This *interface* was added in vSphere API 7.0.0. +# . This *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::TrustedPeerCertificates; @@ -86,7 +86,7 @@ sub new { # The client will not trust the server connection until a server certificate has been # set.

    # -# . This *method* was added in vSphere API 7.0.0. +# . This *method* was added in vSphere API 7.0.0.0. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -130,7 +130,7 @@ sub update_task { ## @method get_task () # Return the list of trusted server certificates. This *method* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -193,7 +193,7 @@ sub get_task { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::TrustedPeerCertificates::Info`` # *class* contains x509 certificate list. This *class* was added in vSphere API -# 7.0.0. +# 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::TrustedPeerCertificates::Info; @@ -235,7 +235,7 @@ sub new { # # @retval certificates - The current value of the field. # List of certificate strings, PEM format. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # List# sub get_certificates { @@ -248,7 +248,7 @@ sub get_certificates { # # @param certificates - New value for the field. # List of certificate strings, PEM format. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_certificates { my ($self, %args) = @_; @@ -266,7 +266,7 @@ sub set_certificates { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::TrustedPeerCertificates::UpdateSpec`` # *class* contains *fields* that describe the server certificate update for a Key -# Provider. This *class* was added in vSphere API 7.0.0. +# Provider. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::Providers::TrustedPeerCertificates::UpdateSpec; @@ -308,7 +308,7 @@ sub new { # # @retval certificates - The current value of the field. # Public certificates of key server to trust. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_certificates { @@ -321,7 +321,7 @@ sub get_certificates { # # @param certificates - New value for the field. # Public certificates of key server to trust. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_certificates { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/ServiceStatus.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/ServiceStatus.pm index 082fc4a7..a3f53a50 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/ServiceStatus.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_clusters/Kms/ServiceStatus.pm @@ -15,7 +15,7 @@ # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::ServiceStatus`` # *interface* provides *methods* to get the Key Provider Service health status. This -# *interface* was added in vSphere API 7.0.0. +# *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::ServiceStatus; @@ -73,7 +73,7 @@ sub new { ## @method get_task () # Return the Key Provider Service health in the given cluster. This *method* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # @param cluster [REQUIRED] Identifier of the cluster. # The value must be an identifier for the resource type @@ -119,22 +119,22 @@ sub get_task { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::ServiceStatus::Health`` # *enumerated type* defines the possible service health states. This *enumeration* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::ServiceStatus::Health::NONE # -#No status available. This *constant* was added in vSphere API 7.0.0. +#No status available. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::ServiceStatus::Health::OK # -#Service is functioning normally. This *constant* was added in vSphere API 7.0.0. +#Service is functioning normally. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::ServiceStatus::Health::WARNING # #Service is functioning, however there is an issue that requires attention. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::ServiceStatus::Health::ERROR # -#Service is not functioning. This *constant* was added in vSphere API 7.0.0. +#Service is not functioning. This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::ServiceStatus::Health; @@ -186,7 +186,7 @@ sub new { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::ServiceStatus::Info`` # *class* contains information that describes the status of the service. This *class* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::ServiceStatus::Info; @@ -229,7 +229,7 @@ sub new { # Gets the value of 'health' property. # # @retval health - The current value of the field. -# The service health status. This *field* was added in vSphere API 7.0.0. +# The service health status. This *field* was added in vSphere API 7.0.0.0. # # Health# sub get_health { @@ -241,7 +241,7 @@ sub get_health { # Sets the given value for 'health' property. # # @param health - New value for the field. -# The service health status. This *field* was added in vSphere API 7.0.0. +# The service health status. This *field* was added in vSphere API 7.0.0.0. # sub set_health { my ($self, %args) = @_; @@ -263,7 +263,7 @@ sub set_health { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::ServiceStatus::Health.NONE` # , this member will provide an actionable description of the issues present.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # List# sub get_details { @@ -285,7 +285,7 @@ sub get_details { # :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_clusters::Kms::ServiceStatus::Health.NONE` # , this member will provide an actionable description of the issues present.

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_details { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_hosts/Attestation.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_hosts/Attestation.pm index b299d305..b38eae8c 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_hosts/Attestation.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_hosts/Attestation.pm @@ -15,7 +15,7 @@ # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Attestation`` # *interface* contains information necessary to connect to the hosts running -# Attestation Service. This *interface* was added in vSphere API 7.0.0. +# Attestation Service. This *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Attestation; @@ -68,7 +68,7 @@ sub new { ## @method get () # Returns the connection info about the Attestation Service running on the specified host. -# This *method* was added in vSphere API 7.0.0. +# This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ReadTrustedHosts, System.View. @@ -117,7 +117,7 @@ sub get { ## @method list () # Returns a list of the hosts running a Attestation Service matching the specified class # Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Attestation::FilterSpec -# . This *method* was added in vSphere API 7.0.0. +# . This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ReadTrustedHosts, System.View. @@ -181,22 +181,22 @@ sub list { ## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Attestation::SummaryType # # The connection information could include the certificates or be a shorter summary. -# This *enumeration* was added in vSphere API 7.0.0. +# This *enumeration* was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Attestation::SummaryType::FULL # #The full connection information, including certificates. This *constant* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Attestation::SummaryType::NORMAL # #A summary containing only the hostname, port, and the group ID which determines the # Attestation Services this Attestation Service can communicate with. This *constant* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Attestation::SummaryType::BRIEF # #A brief summary, containing only the hostname for the Attestation Service. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Attestation::SummaryType; @@ -247,7 +247,7 @@ sub new { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Attestation::Summary`` # *class* contains all the stored information about a Attestation Service. This -# *class* was added in vSphere API 7.0.0. +# *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Attestation::Summary; @@ -307,7 +307,7 @@ sub new { # Gets the value of 'summary_type' property. # # @retval summary_type - The current value of the field. -# Defines the verbosity of the summary. This *field* was added in vSphere API 7.0.0. +# Defines the verbosity of the summary. This *field* was added in vSphere API 7.0.0.0. # # SummaryType# sub get_summary_type { @@ -319,7 +319,7 @@ sub get_summary_type { # Sets the given value for 'summary_type' property. # # @param summary_type - New value for the field. -# Defines the verbosity of the summary. This *field* was added in vSphere API 7.0.0. +# Defines the verbosity of the summary. This *field* was added in vSphere API 7.0.0.0. # sub set_summary_type { my ($self, %args) = @_; @@ -332,7 +332,7 @@ sub set_summary_type { # # @retval host - The current value of the field. # The trusted ESX on which the service runs. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # optional# sub get_host { @@ -345,7 +345,7 @@ sub get_host { # # @param host - New value for the field. # The trusted ESX on which the service runs. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_host { my ($self, %args) = @_; @@ -357,7 +357,7 @@ sub set_host { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_address { @@ -369,7 +369,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -382,7 +382,7 @@ sub set_address { # # @retval group - The current value of the field. # The group ID determines which Attestation Service instances this Attestation Service -# can communicate with. This *field* was added in vSphere API 7.0.0. +# can communicate with. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_group { @@ -395,7 +395,7 @@ sub get_group { # # @param group - New value for the field. # The group ID determines which Attestation Service instances this Attestation Service -# can communicate with. This *field* was added in vSphere API 7.0.0. +# can communicate with. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -408,7 +408,7 @@ sub set_group { # # @retval cluster - The current value of the field. # The opaque string identifier of the cluster in which the Attestation Service is part -# of. This *field* was added in vSphere API 7.0.0. +# of. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_cluster { @@ -421,7 +421,7 @@ sub get_cluster { # # @param cluster - New value for the field. # The opaque string identifier of the cluster in which the Attestation Service is part -# of. This *field* was added in vSphere API 7.0.0. +# of. This *field* was added in vSphere API 7.0.0.0. # sub set_cluster { my ($self, %args) = @_; @@ -434,7 +434,7 @@ sub set_cluster { # # @retval trusted_CA - The current value of the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # optional# sub get_trusted_CA { @@ -447,7 +447,7 @@ sub get_trusted_CA { # # @param trusted_CA - New value for the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_trusted_CA { my ($self, %args) = @_; @@ -465,7 +465,7 @@ sub set_trusted_CA { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Attestation::Info`` # *class* contains all the stored information about a Attestation Service. This -# *class* was added in vSphere API 7.0.0. +# *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Attestation::Info; @@ -515,7 +515,7 @@ sub new { # # @retval host - The current value of the field. # The trusted ESX on which the service runs. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # ID# sub get_host { @@ -528,7 +528,7 @@ sub get_host { # # @param host - New value for the field. # The trusted ESX on which the service runs. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_host { my ($self, %args) = @_; @@ -540,7 +540,7 @@ sub set_host { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # NetworkAddress# sub get_address { @@ -552,7 +552,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -565,7 +565,7 @@ sub set_address { # # @retval group - The current value of the field. # The group ID determines which Attestation Service instances this Attestation Service -# can communicate with. This *field* was added in vSphere API 7.0.0. +# can communicate with. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_group { @@ -578,7 +578,7 @@ sub get_group { # # @param group - New value for the field. # The group ID determines which Attestation Service instances this Attestation Service -# can communicate with. This *field* was added in vSphere API 7.0.0. +# can communicate with. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -591,7 +591,7 @@ sub set_group { # # @retval cluster - The current value of the field. # The opaque string identifier of the cluster in which the Attestation Service is part -# of. This *field* was added in vSphere API 7.0.0. +# of. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_cluster { @@ -604,7 +604,7 @@ sub get_cluster { # # @param cluster - New value for the field. # The opaque string identifier of the cluster in which the Attestation Service is part -# of. This *field* was added in vSphere API 7.0.0. +# of. This *field* was added in vSphere API 7.0.0.0. # sub set_cluster { my ($self, %args) = @_; @@ -617,7 +617,7 @@ sub set_cluster { # # @retval trusted_CA - The current value of the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # X509CertChain# sub get_trusted_CA { @@ -630,7 +630,7 @@ sub get_trusted_CA { # # @param trusted_CA - New value for the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_trusted_CA { my ($self, %args) = @_; @@ -648,7 +648,7 @@ sub set_trusted_CA { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Attestation::FilterSpec`` # *class* contains the data necessary for identifying a Attestation Service. This -# *class* was added in vSphere API 7.0.0. +# *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Attestation::FilterSpec; @@ -696,7 +696,7 @@ sub new { # # @retval hosts - The current value of the field. # A set of host IDs by which to filter the services. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # # Optional# sub get_hosts { @@ -709,7 +709,7 @@ sub get_hosts { # # @param hosts - New value for the field. # A set of host IDs by which to filter the services. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # sub set_hosts { my ($self, %args) = @_; @@ -722,7 +722,7 @@ sub set_hosts { # # @retval clusters - The current value of the field. # A set of cluster IDs by which to filter the services. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_clusters { @@ -735,7 +735,7 @@ sub get_clusters { # # @param clusters - New value for the field. # A set of cluster IDs by which to filter the services. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_clusters { my ($self, %args) = @_; @@ -747,7 +747,7 @@ sub set_clusters { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_address { @@ -759,7 +759,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -772,7 +772,7 @@ sub set_address { # # @retval groups - The current value of the field. # The group IDs determines which Attestation Service instances this Attestation Service -# can communicate with. This *field* was added in vSphere API 7.0.0. +# can communicate with. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_groups { @@ -785,7 +785,7 @@ sub get_groups { # # @param groups - New value for the field. # The group IDs determines which Attestation Service instances this Attestation Service -# can communicate with. This *field* was added in vSphere API 7.0.0. +# can communicate with. This *field* was added in vSphere API 7.0.0.0. # sub set_groups { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_hosts/Kms.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_hosts/Kms.pm index 17449232..b1e5bf33 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_hosts/Kms.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trust_authority_hosts/Kms.pm @@ -14,7 +14,7 @@ ## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Kms # The ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Kms`` # *interface* contains information necessary to connect to the hosts running Key -# Provider Service. This *interface* was added in vSphere API 7.0.0. +# Provider Service. This *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Kms; @@ -67,7 +67,7 @@ sub new { ## @method get () # Returns the connection info about the Key Provider Service running on the specified host. -# This *method* was added in vSphere API 7.0.0. +# This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ReadTrustedHosts, System.View. @@ -116,7 +116,7 @@ sub get { ## @method list () # Returns a list of the hosts running a Key Provider Service matching the specified class # Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Kms::FilterSpec . -# This *method* was added in vSphere API 7.0.0. +# This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ReadTrustedHosts, System.View. @@ -180,22 +180,22 @@ sub list { ## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Kms::SummaryType # # The connection information could include the certificates or be a shorter summary. -# This *enumeration* was added in vSphere API 7.0.0. +# This *enumeration* was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Kms::SummaryType::FULL # #The full connection information, including certificates. This *constant* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Kms::SummaryType::NORMAL # #A summary containing only the hostname, port, and the group which determines the # Attestation Services this Key Provider Service can communicate with. This *constant* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Kms::SummaryType::BRIEF # #A brief summary, containing only the hostname for the Key Provider Service. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Kms::SummaryType; @@ -246,7 +246,7 @@ sub new { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Kms::Summary`` # *class* contains all the stored information about a Key Provider Service. This -# *class* was added in vSphere API 7.0.0. +# *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Kms::Summary; @@ -306,7 +306,7 @@ sub new { # Gets the value of 'summary_type' property. # # @retval summary_type - The current value of the field. -# Defines the verbosity of the summary. This *field* was added in vSphere API 7.0.0. +# Defines the verbosity of the summary. This *field* was added in vSphere API 7.0.0.0. # # SummaryType# sub get_summary_type { @@ -318,7 +318,7 @@ sub get_summary_type { # Sets the given value for 'summary_type' property. # # @param summary_type - New value for the field. -# Defines the verbosity of the summary. This *field* was added in vSphere API 7.0.0. +# Defines the verbosity of the summary. This *field* was added in vSphere API 7.0.0.0. # sub set_summary_type { my ($self, %args) = @_; @@ -331,7 +331,7 @@ sub set_summary_type { # # @retval host - The current value of the field. # The trusted ESX on which the service runs. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # optional# sub get_host { @@ -344,7 +344,7 @@ sub get_host { # # @param host - New value for the field. # The trusted ESX on which the service runs. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_host { my ($self, %args) = @_; @@ -356,7 +356,7 @@ sub set_host { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_address { @@ -368,7 +368,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -381,7 +381,7 @@ sub set_address { # # @retval group - The current value of the field. # The group ID determines which Attestation Service instances this Key Provider Service -# can communicate with. This *field* was added in vSphere API 7.0.0. +# can communicate with. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_group { @@ -394,7 +394,7 @@ sub get_group { # # @param group - New value for the field. # The group ID determines which Attestation Service instances this Key Provider Service -# can communicate with. This *field* was added in vSphere API 7.0.0. +# can communicate with. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -407,7 +407,7 @@ sub set_group { # # @retval cluster - The current value of the field. # The opaque string identifier of the cluster in which the Key Provider Service is part -# of. This *field* was added in vSphere API 7.0.0. +# of. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_cluster { @@ -420,7 +420,7 @@ sub get_cluster { # # @param cluster - New value for the field. # The opaque string identifier of the cluster in which the Key Provider Service is part -# of. This *field* was added in vSphere API 7.0.0. +# of. This *field* was added in vSphere API 7.0.0.0. # sub set_cluster { my ($self, %args) = @_; @@ -433,7 +433,7 @@ sub set_cluster { # # @retval trusted_CA - The current value of the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # optional# sub get_trusted_CA { @@ -446,7 +446,7 @@ sub get_trusted_CA { # # @param trusted_CA - New value for the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_trusted_CA { my ($self, %args) = @_; @@ -464,7 +464,7 @@ sub set_trusted_CA { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Kms::Info`` # *class* contains all the stored information about a Key Provider Service. This -# *class* was added in vSphere API 7.0.0. +# *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Kms::Info; @@ -514,7 +514,7 @@ sub new { # # @retval host - The current value of the field. # The trusted ESX on which the service runs. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # ID# sub get_host { @@ -527,7 +527,7 @@ sub get_host { # # @param host - New value for the field. # The trusted ESX on which the service runs. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_host { my ($self, %args) = @_; @@ -539,7 +539,7 @@ sub set_host { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # NetworkAddress# sub get_address { @@ -551,7 +551,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -564,7 +564,7 @@ sub set_address { # # @retval group - The current value of the field. # The group ID determines which Attestation Service instances this Key Provider Service -# can communicate with. This *field* was added in vSphere API 7.0.0. +# can communicate with. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_group { @@ -577,7 +577,7 @@ sub get_group { # # @param group - New value for the field. # The group ID determines which Attestation Service instances this Key Provider Service -# can communicate with. This *field* was added in vSphere API 7.0.0. +# can communicate with. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -590,7 +590,7 @@ sub set_group { # # @retval cluster - The current value of the field. # The opaque string identifier of the cluster in which the Key Provider Service is part -# of. This *field* was added in vSphere API 7.0.0. +# of. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_cluster { @@ -603,7 +603,7 @@ sub get_cluster { # # @param cluster - New value for the field. # The opaque string identifier of the cluster in which the Key Provider Service is part -# of. This *field* was added in vSphere API 7.0.0. +# of. This *field* was added in vSphere API 7.0.0.0. # sub set_cluster { my ($self, %args) = @_; @@ -616,7 +616,7 @@ sub set_cluster { # # @retval trusted_CA - The current value of the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # X509CertChain# sub get_trusted_CA { @@ -629,7 +629,7 @@ sub get_trusted_CA { # # @param trusted_CA - New value for the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_trusted_CA { my ($self, %args) = @_; @@ -647,7 +647,7 @@ sub set_trusted_CA { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Kms::FilterSpec`` # *class* contains the data necessary for identifying a Key Provider Service. This -# *class* was added in vSphere API 7.0.0. +# *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trust_authority_hosts::Kms::FilterSpec; @@ -695,7 +695,7 @@ sub new { # # @retval hosts - The current value of the field. # A set of host IDs by which to filter the services. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # # Optional# sub get_hosts { @@ -708,7 +708,7 @@ sub get_hosts { # # @param hosts - New value for the field. # A set of host IDs by which to filter the services. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # sub set_hosts { my ($self, %args) = @_; @@ -721,7 +721,7 @@ sub set_hosts { # # @retval clusters - The current value of the field. # A set of cluster IDs by which to filter the services. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_clusters { @@ -734,7 +734,7 @@ sub get_clusters { # # @param clusters - New value for the field. # A set of cluster IDs by which to filter the services. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_clusters { my ($self, %args) = @_; @@ -746,7 +746,7 @@ sub set_clusters { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_address { @@ -758,7 +758,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -771,7 +771,7 @@ sub set_address { # # @retval groups - The current value of the field. # The group determines reports issued by which Attestation Service instances this Key -# Provider Service can accept. This *field* was added in vSphere API 7.0.0. +# Provider Service can accept. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_groups { @@ -784,7 +784,7 @@ sub get_groups { # # @param groups - New value for the field. # The group determines reports issued by which Attestation Service instances this Key -# Provider Service can accept. This *field* was added in vSphere API 7.0.0. +# Provider Service can accept. This *field* was added in vSphere API 7.0.0.0. # sub set_groups { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Attestation/Services.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Attestation/Services.pm index 71285fc7..c96fe270 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Attestation/Services.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Attestation/Services.pm @@ -15,7 +15,7 @@ # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::Services`` # *interface* manages the Attestation Service instances a Trusted Cluster is configured -# to use. This *interface* was added in vSphere API 7.0.0. +# to use. This *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::Services; @@ -74,7 +74,7 @@ sub new { ## @method list () # Returns the basic information about all configured Attestation Service instances used by -# this cluster. This *method* was added in vSphere API 7.0.0. +# this cluster. This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ReadTrustedHosts, System.View. @@ -125,7 +125,7 @@ sub list { ## @method get () # Returns detailed information about the given registered Attestation Service instance that -# is configured for the given cluster. This *method* was added in vSphere API 7.0.0. +# is configured for the given cluster. This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ReadTrustedHosts, System.View. @@ -175,7 +175,7 @@ sub get { ## @method create_task () # Configures the cluster to use a the given registered Attestation Service. This *method* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ManageTrustedHosts. @@ -229,7 +229,7 @@ sub create_task { ## @method delete_task () # Removes the Attestation Service instance from the configuration of the given cluster. This -# *method* was added in vSphere API 7.0.0. +# *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ManageTrustedHosts. @@ -288,7 +288,7 @@ sub delete_task { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::Services::Summary`` # *class* contains basic information about a registered Attestation Service instance -# that is configured for a cluster. This *class* was added in vSphere API 7.0.0. +# that is configured for a cluster. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::Services::Summary; @@ -335,7 +335,7 @@ sub new { # Gets the value of 'service' property. # # @retval service - The current value of the field. -# The service's unique identifier. This *field* was added in vSphere API 7.0.0. +# The service's unique identifier. This *field* was added in vSphere API 7.0.0.0. # # ID# sub get_service { @@ -347,7 +347,7 @@ sub get_service { # Sets the given value for 'service' property. # # @param service - New value for the field. -# The service's unique identifier. This *field* was added in vSphere API 7.0.0. +# The service's unique identifier. This *field* was added in vSphere API 7.0.0.0. # sub set_service { my ($self, %args) = @_; @@ -359,7 +359,7 @@ sub set_service { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # NetworkAddress# sub get_address { @@ -371,7 +371,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -384,7 +384,7 @@ sub set_address { # # @retval group - The current value of the field. # The group specifies the Key Provider Service instances can accept reports issued by -# this Attestation Service instance. This *field* was added in vSphere API 7.0.0. +# this Attestation Service instance. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_group { @@ -397,7 +397,7 @@ sub get_group { # # @param group - New value for the field. # The group specifies the Key Provider Service instances can accept reports issued by -# this Attestation Service instance. This *field* was added in vSphere API 7.0.0. +# this Attestation Service instance. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -410,7 +410,7 @@ sub set_group { # # @retval trust_authority_cluster - The current value of the field. # The cluster specifies the Trust Authority Cluster this Attestation Service belongs to. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # # String# sub get_trust_authority_cluster { @@ -423,7 +423,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The cluster specifies the Trust Authority Cluster this Attestation Service belongs to. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; @@ -442,7 +442,7 @@ sub set_trust_authority_cluster { # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::Services::Info`` # *class* contains all the stored information about a registered Attestation Service # instance that is configured for a cluster. This *class* was added in vSphere API -# 7.0.0. +# 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::Services::Info; @@ -489,7 +489,7 @@ sub new { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # NetworkAddress# sub get_address { @@ -501,7 +501,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -514,7 +514,7 @@ sub set_address { # # @retval trusted_CA - The current value of the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # X509CertChain# sub get_trusted_CA { @@ -527,7 +527,7 @@ sub get_trusted_CA { # # @param trusted_CA - New value for the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_trusted_CA { my ($self, %args) = @_; @@ -540,7 +540,7 @@ sub set_trusted_CA { # # @retval group - The current value of the field. # The group determines the Key Provider Service instances can accept reports issued by -# this Attestation Service instance. This *field* was added in vSphere API 7.0.0. +# this Attestation Service instance. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_group { @@ -553,7 +553,7 @@ sub get_group { # # @param group - New value for the field. # The group determines the Key Provider Service instances can accept reports issued by -# this Attestation Service instance. This *field* was added in vSphere API 7.0.0. +# this Attestation Service instance. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -566,7 +566,7 @@ sub set_group { # # @retval trust_authority_cluster - The current value of the field. # The cluster specifies the Trust Authority Cluster this Attestation Service belongs to. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # # String# sub get_trust_authority_cluster { @@ -579,7 +579,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The cluster specifies the Trust Authority Cluster this Attestation Service belongs to. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; @@ -598,7 +598,7 @@ sub set_trust_authority_cluster { # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::Services::CreateSpec`` # *class* contains the data necessary for configuring a registered Attestation Service # instance with a cluster in the environment. This *class* was added in vSphere API -# 7.0.0. +# 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::Services::CreateSpec; @@ -652,7 +652,7 @@ sub new { # # @retval type - The current value of the field. # Source of truth for the configuration of the Attestation Service. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # # SourceType# sub get_type { @@ -665,7 +665,7 @@ sub get_type { # # @param type - New value for the field. # Source of truth for the configuration of the Attestation Service. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # sub set_type { my ($self, %args) = @_; @@ -677,7 +677,7 @@ sub set_type { # Gets the value of 'service' property. # # @retval service - The current value of the field. -# The service's unique ID. This *field* was added in vSphere API 7.0.0. +# The service's unique ID. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_service { @@ -689,7 +689,7 @@ sub get_service { # Sets the given value for 'service' property. # # @param service - New value for the field. -# The service's unique ID. This *field* was added in vSphere API 7.0.0. +# The service's unique ID. This *field* was added in vSphere API 7.0.0.0. # sub set_service { my ($self, %args) = @_; @@ -702,7 +702,7 @@ sub set_service { # # @retval trust_authority_cluster - The current value of the field. # The attestation cluster's unique ID. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # optional# sub get_trust_authority_cluster { @@ -715,7 +715,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The attestation cluster's unique ID. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; @@ -732,17 +732,17 @@ sub set_trust_authority_cluster { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::Services::CreateSpec::SourceType`` # *enumerated type* specifies the source of truth the Attestation Service will use for -# its configuration. This *enumeration* was added in vSphere API 7.0.0. +# its configuration. This *enumeration* was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::Services::CreateSpec::SourceType::SERVICE # #The Attestation Service will be configured based on an ID of an specific Attestation -# Service. This *constant* was added in vSphere API 7.0.0. +# Service. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::Services::CreateSpec::SourceType::CLUSTER # #The Attestation Service will be configured based on an ID of a whole attestation cluster. -# This *constant* was added in vSphere API 7.0.0. +# This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::Services::CreateSpec::SourceType; @@ -784,7 +784,7 @@ sub new { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::Services::FilterSpec`` # *class* contains the data necessary for identifying a Attestation service instance. -# This *class* was added in vSphere API 7.0.0. +# This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::Services::FilterSpec; @@ -832,7 +832,7 @@ sub new { # # @retval services - The current value of the field. # A set of IDs by which to filter the services. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_services { @@ -845,7 +845,7 @@ sub get_services { # # @param services - New value for the field. # A set of IDs by which to filter the services. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_services { my ($self, %args) = @_; @@ -857,7 +857,7 @@ sub set_services { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_address { @@ -869,7 +869,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -882,7 +882,7 @@ sub set_address { # # @retval group - The current value of the field. # The group specifies the Key Provider Service instances can accept reports issued by -# this Attestation Service instance. This *field* was added in vSphere API 7.0.0. +# this Attestation Service instance. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_group { @@ -895,7 +895,7 @@ sub get_group { # # @param group - New value for the field. # The group specifies the Key Provider Service instances can accept reports issued by -# this Attestation Service instance. This *field* was added in vSphere API 7.0.0. +# this Attestation Service instance. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -908,7 +908,7 @@ sub set_group { # # @retval trust_authority_cluster - The current value of the field. # The cluster specifies the Trust Authority Cluster this Attestation Service instance -# belongs to. This *field* was added in vSphere API 7.0.0. +# belongs to. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_trust_authority_cluster { @@ -921,7 +921,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The cluster specifies the Trust Authority Cluster this Attestation Service instance -# belongs to. This *field* was added in vSphere API 7.0.0. +# belongs to. This *field* was added in vSphere API 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Attestation/ServicesAppliedConfig.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Attestation/ServicesAppliedConfig.pm new file mode 100644 index 00000000..3f0e2f25 --- /dev/null +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Attestation/ServicesAppliedConfig.pm @@ -0,0 +1,789 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file ServicesAppliedConfig.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vcenter::Trusted_infrastructure; +#use Com::Vmware::Vapi::Std; +#use Com::Vmware::Vapi::Std::Errors; + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig +# The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig`` +# *interface* provides information about the aggregate health of the applied +# Attestation Service configuration on the Trusted Clusters. The desired state of the +# Attestation Service is stored within vCenter, while the applied configuration is +# stored on the hosts in the cluster. The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig`` +# *interface* is available for all clusters, not only Trusted Clusters. In such cases +# empty desired state is assumed, e.g. when an applied Attestation Service configuration +# is found outside of a Trusted Cluster it is considered an +# :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Health.ERROR` +# . The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig`` +# *interface* is able to put the applied Attestation Service configuration into a +# consistent state when individual host configurations have diverged from the desired +# state. This *interface* was added in vSphere API 7.0.1.0. +# + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig; + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfigStub; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiInterface); + +# +# Identifier of the service +# +use constant _VAPI_SERVICE_ID => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation.services_applied_config'; + +# +# Identifiers of the task operations +# +our $_VAPI_OPERATION_IDS = (); +$_VAPI_OPERATION_IDS->{'list_task'} = 'list$task'; +$_VAPI_OPERATION_IDS->{'get_task'} = 'get$task'; +$_VAPI_OPERATION_IDS->{'update_task'} = 'update$task'; +$_VAPI_OPERATION_IDS->{'delete_task'} = 'delete$task'; + +## @method new () +# Constructor to initialize the object +# +# @param api_provider - protocol connection to use with +# stubs created by this factory +# @param StubConfig - Stub's additional configuration +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $stub_config = $args {stub_config}; + my $api_provider = $args {api_provider}; + + my $self = $class->SUPER::new('stub_config' => $stub_config, + 'api_provider' => $api_provider); + bless $self, $class; + return $self; +} + +## @method list_task () +# Returns basic information about the health of all Attestation Service configurations +# applied to the cluster with respect to the desired state. This *method* was added in +# vSphere API 7.0.1.0. +# +# @param cluster [REQUIRED] The ID of the cluster against which the operation will be executed. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @param spec [OPTIONAL] The specification for the subset of results desired to be returned. +# If {@term.unset} all results are returned. +# . The value must be +# Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::FilterSpec +# or None. +# +# @retval +# The health status for each applied configuration in the given cluster. +# The return type will be string +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if there is a generic error. +# +# @throw Com::Vmware::Vapi::Std::Errors::InvalidArgument +# if the cluster ID is empty. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if no cluster corresponding to the given ID is found within this vCenter. +# +# @throw Com::Vmware::Vapi::Std::Errors::ResourceBusy +# if there are ongoing mutating operations. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# +sub list_task { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + my $spec = $args {spec}; + + $self->validate_args (method_name => 'list$task', + method_args => \%args); + + return $self->invoke (method_name => 'list$task', + method_args => \%args); +} + + +## @method get_task () +# Returns detailed information about the health of the specified Attestation Service +# configuration applied to the cluster with respect to the desired state. This *method* +# was added in vSphere API 7.0.1.0. +# +# @param cluster [REQUIRED] The ID of the cluster against which the operation will be executed. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @param address [REQUIRED] The network address of the Attestation Service instance. +# . The value must be Com::Vmware::Vcenter::Trusted_infrastructure::NetworkAddress. +# +# @retval +# Detailed information about the health of the specified Attestation Service +# configuration applied to the cluster with respect to the desired state. +# The return type will be string +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if there is a generic error. +# +# @throw Com::Vmware::Vapi::Std::Errors::InvalidArgument +# if the cluster ID is empty. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if no cluster corresponding to the given ID is found within this vCenter or if no +# service corresponding to the given address is found. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# +sub get_task { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + my $address = $args {address}; + + $self->validate_args (method_name => 'get$task', + method_args => \%args); + + return $self->invoke (method_name => 'get$task', + method_args => \%args); +} + + +## @method update_task () +# Update the applied Attestation Service configuration on the given Trusted Cluster to be +# consistent with the desired state. This method has no affect on the desired state, apart +# from it being used as a reference point for the remediation. This *method* was added in +# vSphere API 7.0.1.0. +# +# @param cluster [REQUIRED] The ID of the Trusted Cluster against which the operation will be executed. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if there is a generic error. +# +# @throw Com::Vmware::Vapi::Std::Errors::InvalidArgument +# if the cluster ID is empty +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if no cluster corresponding to the given ID is found within this vCenter. +# +# @throw Com::Vmware::Vapi::Std::Errors::ResourceBusy +# if there are ongoing mutating operations. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# +sub update_task { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + + $self->validate_args (method_name => 'update$task', + method_args => \%args); + + return $self->invoke (method_name => 'update$task', + method_args => \%args); +} + + +## @method delete_task () +# Delete the Attestation Service configuration that has been applied to the given cluster. +# This method has no affect on the desired state, it only removes applied Attestation +# Service configuration from any Trusted Hosts within the given cluster. This *method* was +# added in vSphere API 7.0.1.0. +# +# @param cluster [REQUIRED] The ID of the cluster against which the operation will be executed. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if there is a generic error. +# +# @throw Com::Vmware::Vapi::Std::Errors::InvalidArgument +# if the cluster ID is empty. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if no cluster corresponding to the given ID is found within this vCenter. +# +# @throw Com::Vmware::Vapi::Std::Errors::ResourceBusy +# if there are ongoing mutating operations. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# +sub delete_task { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + + $self->validate_args (method_name => 'delete$task', + method_args => \%args); + + return $self->invoke (method_name => 'delete$task', + method_args => \%args); +} + + +1; + +######################################################################################### +# Begins enumerations for the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig service +######################################################################################### + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Health +# +# The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Health`` +# *enumerated type* is an indicator for the consistency of the applied Attestation +# Service configuration in a cluster with respect to the desired state. This +# *enumeration* was added in vSphere API 7.0.1.0. +# +# +# +# Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Health::NONE # +#The consistency of the applied configuration is unknown. This *constant* was added in +# vSphere API 7.0.1.0. +# +# Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Health::OK # +#The applied Attestation Service configuration is consistent with the desired state. This +# *constant* was added in vSphere API 7.0.1.0. +# +# Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Health::ERROR # +#The applied Attestation Service configuration has diverged from the desired state. This +# *constant* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Health; + +use constant { + NONE => 'NONE', + OK => 'OK', + ERROR => 'ERROR', +}; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiEnum); + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Health enumeration. +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $self = $class->SUPER::new(); + my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType( + 'name' => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation.services_applied_config.health', + 'binding_class' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Health'); + $class->SUPER::set_binding_type('binding_type' => $bindingType); + + bless $self, $class; + return $self; +} + +1; + + +######################################################################################### +# Ends enumerations for the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig service +######################################################################################### + +######################################################################################### +# Begins structures for the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig service +######################################################################################### + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Summary +# +# +# The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Summary`` +# *class* contains basic information about the aggregated health status for a service. +# This *class* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Summary; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Summary structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{health} = $args{'health'}; + $self->{address} = $args{'address'}; + $self->{service} = $args{'service'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Summary'); + $self->set_binding_name('name' => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation.services_applied_config.summary'); + $self->set_binding_field('key' => 'health', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation', 'type_name' => 'ServicesAppliedConfig::Health')); + $self->set_binding_field('key' => 'address', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure', 'type_name' => 'NetworkAddress')); + $self->set_binding_field('key' => 'service', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + bless $self, $class; + return $self; +} + +## @method get_health () +# Gets the value of 'health' property. +# +# @retval health - The current value of the field. +# The health value indicates whether the configuration applied to the cluster differs +# from the desired state. This *field* was added in vSphere API 7.0.1.0. +# +# Health# +sub get_health { + my ($self, %args) = @_; + return $self->{'health'}; +} + +## @method set_health () +# Sets the given value for 'health' property. +# +# @param health - New value for the field. +# The health value indicates whether the configuration applied to the cluster differs +# from the desired state. This *field* was added in vSphere API 7.0.1.0. +# +sub set_health { + my ($self, %args) = @_; + $self->{'health'} = $args{'health'}; + return; +} + +## @method get_address () +# Gets the value of 'address' property. +# +# @retval address - The current value of the field. +# The network address of the Attestation Service configured for use in the Trusted +# Cluster. This *field* was added in vSphere API 7.0.1.0. +# +# NetworkAddress# +sub get_address { + my ($self, %args) = @_; + return $self->{'address'}; +} + +## @method set_address () +# Sets the given value for 'address' property. +# +# @param address - New value for the field. +# The network address of the Attestation Service configured for use in the Trusted +# Cluster. This *field* was added in vSphere API 7.0.1.0. +# +sub set_address { + my ($self, %args) = @_; + $self->{'address'} = $args{'address'}; + return; +} + +## @method get_service () +# Gets the value of 'service' property. +# +# @retval service - The current value of the field. +# The unique identifier of an Attestation Service configuration from the desired state. +# This *field* was added in vSphere API 7.0.1.0. +# +# Optional# +sub get_service { + my ($self, %args) = @_; + return $self->{'service'}; +} + +## @method set_service () +# Sets the given value for 'service' property. +# +# @param service - New value for the field. +# The unique identifier of an Attestation Service configuration from the desired state. +# This *field* was added in vSphere API 7.0.1.0. +# +sub set_service { + my ($self, %args) = @_; + $self->{'service'} = $args{'service'}; + return; +} + + +1; + + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::FilterSpec +# +# +# The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::FilterSpec`` +# *class* specifies the matching criteria to be applied when filtering out +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Summary`` +# structures from the collection returned by the list method. Only +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Summary`` +# structures containing the values specified in this structure will be returned from the +# list method. If multiple members of the filter spec are set, all of them must match +# for a result to be filtered out and returned. This *class* was added in vSphere API +# 7.0.1.0. + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::FilterSpec; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::FilterSpec structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{health} = $args{'health'}; + $self->{address} = $args{'address'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::FilterSpec'); + $self->set_binding_name('name' => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation.services_applied_config.filter_spec'); + $self->set_binding_field('key' => 'health', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::SetType('binding_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation', 'type_name' => 'ServicesAppliedConfig::Health'))))); + $self->set_binding_field('key' => 'address', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure', 'type_name' => 'NetworkAddress')))); + bless $self, $class; + return $self; +} + +## @method get_health () +# Gets the value of 'health' property. +# +# @retval health - The current value of the field. +# The health of the applied Attestation Service configuration. This *field* was added +# in vSphere API 7.0.1.0. +# +# Optional# +sub get_health { + my ($self, %args) = @_; + return $self->{'health'}; +} + +## @method set_health () +# Sets the given value for 'health' property. +# +# @param health - New value for the field. +# The health of the applied Attestation Service configuration. This *field* was added +# in vSphere API 7.0.1.0. +# +sub set_health { + my ($self, %args) = @_; + $self->{'health'} = $args{'health'}; + return; +} + +## @method get_address () +# Gets the value of 'address' property. +# +# @retval address - The current value of the field. +# The network address of the Attestation Service configured for use in the Trusted +# Cluster. This *field* was added in vSphere API 7.0.1.0. +# +# Optional# +sub get_address { + my ($self, %args) = @_; + return $self->{'address'}; +} + +## @method set_address () +# Sets the given value for 'address' property. +# +# @param address - New value for the field. +# The network address of the Attestation Service configured for use in the Trusted +# Cluster. This *field* was added in vSphere API 7.0.1.0. +# +sub set_address { + my ($self, %args) = @_; + $self->{'address'} = $args{'address'}; + return; +} + + +1; + + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Info +# +# +# The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Info`` +# *class* contains detailed information about an applied Attestation Service +# configuration in a Trusted cluster. This *class* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Info; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Info structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{health} = $args{'health'}; + $self->{address} = $args{'address'}; + $self->{service} = $args{'service'}; + $self->{groups} = $args{'groups'}; + $self->{trustedc_as} = $args{'trustedc_as'}; + $self->{details} = $args{'details'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Info'); + $self->set_binding_name('name' => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation.services_applied_config.info'); + $self->set_binding_field('key' => 'health', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation', 'type_name' => 'ServicesAppliedConfig::Health')); + $self->set_binding_field('key' => 'address', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure', 'type_name' => 'NetworkAddress')); + $self->set_binding_field('key' => 'service', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'groups', 'value' => new Com::Vmware::Vapi::Bindings::Type::SetType('binding_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); + $self->set_binding_field('key' => 'trustedc_as', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure', 'type_name' => 'X509CertChain'))); + $self->set_binding_field('key' => 'details', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std', 'type_name' => 'LocalizableMessage'))); + bless $self, $class; + return $self; +} + +## @method get_health () +# Gets the value of 'health' property. +# +# @retval health - The current value of the field. +# A health value which indicates whether the configuration applied to the cluster +# differs from the desired state. This *field* was added in vSphere API 7.0.1.0. +# +# Health# +sub get_health { + my ($self, %args) = @_; + return $self->{'health'}; +} + +## @method set_health () +# Sets the given value for 'health' property. +# +# @param health - New value for the field. +# A health value which indicates whether the configuration applied to the cluster +# differs from the desired state. This *field* was added in vSphere API 7.0.1.0. +# +sub set_health { + my ($self, %args) = @_; + $self->{'health'} = $args{'health'}; + return; +} + +## @method get_address () +# Gets the value of 'address' property. +# +# @retval address - The current value of the field. +# The network address of the Attestation Service configured for use in the Trusted +# Cluster. This *field* was added in vSphere API 7.0.1.0. +# +# NetworkAddress# +sub get_address { + my ($self, %args) = @_; + return $self->{'address'}; +} + +## @method set_address () +# Sets the given value for 'address' property. +# +# @param address - New value for the field. +# The network address of the Attestation Service configured for use in the Trusted +# Cluster. This *field* was added in vSphere API 7.0.1.0. +# +sub set_address { + my ($self, %args) = @_; + $self->{'address'} = $args{'address'}; + return; +} + +## @method get_service () +# Gets the value of 'service' property. +# +# @retval service - The current value of the field. +# The unique identifier of an Attestation Service configuration from the desired state. +# This *field* was added in vSphere API 7.0.1.0. +# +# Optional# +sub get_service { + my ($self, %args) = @_; + return $self->{'service'}; +} + +## @method set_service () +# Sets the given value for 'service' property. +# +# @param service - New value for the field. +# The unique identifier of an Attestation Service configuration from the desired state. +# This *field* was added in vSphere API 7.0.1.0. +# +sub set_service { + my ($self, %args) = @_; + $self->{'service'} = $args{'service'}; + return; +} + +## @method get_groups () +# Gets the value of 'groups' property. +# +# @retval groups - The current value of the field. +# The set of distinct groups found on the hosts in the cluster which differ from the +# desired state. This *field* was added in vSphere API 7.0.1.0. +# +# Set# +sub get_groups { + my ($self, %args) = @_; + return $self->{'groups'}; +} + +## @method set_groups () +# Sets the given value for 'groups' property. +# +# @param groups - New value for the field. +# The set of distinct groups found on the hosts in the cluster which differ from the +# desired state. This *field* was added in vSphere API 7.0.1.0. +# +sub set_groups { + my ($self, %args) = @_; + $self->{'groups'} = $args{'groups'}; + return; +} + +## @method get_trustedc_as () +# Gets the value of 'trustedc_as' property. +# +# @retval trustedc_as - The current value of the field. +# A list of distinct trusted CA chains found on the hosts in the cluster which differ +# from the desired state. This *field* was added in vSphere API 7.0.1.0. +# +# List# +sub get_trustedc_as { + my ($self, %args) = @_; + return $self->{'trustedc_as'}; +} + +## @method set_trustedc_as () +# Sets the given value for 'trustedc_as' property. +# +# @param trustedc_as - New value for the field. +# A list of distinct trusted CA chains found on the hosts in the cluster which differ +# from the desired state. This *field* was added in vSphere API 7.0.1.0. +# +sub set_trustedc_as { + my ($self, %args) = @_; + $self->{'trustedc_as'} = $args{'trustedc_as'}; + return; +} + +## @method get_details () +# Gets the value of 'details' property. +# +# @retval details - The current value of the field. +# Details regarding the health. When the +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Health`` +# is not +# :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Health.OK` +# , this member will provide a detailed description of the issues present. This *field* +# was added in vSphere API 7.0.1.0. +# +# List# +sub get_details { + my ($self, %args) = @_; + return $self->{'details'}; +} + +## @method set_details () +# Sets the given value for 'details' property. +# +# @param details - New value for the field. +# Details regarding the health. When the +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Health`` +# is not +# :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig::Health.OK` +# , this member will provide a detailed description of the issues present. This *field* +# was added in vSphere API 7.0.1.0. +# +sub set_details { + my ($self, %args) = @_; + $self->{'details'} = $args{'details'}; + return; +} + + +1; + + + +######################################################################################### +# Ends structures for the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig service +######################################################################################### diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Attestation/ServicesAppliedConfigStub.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Attestation/ServicesAppliedConfigStub.pm new file mode 100644 index 00000000..f291b91a --- /dev/null +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Attestation/ServicesAppliedConfigStub.pm @@ -0,0 +1,214 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file ServicesAppliedConfigStub.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vcenter::Trusted_infrastructure; +#use Com::Vmware::Vapi::Std; +#use Com::Vmware::Vapi::Std::Errors; + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfigStub; + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation::ServicesAppliedConfig +# +#The {@name ServicesAppliedConfig} {@term service} provides information about +#the aggregate health of the applied Attestation Service configuration on the +#Trusted Clusters. +#The desired state of the Attestation Service is stored within vCenter, while +#the applied configuration is stored on the hosts in the cluster. +#The {@name ServicesAppliedConfig} {@term service} is available for all +#clusters, not only Trusted Clusters. In such cases empty desired state is +#assumed, e.g. when an applied Attestation Service configuration is found +#outside of a Trusted Cluster it is considered +#an {@link ServicesAppliedConfig.Health#ERROR}. +#The {@name ServicesAppliedConfig} {@term service} is able to put the +#applied Attestation Service configuration into a consistent state when +#individual host configurations have diverged from the desired state. +# + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::BlobType; +use Com::Vmware::Vapi::Bindings::Type::BooleanType; +use Com::Vmware::Vapi::Bindings::Type::DateTimeType; +use Com::Vmware::Vapi::Bindings::Type::DoubleType; +use Com::Vmware::Vapi::Bindings::Type::EnumType; +use Com::Vmware::Vapi::Bindings::Type::ErrorType; +use Com::Vmware::Vapi::Bindings::Type::ListType; +use Com::Vmware::Vapi::Bindings::Type::LongType; +use Com::Vmware::Vapi::Bindings::Type::MapType; +use Com::Vmware::Vapi::Bindings::Type::OpaqueType; +use Com::Vmware::Vapi::Bindings::Type::OptionalType; +use Com::Vmware::Vapi::Bindings::Type::ReferenceType; +use Com::Vmware::Vapi::Bindings::Type::SecretType; +use Com::Vmware::Vapi::Bindings::Type::SetType; +use Com::Vmware::Vapi::Bindings::Type::StringType; +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vapi::Bindings::Type::DynamicStructType; +use Com::Vmware::Vapi::Bindings::Type::URIType; +use Com::Vmware::Vapi::Bindings::Type::VoidType; +use Com::Vmware::Vapi::Data::UnionValidator; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::ApiInterfaceStub); + +## @method new +# Constructor to initialize the object +# +# @param ApiProvider - ApiProvider for vAPI stubs +# +# @return +# Blessed object +# +sub new +{ + my ($class, %args) = @_; + my $api_provider = $args {api_provider}; + $class = ref($class) || $class; + # + # properties for list operation + # + my $list_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'spec' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Attestation', 'type_name' => 'ServicesAppliedConfig::FilterSpec')), + } + ); + my $list_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.resource_busy' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ResourceBusy'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $list_input_validator_list = [ + ]; + my $list_output_validator_list = []; + + # + # properties for get operation + # + my $get_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'address' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure', 'type_name' => 'NetworkAddress'), + } + ); + my $get_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $get_input_validator_list = [ + ]; + my $get_output_validator_list = []; + + # + # properties for update operation + # + my $update_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + } + ); + my $update_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.resource_busy' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ResourceBusy'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $update_input_validator_list = [ + ]; + my $update_output_validator_list = []; + + # + # properties for delete operation + # + my $delete_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + } + ); + my $delete_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.resource_busy' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ResourceBusy'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $delete_input_validator_list = [ + ]; + my $delete_output_validator_list = []; + + # + # All the methods (operations) info in a hash + # + my $operations = { + 'list$task' => { + 'input_type'=> $list_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'errors'=> $list_error_dict, + 'input_validator_list'=> $list_input_validator_list, + 'output_validator_list'=> $list_output_validator_list, + }, + 'get$task' => { + 'input_type'=> $get_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'errors'=> $get_error_dict, + 'input_validator_list'=> $get_input_validator_list, + 'output_validator_list'=> $get_output_validator_list, + }, + 'update$task' => { + 'input_type'=> $update_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'errors'=> $update_error_dict, + 'input_validator_list'=> $update_input_validator_list, + 'output_validator_list'=> $update_output_validator_list, + }, + 'delete$task' => { + 'input_type'=> $delete_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'errors'=> $delete_error_dict, + 'input_validator_list'=> $delete_input_validator_list, + 'output_validator_list'=> $delete_output_validator_list, + }, + }; + + my $self = $class->SUPER::new ('api_provider' => $api_provider, + 'iface_name' => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation.services_applied_config', + 'operations' => $operations + ); + bless $self, $class; + return $self; +} + +1; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Kms/Services.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Kms/Services.pm index 1cf36c38..1c37b1d2 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Kms/Services.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Kms/Services.pm @@ -14,7 +14,7 @@ ## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::Services # The ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::Services`` # *interface* manages the Key Provider Service instances a Trusted Cluster is -# configured to use. This *interface* was added in vSphere API 7.0.0. +# configured to use. This *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::Services; @@ -73,7 +73,7 @@ sub new { ## @method list () # Returns basic information about all configured Key Provider Service instances used by this -# cluster. This *method* was added in vSphere API 7.0.0. +# cluster. This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ReadTrustedHosts, System.View. @@ -124,7 +124,7 @@ sub list { ## @method get () # Returns detailed information about the given Key Provider Service instance used by the -# given cluster. This *method* was added in vSphere API 7.0.0. +# given cluster. This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ReadTrustedHosts, System.View. @@ -174,7 +174,7 @@ sub get { ## @method create_task () # Configures the cluster to use a the given registered Key Provider Service. This *method* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ManageTrustedHosts. @@ -228,7 +228,7 @@ sub create_task { ## @method delete_task () # Removes the Key Provider Service instance from the configuration of the given cluster. -# This *method* was added in vSphere API 7.0.0. +# This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are TrustedAdmin.ManageTrustedHosts. @@ -287,7 +287,7 @@ sub delete_task { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::Services::Summary`` # *class* contains basic information about a registered Key Provider Service instance -# that is configured for a cluster. This *class* was added in vSphere API 7.0.0. +# that is configured for a cluster. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::Services::Summary; @@ -334,7 +334,7 @@ sub new { # Gets the value of 'service' property. # # @retval service - The current value of the field. -# The service's unique identifier. This *field* was added in vSphere API 7.0.0. +# The service's unique identifier. This *field* was added in vSphere API 7.0.0.0. # # ID# sub get_service { @@ -346,7 +346,7 @@ sub get_service { # Sets the given value for 'service' property. # # @param service - New value for the field. -# The service's unique identifier. This *field* was added in vSphere API 7.0.0. +# The service's unique identifier. This *field* was added in vSphere API 7.0.0.0. # sub set_service { my ($self, %args) = @_; @@ -358,7 +358,7 @@ sub set_service { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # NetworkAddress# sub get_address { @@ -370,7 +370,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -383,7 +383,7 @@ sub set_address { # # @retval group - The current value of the field. # The group determines the Attestation Service instances this Key Provider Service can -# accept reports from. This *field* was added in vSphere API 7.0.0. +# accept reports from. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_group { @@ -396,7 +396,7 @@ sub get_group { # # @param group - New value for the field. # The group determines the Attestation Service instances this Key Provider Service can -# accept reports from. This *field* was added in vSphere API 7.0.0. +# accept reports from. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -409,7 +409,7 @@ sub set_group { # # @retval trust_authority_cluster - The current value of the field. # The cluster specifies the Trust Authority Cluster this Key Provider Service belongs -# to. This *field* was added in vSphere API 7.0.0. +# to. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_trust_authority_cluster { @@ -422,7 +422,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The cluster specifies the Trust Authority Cluster this Key Provider Service belongs -# to. This *field* was added in vSphere API 7.0.0. +# to. This *field* was added in vSphere API 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; @@ -441,7 +441,7 @@ sub set_trust_authority_cluster { # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::Services::Info`` # *class* contains all the stored information about a registered Key Provider Service # instance that is configured for a cluster. This *class* was added in vSphere API -# 7.0.0. +# 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::Services::Info; @@ -488,7 +488,7 @@ sub new { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # NetworkAddress# sub get_address { @@ -500,7 +500,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -513,7 +513,7 @@ sub set_address { # # @retval trusted_CA - The current value of the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # X509CertChain# sub get_trusted_CA { @@ -526,7 +526,7 @@ sub get_trusted_CA { # # @param trusted_CA - New value for the field. # The service's TLS certificate chain. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_trusted_CA { my ($self, %args) = @_; @@ -539,7 +539,7 @@ sub set_trusted_CA { # # @retval group - The current value of the field. # The group determines the Attestation Service instances this Key Provider Service can -# accept reports from. This *field* was added in vSphere API 7.0.0. +# accept reports from. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_group { @@ -552,7 +552,7 @@ sub get_group { # # @param group - New value for the field. # The group determines the Attestation Service instances this Key Provider Service can -# accept reports from. This *field* was added in vSphere API 7.0.0. +# accept reports from. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -565,7 +565,7 @@ sub set_group { # # @retval trust_authority_cluster - The current value of the field. # The cluster specifies the Trust Authority Cluster this Key Provider Service belongs -# to. This *field* was added in vSphere API 7.0.0. +# to. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_trust_authority_cluster { @@ -578,7 +578,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The cluster specifies the Trust Authority Cluster this Key Provider Service belongs -# to. This *field* was added in vSphere API 7.0.0. +# to. This *field* was added in vSphere API 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; @@ -597,7 +597,7 @@ sub set_trust_authority_cluster { # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::Services::CreateSpec`` # *class* contains the data necessary for configuring a registered Key Provider Service # instance with a cluster in the environment. This *class* was added in vSphere API -# 7.0.0. +# 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::Services::CreateSpec; @@ -651,7 +651,7 @@ sub new { # # @retval type - The current value of the field. # Source of truth for the configuration of the Key Provider Service. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # # SourceType# sub get_type { @@ -664,7 +664,7 @@ sub get_type { # # @param type - New value for the field. # Source of truth for the configuration of the Key Provider Service. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # sub set_type { my ($self, %args) = @_; @@ -676,7 +676,7 @@ sub set_type { # Gets the value of 'service' property. # # @retval service - The current value of the field. -# The service's unique ID. This *field* was added in vSphere API 7.0.0. +# The service's unique ID. This *field* was added in vSphere API 7.0.0.0. # # optional# sub get_service { @@ -688,7 +688,7 @@ sub get_service { # Sets the given value for 'service' property. # # @param service - New value for the field. -# The service's unique ID. This *field* was added in vSphere API 7.0.0. +# The service's unique ID. This *field* was added in vSphere API 7.0.0.0. # sub set_service { my ($self, %args) = @_; @@ -701,7 +701,7 @@ sub set_service { # # @retval trust_authority_cluster - The current value of the field. # The attestation cluster's unique ID. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # optional# sub get_trust_authority_cluster { @@ -714,7 +714,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The attestation cluster's unique ID. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; @@ -731,17 +731,17 @@ sub set_trust_authority_cluster { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::Services::CreateSpec::SourceType`` # *enumerated type* specifies source of truth the Key Provider Service will use for its -# configuration. This *enumeration* was added in vSphere API 7.0.0. +# configuration. This *enumeration* was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::Services::CreateSpec::SourceType::SERVICE # #The Key Provider Service will be configured based on an ID of an specific Key Provider -# Service. This *constant* was added in vSphere API 7.0.0. +# Service. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::Services::CreateSpec::SourceType::CLUSTER # #The Key Provider Service will be configured based on an ID of a whole attestation cluster. -# This *constant* was added in vSphere API 7.0.0. +# This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::Services::CreateSpec::SourceType; @@ -783,7 +783,7 @@ sub new { # The # ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::Services::FilterSpec`` # *class* contains the data necessary for identifying a Key Provider service instance. -# This *class* was added in vSphere API 7.0.0. +# This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::Services::FilterSpec; @@ -831,7 +831,7 @@ sub new { # # @retval services - The current value of the field. # A set of IDs by which to filter the services. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_services { @@ -844,7 +844,7 @@ sub get_services { # # @param services - New value for the field. # A set of IDs by which to filter the services. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_services { my ($self, %args) = @_; @@ -856,7 +856,7 @@ sub set_services { # Gets the value of 'address' property. # # @retval address - The current value of the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_address { @@ -868,7 +868,7 @@ sub get_address { # Sets the given value for 'address' property. # # @param address - New value for the field. -# The service's address. This *field* was added in vSphere API 7.0.0. +# The service's address. This *field* was added in vSphere API 7.0.0.0. # sub set_address { my ($self, %args) = @_; @@ -881,7 +881,7 @@ sub set_address { # # @retval group - The current value of the field. # The group determines the Attestation Service instances this Key Provider Service can -# accept reports from. This *field* was added in vSphere API 7.0.0. +# accept reports from. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_group { @@ -894,7 +894,7 @@ sub get_group { # # @param group - New value for the field. # The group determines the Attestation Service instances this Key Provider Service can -# accept reports from. This *field* was added in vSphere API 7.0.0. +# accept reports from. This *field* was added in vSphere API 7.0.0.0. # sub set_group { my ($self, %args) = @_; @@ -907,7 +907,7 @@ sub set_group { # # @retval trust_authority_cluster - The current value of the field. # The cluster specifies the Trust Authority Cluster this Key Provider Service instance -# belongs to. This *field* was added in vSphere API 7.0.0. +# belongs to. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_trust_authority_cluster { @@ -920,7 +920,7 @@ sub get_trust_authority_cluster { # # @param trust_authority_cluster - New value for the field. # The cluster specifies the Trust Authority Cluster this Key Provider Service instance -# belongs to. This *field* was added in vSphere API 7.0.0. +# belongs to. This *field* was added in vSphere API 7.0.0.0. # sub set_trust_authority_cluster { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Kms/ServicesAppliedConfig.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Kms/ServicesAppliedConfig.pm new file mode 100644 index 00000000..f91b2385 --- /dev/null +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Kms/ServicesAppliedConfig.pm @@ -0,0 +1,792 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file ServicesAppliedConfig.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vcenter::Trusted_infrastructure; +#use Com::Vmware::Vapi::Std; +#use Com::Vmware::Vapi::Std::Errors; + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig +# The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig`` +# *interface* provides information about the aggregate health of the applied Key +# Provider Service configuration on the Trusted Clusters. The desired state of the Key +# Provider Service is stored within vCenter, while the applied configuration is stored +# on the hosts in the cluster. The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig`` +# *interface* is available for all clusters, not only Trusted Clusters. In such cases +# empty desired state is assumed, e.g. when an applied Key Provider Service +# configuration is found outside of a Trusted Cluster it is considered an +# :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Health.ERROR` +# . The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig`` +# *interface* is able to put the applied Key Provider Service configuration into a +# consistent state when individual host configurations have diverged from the desired +# state. This *interface* was added in vSphere API 7.0.1.0. +# + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig; + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfigStub; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiInterface); + +# +# Identifier of the service +# +use constant _VAPI_SERVICE_ID => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms.services_applied_config'; + +# +# Identifiers of the task operations +# +our $_VAPI_OPERATION_IDS = (); +$_VAPI_OPERATION_IDS->{'list_task'} = 'list$task'; +$_VAPI_OPERATION_IDS->{'get_task'} = 'get$task'; +$_VAPI_OPERATION_IDS->{'update_task'} = 'update$task'; +$_VAPI_OPERATION_IDS->{'delete_task'} = 'delete$task'; + +## @method new () +# Constructor to initialize the object +# +# @param api_provider - protocol connection to use with +# stubs created by this factory +# @param StubConfig - Stub's additional configuration +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $stub_config = $args {stub_config}; + my $api_provider = $args {api_provider}; + + my $self = $class->SUPER::new('stub_config' => $stub_config, + 'api_provider' => $api_provider); + bless $self, $class; + return $self; +} + +## @method list_task () +# Returns basic information about the health of all Key Provider Service configurations +# applied to the cluster with respect to the desired state. This *method* was added in +# vSphere API 7.0.1.0. +# +# @param cluster [REQUIRED] The ID of the cluster against which the operation will be executed. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @param spec [OPTIONAL] The specification for the subset of results desired to be returned. +# If {@term.unset} all results are returned. +# . The value must be +# Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::FilterSpec +# or None. +# +# @retval +# The health status for each applied configuration in the given cluster. +# The return type will be string +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if there is a generic error. +# +# @throw Com::Vmware::Vapi::Std::Errors::InvalidArgument +# if the cluster ID is empty. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if no cluster corresponding to the given ID is found within this vCenter. +# +# @throw Com::Vmware::Vapi::Std::Errors::ResourceBusy +# if there are ongoing mutating operations. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# +sub list_task { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + my $spec = $args {spec}; + + $self->validate_args (method_name => 'list$task', + method_args => \%args); + + return $self->invoke (method_name => 'list$task', + method_args => \%args); +} + + +## @method get_task () +# Returns detailed information about the health of the specified Key Provider Service +# configuration applied to the cluster with respect to the desired state. This *method* +# was added in vSphere API 7.0.1.0. +# +# @param cluster [REQUIRED] The ID of the cluster against which the operation will be executed. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @param address [REQUIRED] The network address of the Key Provider service instance. +# . The value must be Com::Vmware::Vcenter::Trusted_infrastructure::NetworkAddress. +# +# @retval +# Detailed information about the health of the specified Key Provider Service +# configuration applied to the cluster with respect to the desired state. +# The return type will be string +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if there is a generic error. +# +# @throw Com::Vmware::Vapi::Std::Errors::InvalidArgument +# if the cluster ID is empty. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if no cluster corresponding to the given ID is found within this vCenter or if no +# service corresponding to the given address is found. +# +# @throw Com::Vmware::Vapi::Std::Errors::ResourceBusy +# if there are ongoing mutating operations. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# +sub get_task { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + my $address = $args {address}; + + $self->validate_args (method_name => 'get$task', + method_args => \%args); + + return $self->invoke (method_name => 'get$task', + method_args => \%args); +} + + +## @method update_task () +# Update the applied Key Provider Service configuration on the given Trusted Cluster to be +# consistent with the desired state. This method has no affect on the desired state, apart +# from it being used as a reference point for the remediation. This *method* was added in +# vSphere API 7.0.1.0. +# +# @param cluster [REQUIRED] The ID of the Trusted Cluster against which the operation will be executed. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if there is a generic error. +# +# @throw Com::Vmware::Vapi::Std::Errors::InvalidArgument +# if the cluster ID is empty +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if no cluster corresponding to the given ID is found within this vCenter. +# +# @throw Com::Vmware::Vapi::Std::Errors::ResourceBusy +# if there are ongoing mutating operations. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# +sub update_task { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + + $self->validate_args (method_name => 'update$task', + method_args => \%args); + + return $self->invoke (method_name => 'update$task', + method_args => \%args); +} + + +## @method delete_task () +# Delete the Key Provider Service configuration that has been applied to the given cluster. +# This method has no affect on the desired state, it only removes applied Key Provider +# Service configuration from any Trusted Hosts within the given cluster. This *method* was +# added in vSphere API 7.0.1.0. +# +# @param cluster [REQUIRED] The ID of the cluster against which the operation will be executed. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if there is a generic error. +# +# @throw Com::Vmware::Vapi::Std::Errors::InvalidArgument +# if the cluster ID is empty. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if no cluster corresponding to the given ID is found within this vCenter. +# +# @throw Com::Vmware::Vapi::Std::Errors::ResourceBusy +# if there are ongoing mutating operations. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# +sub delete_task { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + + $self->validate_args (method_name => 'delete$task', + method_args => \%args); + + return $self->invoke (method_name => 'delete$task', + method_args => \%args); +} + + +1; + +######################################################################################### +# Begins enumerations for the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig service +######################################################################################### + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Health +# +# The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Health`` +# *enumerated type* is an indicator for the consistency of the applied Key Provider +# Service configuration in a cluster with respect to the desired state. This +# *enumeration* was added in vSphere API 7.0.1.0. +# +# +# +# Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Health::NONE # +#The consistency of the applied configuration is unknown. This *constant* was added in +# vSphere API 7.0.1.0. +# +# Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Health::OK # +#The applied Key Provider Service configuration is consistent with the desired state. This +# *constant* was added in vSphere API 7.0.1.0. +# +# Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Health::ERROR # +#The applied Key Provider Service configuration has diverged from the desired state. This +# *constant* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Health; + +use constant { + NONE => 'NONE', + OK => 'OK', + ERROR => 'ERROR', +}; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiEnum); + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Health enumeration. +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $self = $class->SUPER::new(); + my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType( + 'name' => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms.services_applied_config.health', + 'binding_class' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Health'); + $class->SUPER::set_binding_type('binding_type' => $bindingType); + + bless $self, $class; + return $self; +} + +1; + + +######################################################################################### +# Ends enumerations for the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig service +######################################################################################### + +######################################################################################### +# Begins structures for the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig service +######################################################################################### + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Summary +# +# +# The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Summary`` +# *class* contains basic information about the aggregated health status for a service. +# This *class* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Summary; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Summary structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{health} = $args{'health'}; + $self->{address} = $args{'address'}; + $self->{service} = $args{'service'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Summary'); + $self->set_binding_name('name' => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms.services_applied_config.summary'); + $self->set_binding_field('key' => 'health', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms', 'type_name' => 'ServicesAppliedConfig::Health')); + $self->set_binding_field('key' => 'address', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure', 'type_name' => 'NetworkAddress')); + $self->set_binding_field('key' => 'service', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + bless $self, $class; + return $self; +} + +## @method get_health () +# Gets the value of 'health' property. +# +# @retval health - The current value of the field. +# The health value indicates whether the configuration applied to the cluster differs +# from the desired state. This *field* was added in vSphere API 7.0.1.0. +# +# Health# +sub get_health { + my ($self, %args) = @_; + return $self->{'health'}; +} + +## @method set_health () +# Sets the given value for 'health' property. +# +# @param health - New value for the field. +# The health value indicates whether the configuration applied to the cluster differs +# from the desired state. This *field* was added in vSphere API 7.0.1.0. +# +sub set_health { + my ($self, %args) = @_; + $self->{'health'} = $args{'health'}; + return; +} + +## @method get_address () +# Gets the value of 'address' property. +# +# @retval address - The current value of the field. +# The network address of the Key Provider Service configured for use in the Trusted +# Cluster. This *field* was added in vSphere API 7.0.1.0. +# +# NetworkAddress# +sub get_address { + my ($self, %args) = @_; + return $self->{'address'}; +} + +## @method set_address () +# Sets the given value for 'address' property. +# +# @param address - New value for the field. +# The network address of the Key Provider Service configured for use in the Trusted +# Cluster. This *field* was added in vSphere API 7.0.1.0. +# +sub set_address { + my ($self, %args) = @_; + $self->{'address'} = $args{'address'}; + return; +} + +## @method get_service () +# Gets the value of 'service' property. +# +# @retval service - The current value of the field. +# The unique identifier of a Key Provider Service configuration from the desired state. +# This *field* was added in vSphere API 7.0.1.0. +# +# Optional# +sub get_service { + my ($self, %args) = @_; + return $self->{'service'}; +} + +## @method set_service () +# Sets the given value for 'service' property. +# +# @param service - New value for the field. +# The unique identifier of a Key Provider Service configuration from the desired state. +# This *field* was added in vSphere API 7.0.1.0. +# +sub set_service { + my ($self, %args) = @_; + $self->{'service'} = $args{'service'}; + return; +} + + +1; + + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::FilterSpec +# +# +# The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::FilterSpec`` +# *class* specifies the matching criteria to be applied when filtering out +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Summary`` +# structures from the collection returned by the list method. Only +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Summary`` +# structures containing the values specified in this structure will be returned from the +# list method. If multiple members of the filter spec are set, all of them must match +# for a result to be filtered out and returned. This *class* was added in vSphere API +# 7.0.1.0. + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::FilterSpec; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::FilterSpec structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{health} = $args{'health'}; + $self->{address} = $args{'address'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::FilterSpec'); + $self->set_binding_name('name' => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms.services_applied_config.filter_spec'); + $self->set_binding_field('key' => 'health', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::SetType('binding_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms', 'type_name' => 'ServicesAppliedConfig::Health'))))); + $self->set_binding_field('key' => 'address', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure', 'type_name' => 'NetworkAddress')))); + bless $self, $class; + return $self; +} + +## @method get_health () +# Gets the value of 'health' property. +# +# @retval health - The current value of the field. +# The health of the applied Key Provider Service configuration. This *field* was added +# in vSphere API 7.0.1.0. +# +# Optional# +sub get_health { + my ($self, %args) = @_; + return $self->{'health'}; +} + +## @method set_health () +# Sets the given value for 'health' property. +# +# @param health - New value for the field. +# The health of the applied Key Provider Service configuration. This *field* was added +# in vSphere API 7.0.1.0. +# +sub set_health { + my ($self, %args) = @_; + $self->{'health'} = $args{'health'}; + return; +} + +## @method get_address () +# Gets the value of 'address' property. +# +# @retval address - The current value of the field. +# The network address of the Key Provider Service configured for use in the Trusted +# Cluster. This *field* was added in vSphere API 7.0.1.0. +# +# Optional# +sub get_address { + my ($self, %args) = @_; + return $self->{'address'}; +} + +## @method set_address () +# Sets the given value for 'address' property. +# +# @param address - New value for the field. +# The network address of the Key Provider Service configured for use in the Trusted +# Cluster. This *field* was added in vSphere API 7.0.1.0. +# +sub set_address { + my ($self, %args) = @_; + $self->{'address'} = $args{'address'}; + return; +} + + +1; + + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Info +# +# +# The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Info`` +# *class* contains detailed information about an applied Key Provider Service +# configuration in a Trusted cluster. This *class* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Info; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Info structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{health} = $args{'health'}; + $self->{address} = $args{'address'}; + $self->{service} = $args{'service'}; + $self->{groups} = $args{'groups'}; + $self->{trustedc_as} = $args{'trustedc_as'}; + $self->{details} = $args{'details'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Info'); + $self->set_binding_name('name' => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms.services_applied_config.info'); + $self->set_binding_field('key' => 'health', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms', 'type_name' => 'ServicesAppliedConfig::Health')); + $self->set_binding_field('key' => 'address', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure', 'type_name' => 'NetworkAddress')); + $self->set_binding_field('key' => 'service', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'groups', 'value' => new Com::Vmware::Vapi::Bindings::Type::SetType('binding_type' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::StringType()))); + $self->set_binding_field('key' => 'trustedc_as', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure', 'type_name' => 'X509CertChain'))); + $self->set_binding_field('key' => 'details', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std', 'type_name' => 'LocalizableMessage'))); + bless $self, $class; + return $self; +} + +## @method get_health () +# Gets the value of 'health' property. +# +# @retval health - The current value of the field. +# A health value which indicates whether the configuration applied to the cluster +# differs from the desired state. This *field* was added in vSphere API 7.0.1.0. +# +# Health# +sub get_health { + my ($self, %args) = @_; + return $self->{'health'}; +} + +## @method set_health () +# Sets the given value for 'health' property. +# +# @param health - New value for the field. +# A health value which indicates whether the configuration applied to the cluster +# differs from the desired state. This *field* was added in vSphere API 7.0.1.0. +# +sub set_health { + my ($self, %args) = @_; + $self->{'health'} = $args{'health'}; + return; +} + +## @method get_address () +# Gets the value of 'address' property. +# +# @retval address - The current value of the field. +# The network address of the Key Provider Service configured for use in the Trusted +# Cluster. This *field* was added in vSphere API 7.0.1.0. +# +# NetworkAddress# +sub get_address { + my ($self, %args) = @_; + return $self->{'address'}; +} + +## @method set_address () +# Sets the given value for 'address' property. +# +# @param address - New value for the field. +# The network address of the Key Provider Service configured for use in the Trusted +# Cluster. This *field* was added in vSphere API 7.0.1.0. +# +sub set_address { + my ($self, %args) = @_; + $self->{'address'} = $args{'address'}; + return; +} + +## @method get_service () +# Gets the value of 'service' property. +# +# @retval service - The current value of the field. +# The unique identifier of a Key Provider Service configuration from the desired state. +# This *field* was added in vSphere API 7.0.1.0. +# +# Optional# +sub get_service { + my ($self, %args) = @_; + return $self->{'service'}; +} + +## @method set_service () +# Sets the given value for 'service' property. +# +# @param service - New value for the field. +# The unique identifier of a Key Provider Service configuration from the desired state. +# This *field* was added in vSphere API 7.0.1.0. +# +sub set_service { + my ($self, %args) = @_; + $self->{'service'} = $args{'service'}; + return; +} + +## @method get_groups () +# Gets the value of 'groups' property. +# +# @retval groups - The current value of the field. +# The set of distinct groups found on the hosts in the cluster which differ from the +# desired state. This *field* was added in vSphere API 7.0.1.0. +# +# Set# +sub get_groups { + my ($self, %args) = @_; + return $self->{'groups'}; +} + +## @method set_groups () +# Sets the given value for 'groups' property. +# +# @param groups - New value for the field. +# The set of distinct groups found on the hosts in the cluster which differ from the +# desired state. This *field* was added in vSphere API 7.0.1.0. +# +sub set_groups { + my ($self, %args) = @_; + $self->{'groups'} = $args{'groups'}; + return; +} + +## @method get_trustedc_as () +# Gets the value of 'trustedc_as' property. +# +# @retval trustedc_as - The current value of the field. +# A list of distinct trusted CA chains found on the hosts in the cluster which differ +# from the desired state. This *field* was added in vSphere API 7.0.1.0. +# +# List# +sub get_trustedc_as { + my ($self, %args) = @_; + return $self->{'trustedc_as'}; +} + +## @method set_trustedc_as () +# Sets the given value for 'trustedc_as' property. +# +# @param trustedc_as - New value for the field. +# A list of distinct trusted CA chains found on the hosts in the cluster which differ +# from the desired state. This *field* was added in vSphere API 7.0.1.0. +# +sub set_trustedc_as { + my ($self, %args) = @_; + $self->{'trustedc_as'} = $args{'trustedc_as'}; + return; +} + +## @method get_details () +# Gets the value of 'details' property. +# +# @retval details - The current value of the field. +# Details regarding the health. When the +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Health`` +# is not +# :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Health.OK` +# , this member will provide a detailed description of the issues present. This *field* +# was added in vSphere API 7.0.1.0. +# +# List# +sub get_details { + my ($self, %args) = @_; + return $self->{'details'}; +} + +## @method set_details () +# Sets the given value for 'details' property. +# +# @param details - New value for the field. +# Details regarding the health. When the +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Health`` +# is not +# :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig::Health.OK` +# , this member will provide a detailed description of the issues present. This *field* +# was added in vSphere API 7.0.1.0. +# +sub set_details { + my ($self, %args) = @_; + $self->{'details'} = $args{'details'}; + return; +} + + +1; + + + +######################################################################################### +# Ends structures for the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig service +######################################################################################### diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Kms/ServicesAppliedConfigStub.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Kms/ServicesAppliedConfigStub.pm new file mode 100644 index 00000000..3a65e60e --- /dev/null +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/Kms/ServicesAppliedConfigStub.pm @@ -0,0 +1,215 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file ServicesAppliedConfigStub.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vcenter::Trusted_infrastructure; +#use Com::Vmware::Vapi::Std; +#use Com::Vmware::Vapi::Std::Errors; + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfigStub; + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms::ServicesAppliedConfig +# +#The {@name ServicesAppliedConfig} {@term service} provides information about +#the aggregate health of the applied Key Provider Service configuration on +#the Trusted Clusters. +#The desired state of the Key Provider Service is stored within vCenter, while +#the applied configuration is stored on the hosts in the cluster. +#The {@name ServicesAppliedConfig} {@term service} is available for all +#clusters, not only Trusted Clusters. In such cases empty desired state is +#assumed, e.g. when an applied Key Provider Service configuration is found +#outside of a Trusted Cluster it is considered +#an {@link ServicesAppliedConfig.Health#ERROR}. +#The {@name ServicesAppliedConfig} {@term service} is able to put the +#applied Key Provider Service configuration into a consistent state when +#individual host configurations have diverged from the desired state. +# + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::BlobType; +use Com::Vmware::Vapi::Bindings::Type::BooleanType; +use Com::Vmware::Vapi::Bindings::Type::DateTimeType; +use Com::Vmware::Vapi::Bindings::Type::DoubleType; +use Com::Vmware::Vapi::Bindings::Type::EnumType; +use Com::Vmware::Vapi::Bindings::Type::ErrorType; +use Com::Vmware::Vapi::Bindings::Type::ListType; +use Com::Vmware::Vapi::Bindings::Type::LongType; +use Com::Vmware::Vapi::Bindings::Type::MapType; +use Com::Vmware::Vapi::Bindings::Type::OpaqueType; +use Com::Vmware::Vapi::Bindings::Type::OptionalType; +use Com::Vmware::Vapi::Bindings::Type::ReferenceType; +use Com::Vmware::Vapi::Bindings::Type::SecretType; +use Com::Vmware::Vapi::Bindings::Type::SetType; +use Com::Vmware::Vapi::Bindings::Type::StringType; +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vapi::Bindings::Type::DynamicStructType; +use Com::Vmware::Vapi::Bindings::Type::URIType; +use Com::Vmware::Vapi::Bindings::Type::VoidType; +use Com::Vmware::Vapi::Data::UnionValidator; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::ApiInterfaceStub); + +## @method new +# Constructor to initialize the object +# +# @param ApiProvider - ApiProvider for vAPI stubs +# +# @return +# Blessed object +# +sub new +{ + my ($class, %args) = @_; + my $api_provider = $args {api_provider}; + $class = ref($class) || $class; + # + # properties for list operation + # + my $list_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'spec' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::Kms', 'type_name' => 'ServicesAppliedConfig::FilterSpec')), + } + ); + my $list_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.resource_busy' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ResourceBusy'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $list_input_validator_list = [ + ]; + my $list_output_validator_list = []; + + # + # properties for get operation + # + my $get_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'address' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure', 'type_name' => 'NetworkAddress'), + } + ); + my $get_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.resource_busy' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ResourceBusy'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $get_input_validator_list = [ + ]; + my $get_output_validator_list = []; + + # + # properties for update operation + # + my $update_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + } + ); + my $update_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.resource_busy' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ResourceBusy'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $update_input_validator_list = [ + ]; + my $update_output_validator_list = []; + + # + # properties for delete operation + # + my $delete_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + } + ); + my $delete_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.resource_busy' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ResourceBusy'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $delete_input_validator_list = [ + ]; + my $delete_output_validator_list = []; + + # + # All the methods (operations) info in a hash + # + my $operations = { + 'list$task' => { + 'input_type'=> $list_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'errors'=> $list_error_dict, + 'input_validator_list'=> $list_input_validator_list, + 'output_validator_list'=> $list_output_validator_list, + }, + 'get$task' => { + 'input_type'=> $get_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'errors'=> $get_error_dict, + 'input_validator_list'=> $get_input_validator_list, + 'output_validator_list'=> $get_output_validator_list, + }, + 'update$task' => { + 'input_type'=> $update_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'errors'=> $update_error_dict, + 'input_validator_list'=> $update_input_validator_list, + 'output_validator_list'=> $update_output_validator_list, + }, + 'delete$task' => { + 'input_type'=> $delete_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'errors'=> $delete_error_dict, + 'input_validator_list'=> $delete_input_validator_list, + 'output_validator_list'=> $delete_output_validator_list, + }, + }; + + my $self = $class->SUPER::new ('api_provider' => $api_provider, + 'iface_name' => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms.services_applied_config', + 'operations' => $operations + ); + bless $self, $class; + return $self; +} + +1; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/ServicesAppliedConfig.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/ServicesAppliedConfig.pm new file mode 100644 index 00000000..542aa193 --- /dev/null +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/ServicesAppliedConfig.pm @@ -0,0 +1,392 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file ServicesAppliedConfig.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std; +#use Com::Vmware::Vapi::Std::Errors; + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig +# The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig`` +# *interface* provides information about the aggregate health of the applied Trust +# Authority Component configurations on the Trusted Clusters. The desired state of the +# Trust Authority Component configurations is stored within vCenter, while the applied +# configuration is stored on the hosts in the cluster and is a copy of the desired +# state. The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig`` +# *interface* is available for all clusters, not only Trusted Clusters. When an applied +# Trust Authority Component configuration is found outside of a Trusted Cluster it is +# considered an +# :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Health.ERROR` +# . The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig`` +# *interface* is able to make the applied Trust Authority Component configuration +# consistent with the desired state when individual host configurations have diverged +# from the desired state. This *interface* was added in vSphere API 7.0.1.0. +# + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig; + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfigStub; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiInterface); + +# +# Identifier of the service +# +use constant _VAPI_SERVICE_ID => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.services_applied_config'; + +# +# Identifiers of the task operations +# +our $_VAPI_OPERATION_IDS = (); +$_VAPI_OPERATION_IDS->{'get_task'} = 'get$task'; +$_VAPI_OPERATION_IDS->{'update_task'} = 'update$task'; +$_VAPI_OPERATION_IDS->{'delete_task'} = 'delete$task'; + +## @method new () +# Constructor to initialize the object +# +# @param api_provider - protocol connection to use with +# stubs created by this factory +# @param StubConfig - Stub's additional configuration +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $stub_config = $args {stub_config}; + my $api_provider = $args {api_provider}; + + my $self = $class->SUPER::new('stub_config' => $stub_config, + 'api_provider' => $api_provider); + bless $self, $class; + return $self; +} + +## @method get_task () +# Returns detailed information about the health of the applied Trust Authority Component +# configurations in the given cluster. This *method* was added in vSphere API 7.0.1.0. +# +# @param cluster [REQUIRED] The ID of the cluster against which the operation will be executed. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @retval +# Detailed information about the health of the applied Trust Authority Component +# configurations in the given cluster. +# The return type will be string +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if there is a generic error. +# +# @throw Com::Vmware::Vapi::Std::Errors::InvalidArgument +# if the cluster ID is empty. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if no cluster corresponding to the given ID is found within this vCenter. +# +# @throw Com::Vmware::Vapi::Std::Errors::ResourceBusy +# if there are ongoing mutating operations. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# +sub get_task { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + + $self->validate_args (method_name => 'get$task', + method_args => \%args); + + return $self->invoke (method_name => 'get$task', + method_args => \%args); +} + + +## @method update_task () +# Update all applied Trust Authority Component configuration on the given cluster to be +# consistent with the desired state. This method has no affect on the desired state, apart +# from it being used as a reference point for the remediation. If the cluster is not a +# Trusted Cluster, the method will remove all Trust Authority Component configuration from +# the Trusted Hosts in the cluster, if such hosts are found. This *method* was added in +# vSphere API 7.0.1.0. +# +# @param cluster [REQUIRED] The ID of the cluster against which the operation will be executed. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if there is a generic error. +# +# @throw Com::Vmware::Vapi::Std::Errors::InvalidArgument +# if the cluster ID is empty. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if no cluster corresponding to the given ID is found within this vCenter. +# +# @throw Com::Vmware::Vapi::Std::Errors::ResourceBusy +# if there are ongoing mutating operations. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# +sub update_task { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + + $self->validate_args (method_name => 'update$task', + method_args => \%args); + + return $self->invoke (method_name => 'update$task', + method_args => \%args); +} + + +## @method delete_task () +# Delete all Trust Authority Components configuration that has been applied to the given +# cluster. This method has no affect on the desired state, it only removes applied Trust +# Authority Component configurations from any Trusted Hosts within the given cluster. This +# *method* was added in vSphere API 7.0.1.0. +# +# @param cluster [REQUIRED] The ID of the cluster against which the operation will be executed. +# The value must be an identifier for the resource type +# getQualifiedName(ClusterComputeResource). +# . The value must be str. +# +# @throw Com::Vmware::Vapi::Std::Errors::Error +# if there is a generic error. +# +# @throw Com::Vmware::Vapi::Std::Errors::InvalidArgument +# if the cluster ID is empty. +# +# @throw Com::Vmware::Vapi::Std::Errors::NotFound +# if no cluster corresponding to the given ID is found within this vCenter. +# +# @throw Com::Vmware::Vapi::Std::Errors::ResourceBusy +# if there are ongoing mutating operations. +# +# @throw Com::Vmware::Vapi::Std::Errors::Unauthenticated +# if the caller is not authenticated. +# +sub delete_task { + my ($self, %args) = @_; + my $cluster = $args {cluster}; + + $self->validate_args (method_name => 'delete$task', + method_args => \%args); + + return $self->invoke (method_name => 'delete$task', + method_args => \%args); +} + + +1; + +######################################################################################### +# Begins enumerations for the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig service +######################################################################################### + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Health +# +# The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Health`` +# *enumerated type* is an indicator for the consistency of all applied Trust Authority +# Component configurations in a cluster with respect to the desired state. This +# *enumeration* was added in vSphere API 7.0.1.0. +# +# +# +# Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Health::NONE # +#The consistency of some applied configurations is unknown. This *constant* was added in +# vSphere API 7.0.1.0. +# +# Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Health::OK # +#All the applied Trust Authority Component configurations are consistent with the desired +# state. This *constant* was added in vSphere API 7.0.1.0. +# +# Constant Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Health::ERROR # +#Some applied Trust Authority Component configurations have diverged from the desired +# state. This *constant* was added in vSphere API 7.0.1.0. + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Health; + +use constant { + NONE => 'NONE', + OK => 'OK', + ERROR => 'ERROR', +}; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiEnum); + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Health enumeration. +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $self = $class->SUPER::new(); + my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType( + 'name' => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.services_applied_config.health', + 'binding_class' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Health'); + $class->SUPER::set_binding_type('binding_type' => $bindingType); + + bless $self, $class; + return $self; +} + +1; + + +######################################################################################### +# Ends enumerations for the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig service +######################################################################################### + +######################################################################################### +# Begins structures for the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig service +######################################################################################### + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Info +# +# +# The +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Info`` +# *class* contains detailed information about the health of the applied Trust Authority +# Component configurations in a cluster. This *class* was added in vSphere API +# 7.0.1.0. + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Info; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Info structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{health} = $args{'health'}; + $self->{details} = $args{'details'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Info'); + $self->set_binding_name('name' => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.services_applied_config.info'); + $self->set_binding_field('key' => 'health', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters', 'type_name' => 'ServicesAppliedConfig::Health')); + $self->set_binding_field('key' => 'details', 'value' => new Com::Vmware::Vapi::Bindings::Type::ListType(new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std', 'type_name' => 'LocalizableMessage'))); + bless $self, $class; + return $self; +} + +## @method get_health () +# Gets the value of 'health' property. +# +# @retval health - The current value of the field. +# The health value which indicates whether the configuration applied to the cluster +# differs from the desired state. This *field* was added in vSphere API 7.0.1.0. +# +# Health# +sub get_health { + my ($self, %args) = @_; + return $self->{'health'}; +} + +## @method set_health () +# Sets the given value for 'health' property. +# +# @param health - New value for the field. +# The health value which indicates whether the configuration applied to the cluster +# differs from the desired state. This *field* was added in vSphere API 7.0.1.0. +# +sub set_health { + my ($self, %args) = @_; + $self->{'health'} = $args{'health'}; + return; +} + +## @method get_details () +# Gets the value of 'details' property. +# +# @retval details - The current value of the field. +# Details regarding the health. When the +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Health`` +# is not +# :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Health.OK` +# , this member will provide a detailed description of the issues present. This *field* +# was added in vSphere API 7.0.1.0. +# +# List# +sub get_details { + my ($self, %args) = @_; + return $self->{'details'}; +} + +## @method set_details () +# Sets the given value for 'details' property. +# +# @param details - New value for the field. +# Details regarding the health. When the +# ``Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Health`` +# is not +# :attr:`Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig::Health.OK` +# , this member will provide a detailed description of the issues present. This *field* +# was added in vSphere API 7.0.1.0. +# +sub set_details { + my ($self, %args) = @_; + $self->{'details'} = $args{'details'}; + return; +} + + +1; + + + +######################################################################################### +# Ends structures for the Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig service +######################################################################################### diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/ServicesAppliedConfigStub.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/ServicesAppliedConfigStub.pm new file mode 100644 index 00000000..1776ee8c --- /dev/null +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/Trusted_clusters/ServicesAppliedConfigStub.pm @@ -0,0 +1,183 @@ +######################################################################## +# Copyright (C) 2013 - 2014 VMware, Inc. +######################################################################## + +## @file ServicesAppliedConfigStub.pm +# Auto generated vAPI skeleton file. +# DO NOT MODIFY! +# +# + +#use Com::Vmware::Vapi::Std; +#use Com::Vmware::Vapi::Std::Errors; + +package Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfigStub; + +## @class Com::Vmware::Vcenter::Trusted_infrastructure::Trusted_clusters::ServicesAppliedConfig +# +#The {@name ServicesAppliedConfig} {@term service} provides information about +#the aggregate health of the applied Trust Authority Component configurations +#on the Trusted Clusters. +#The desired state of the Trust Authority Component configurations is stored +#within vCenter, while the applied configuration is stored on the hosts in +#the cluster and is a copy of the desired state. +#The {@name ServicesAppliedConfig} {@term service} is available for all +#clusters, not only Trusted Clusters. When an applied Trust Authority +#Component configuration is found outside of a Trusted Cluster it is +#considered an {@link ServicesAppliedConfig.Health#ERROR}. +#The {@name ServicesAppliedConfig} {@term service} is able to make the applied +#Trust Authority Component configuration consistent with the desired state +#when individual host configurations have diverged from the desired state. +# + +# +# Core Perl modules +# +use strict; +use warnings; +use Carp; + +# +# Vapi Perl modules +# +use Com::Vmware::Vapi::Bindings::Type::BlobType; +use Com::Vmware::Vapi::Bindings::Type::BooleanType; +use Com::Vmware::Vapi::Bindings::Type::DateTimeType; +use Com::Vmware::Vapi::Bindings::Type::DoubleType; +use Com::Vmware::Vapi::Bindings::Type::EnumType; +use Com::Vmware::Vapi::Bindings::Type::ErrorType; +use Com::Vmware::Vapi::Bindings::Type::ListType; +use Com::Vmware::Vapi::Bindings::Type::LongType; +use Com::Vmware::Vapi::Bindings::Type::MapType; +use Com::Vmware::Vapi::Bindings::Type::OpaqueType; +use Com::Vmware::Vapi::Bindings::Type::OptionalType; +use Com::Vmware::Vapi::Bindings::Type::ReferenceType; +use Com::Vmware::Vapi::Bindings::Type::SecretType; +use Com::Vmware::Vapi::Bindings::Type::SetType; +use Com::Vmware::Vapi::Bindings::Type::StringType; +use Com::Vmware::Vapi::Bindings::Type::StructType; +use Com::Vmware::Vapi::Bindings::Type::DynamicStructType; +use Com::Vmware::Vapi::Bindings::Type::URIType; +use Com::Vmware::Vapi::Bindings::Type::VoidType; +use Com::Vmware::Vapi::Data::UnionValidator; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::ApiInterfaceStub); + +## @method new +# Constructor to initialize the object +# +# @param ApiProvider - ApiProvider for vAPI stubs +# +# @return +# Blessed object +# +sub new +{ + my ($class, %args) = @_; + my $api_provider = $args {api_provider}; + $class = ref($class) || $class; + # + # properties for get operation + # + my $get_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + } + ); + my $get_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.resource_busy' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ResourceBusy'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $get_input_validator_list = [ + ]; + my $get_output_validator_list = []; + + # + # properties for update operation + # + my $update_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + } + ); + my $update_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.resource_busy' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ResourceBusy'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $update_input_validator_list = [ + ]; + my $update_output_validator_list = []; + + # + # properties for delete operation + # + my $delete_input_type = new Com::Vmware::Vapi::Bindings::Type::StructType( + 'name' => 'operation-input', + 'fields' => { + 'cluster' => new Com::Vmware::Vapi::Bindings::Type::StringType(), + } + ); + my $delete_error_dict = { + 'com.vmware.vapi.std.errors.error' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Error'), + 'com.vmware.vapi.std.errors.invalid_argument' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'InvalidArgument'), + 'com.vmware.vapi.std.errors.not_found' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'NotFound'), + 'com.vmware.vapi.std.errors.resource_busy' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'ResourceBusy'), + 'com.vmware.vapi.std.errors.unauthenticated' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vapi::Std::Errors', 'type_name' => 'Unauthenticated'), + + }; + + my $delete_input_validator_list = [ + ]; + my $delete_output_validator_list = []; + + # + # All the methods (operations) info in a hash + # + my $operations = { + 'get$task' => { + 'input_type'=> $get_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'errors'=> $get_error_dict, + 'input_validator_list'=> $get_input_validator_list, + 'output_validator_list'=> $get_output_validator_list, + }, + 'update$task' => { + 'input_type'=> $update_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'errors'=> $update_error_dict, + 'input_validator_list'=> $update_input_validator_list, + 'output_validator_list'=> $update_output_validator_list, + }, + 'delete$task' => { + 'input_type'=> $delete_input_type, + 'output_type'=> new Com::Vmware::Vapi::Bindings::Type::StringType(), + 'errors'=> $delete_error_dict, + 'input_validator_list'=> $delete_input_validator_list, + 'output_validator_list'=> $delete_output_validator_list, + }, + }; + + my $self = $class->SUPER::new ('api_provider' => $api_provider, + 'iface_name' => 'com.vmware.vcenter.trusted_infrastructure.trusted_clusters.services_applied_config', + 'operations' => $operations + ); + bless $self, $class; + return $self; +} + +1; diff --git a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/X509CertChain.pm b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/X509CertChain.pm index f4bef1fe..d415cf4c 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/X509CertChain.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Trusted_infrastructure/X509CertChain.pm @@ -2,7 +2,7 @@ # # # The ``Com::Vmware::Vcenter::Trusted_infrastructure::X509CertChain`` *class* -# contains x509 certificate chain. This *class* was added in vSphere API 7.0.0. +# contains x509 certificate chain. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Trusted_infrastructure::X509CertChain; @@ -43,7 +43,7 @@ sub new { # Gets the value of 'cert_chain' property. # # @retval cert_chain - The current value of the field. -# Certificate chain in base64 format. This *field* was added in vSphere API 7.0.0. +# Certificate chain in base64 format. This *field* was added in vSphere API 7.0.0.0. # # List# sub get_cert_chain { @@ -55,7 +55,7 @@ sub get_cert_chain { # Sets the given value for 'cert_chain' property. # # @param cert_chain - New value for the field. -# Certificate chain in base64 format. This *field* was added in vSphere API 7.0.0. +# Certificate chain in base64 format. This *field* was added in vSphere API 7.0.0.0. # sub set_cert_chain { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/VM.pm b/lib/sdk/Com/Vmware/Vcenter/VM.pm index 1b329f1a..56673942 100644 --- a/lib/sdk/Com/Vmware/Vcenter/VM.pm +++ b/lib/sdk/Com/Vmware/Vcenter/VM.pm @@ -157,7 +157,7 @@ sub create { # #

    # -# . This *method* was added in vSphere API 7.0.0. +# . This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are Datastore.AllocateSpace, VirtualMachine.Inventory.CreateFromExisting, Resource.AssignVMToPool, VirtualMachine.Provisioning.Clone. @@ -232,7 +232,7 @@ sub clone_task { # #

    # -# . This *method* was added in vSphere API 7.0.0. +# . This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are Datastore.AllocateSpace, VirtualMachine.Inventory.CreateFromExisting, Resource.AssignVMToPool, VirtualMachine.Provisioning.Clone. @@ -309,7 +309,7 @@ sub clone { # #

    # -# . This *method* was added in vSphere API 7.0.0. +# . This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are Resource.AssignVMToPool, Resource.ColdMigrate. @@ -371,7 +371,7 @@ sub relocate_task { # #

    # -# . This *method* was added in vSphere API 7.0.0. +# . This *method* was added in vSphere API 7.0.0.0. # # Note: # Privileges required for this operation are Resource.AssignVMToPool, Resource.ColdMigrate. @@ -2360,7 +2360,7 @@ sub set_scsi_adapters { # # The ``Com::Vmware::Vcenter::VM::GuestCustomizationSpec`` *class* contains # information required to customize a virtual machine when deploying it. This *class* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::VM::GuestCustomizationSpec; @@ -2402,7 +2402,7 @@ sub new { # # @retval name - The current value of the field. # Name of the customization specification. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_name { @@ -2415,7 +2415,7 @@ sub get_name { # # @param name - New value for the field. # Name of the customization specification. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_name { my ($self, %args) = @_; @@ -2430,7 +2430,7 @@ sub set_name { ## @class Com::Vmware::Vcenter::VM::DiskCloneSpec # # -# Document-based disk clone spec. This *class* was added in vSphere API 7.0.0. +# Document-based disk clone spec. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::VM::DiskCloneSpec; @@ -2471,7 +2471,7 @@ sub new { # Gets the value of 'datastore' property. # # @retval datastore - The current value of the field. -# Destination datastore to clone disk. This *field* was added in vSphere API 7.0.0. +# Destination datastore to clone disk. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_datastore { @@ -2483,7 +2483,7 @@ sub get_datastore { # Sets the given value for 'datastore' property. # # @param datastore - New value for the field. -# Destination datastore to clone disk. This *field* was added in vSphere API 7.0.0. +# Destination datastore to clone disk. This *field* was added in vSphere API 7.0.0.0. # sub set_datastore { my ($self, %args) = @_; @@ -2500,7 +2500,7 @@ sub set_datastore { # # The ``Com::Vmware::Vcenter::VM::ClonePlacementSpec`` *class* contains information # used to place a clone of a virtual machine onto resources within the vCenter -# inventory. This *class* was added in vSphere API 7.0.0. +# inventory. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::VM::ClonePlacementSpec; @@ -2550,7 +2550,7 @@ sub new { # # @retval folder - The current value of the field. # Virtual machine folder into which the cloned virtual machine should be placed. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_folder { @@ -2563,7 +2563,7 @@ sub get_folder { # # @param folder - New value for the field. # Virtual machine folder into which the cloned virtual machine should be placed. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_folder { my ($self, %args) = @_; @@ -2576,7 +2576,7 @@ sub set_folder { # # @retval resource_pool - The current value of the field. # Resource pool into which the cloned virtual machine should be placed. This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # Optional# sub get_resource_pool { @@ -2589,7 +2589,7 @@ sub get_resource_pool { # # @param resource_pool - New value for the field. # Resource pool into which the cloned virtual machine should be placed. This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # sub set_resource_pool { my ($self, %args) = @_; @@ -2611,7 +2611,7 @@ sub set_resource_pool { # If ``host`` and ``cluster`` are both specified, ``host`` must be a member of # ``cluster`` .

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_host { @@ -2633,7 +2633,7 @@ sub get_host { # If ``host`` and ``cluster`` are both specified, ``host`` must be a member of # ``cluster`` .

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_host { my ($self, %args) = @_; @@ -2655,7 +2655,7 @@ sub set_host { # If ``cluster`` and ``host`` are both specified, ``host`` must be a member of # ``cluster`` .

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_cluster { @@ -2677,7 +2677,7 @@ sub get_cluster { # If ``cluster`` and ``host`` are both specified, ``host`` must be a member of # ``cluster`` .

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_cluster { my ($self, %args) = @_; @@ -2692,7 +2692,7 @@ sub set_cluster { # Datastore on which the cloned virtual machine's configuration state should be # stored. This datastore will also be used for any virtual disks that are created as # part of the virtual machine clone operation unless individually overridden. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_datastore { @@ -2707,7 +2707,7 @@ sub get_datastore { # Datastore on which the cloned virtual machine's configuration state should be # stored. This datastore will also be used for any virtual disks that are created as # part of the virtual machine clone operation unless individually overridden. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_datastore { my ($self, %args) = @_; @@ -2722,7 +2722,7 @@ sub set_datastore { ## @class Com::Vmware::Vcenter::VM::CloneSpec # # -# Document-based clone spec. This *class* was added in vSphere API 7.0.0. +# Document-based clone spec. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::VM::CloneSpec; @@ -2775,7 +2775,7 @@ sub new { # Gets the value of 'source' property. # # @retval source - The current value of the field. -# Virtual machine to clone from. This *field* was added in vSphere API 7.0.0. +# Virtual machine to clone from. This *field* was added in vSphere API 7.0.0.0. # # ID# sub get_source { @@ -2787,7 +2787,7 @@ sub get_source { # Sets the given value for 'source' property. # # @param source - New value for the field. -# Virtual machine to clone from. This *field* was added in vSphere API 7.0.0. +# Virtual machine to clone from. This *field* was added in vSphere API 7.0.0.0. # sub set_source { my ($self, %args) = @_; @@ -2799,7 +2799,7 @@ sub set_source { # Gets the value of 'name' property. # # @retval name - The current value of the field. -# Virtual machine name. This *field* was added in vSphere API 7.0.0. +# Virtual machine name. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_name { @@ -2811,7 +2811,7 @@ sub get_name { # Sets the given value for 'name' property. # # @param name - New value for the field. -# Virtual machine name. This *field* was added in vSphere API 7.0.0. +# Virtual machine name. This *field* was added in vSphere API 7.0.0.0. # sub set_name { my ($self, %args) = @_; @@ -2823,7 +2823,8 @@ sub set_name { # Gets the value of 'placement' property. # # @retval placement - The current value of the field. -# Virtual machine placement information. This *field* was added in vSphere API 7.0.0. +# Virtual machine placement information. This *field* was added in vSphere API +# 7.0.0.0. # # Optional# sub get_placement { @@ -2835,7 +2836,8 @@ sub get_placement { # Sets the given value for 'placement' property. # # @param placement - New value for the field. -# Virtual machine placement information. This *field* was added in vSphere API 7.0.0. +# Virtual machine placement information. This *field* was added in vSphere API +# 7.0.0.0. # sub set_placement { my ($self, %args) = @_; @@ -2847,7 +2849,7 @@ sub set_placement { # Gets the value of 'disks_to_remove' property. # # @retval disks_to_remove - The current value of the field. -# Set of Disks to Remove. This *field* was added in vSphere API 7.0.0. +# Set of Disks to Remove. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_disks_to_remove { @@ -2859,7 +2861,7 @@ sub get_disks_to_remove { # Sets the given value for 'disks_to_remove' property. # # @param disks_to_remove - New value for the field. -# Set of Disks to Remove. This *field* was added in vSphere API 7.0.0. +# Set of Disks to Remove. This *field* was added in vSphere API 7.0.0.0. # sub set_disks_to_remove { my ($self, %args) = @_; @@ -2871,7 +2873,7 @@ sub set_disks_to_remove { # Gets the value of 'disks_to_update' property. # # @retval disks_to_update - The current value of the field. -# Map of Disks to Update. This *field* was added in vSphere API 7.0.0. +# Map of Disks to Update. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_disks_to_update { @@ -2883,7 +2885,7 @@ sub get_disks_to_update { # Sets the given value for 'disks_to_update' property. # # @param disks_to_update - New value for the field. -# Map of Disks to Update. This *field* was added in vSphere API 7.0.0. +# Map of Disks to Update. This *field* was added in vSphere API 7.0.0.0. # sub set_disks_to_update { my ($self, %args) = @_; @@ -2896,7 +2898,7 @@ sub set_disks_to_update { # # @retval power_on - The current value of the field. # Attempt to perform a :attr:`Com::Vmware::Vcenter::VM::CloneSpec.power_on` after -# clone. This *field* was added in vSphere API 7.0.0. +# clone. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_power_on { @@ -2909,7 +2911,7 @@ sub get_power_on { # # @param power_on - New value for the field. # Attempt to perform a :attr:`Com::Vmware::Vcenter::VM::CloneSpec.power_on` after -# clone. This *field* was added in vSphere API 7.0.0. +# clone. This *field* was added in vSphere API 7.0.0.0. # sub set_power_on { my ($self, %args) = @_; @@ -2922,7 +2924,7 @@ sub set_power_on { # # @retval guest_customization_spec - The current value of the field. # Guest customization spec to apply to the virtual machine after the virtual machine is -# deployed. This *field* was added in vSphere API 7.0.0. +# deployed. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_guest_customization_spec { @@ -2935,7 +2937,7 @@ sub get_guest_customization_spec { # # @param guest_customization_spec - New value for the field. # Guest customization spec to apply to the virtual machine after the virtual machine is -# deployed. This *field* was added in vSphere API 7.0.0. +# deployed. This *field* was added in vSphere API 7.0.0.0. # sub set_guest_customization_spec { my ($self, %args) = @_; @@ -2950,7 +2952,7 @@ sub set_guest_customization_spec { ## @class Com::Vmware::Vcenter::VM::DiskRelocateSpec # # -# Document-based disk relocate spec. This *class* was added in vSphere API 7.0.0. +# Document-based disk relocate spec. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::VM::DiskRelocateSpec; @@ -2991,7 +2993,8 @@ sub new { # Gets the value of 'datastore' property. # # @retval datastore - The current value of the field. -# Destination datastore to relocate disk. This *field* was added in vSphere API 7.0.0. +# Destination datastore to relocate disk. This *field* was added in vSphere API +# 7.0.0.0. # # Optional# sub get_datastore { @@ -3003,7 +3006,8 @@ sub get_datastore { # Sets the given value for 'datastore' property. # # @param datastore - New value for the field. -# Destination datastore to relocate disk. This *field* was added in vSphere API 7.0.0. +# Destination datastore to relocate disk. This *field* was added in vSphere API +# 7.0.0.0. # sub set_datastore { my ($self, %args) = @_; @@ -3020,7 +3024,7 @@ sub set_datastore { # # The ``Com::Vmware::Vcenter::VM::RelocatePlacementSpec`` *class* contains # information used to change the placement of an existing virtual machine within the -# vCenter inventory. This *class* was added in vSphere API 7.0.0. +# vCenter inventory. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::VM::RelocatePlacementSpec; @@ -3070,7 +3074,7 @@ sub new { # # @retval folder - The current value of the field. # Virtual machine folder into which the virtual machine should be placed. This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # Optional# sub get_folder { @@ -3083,7 +3087,7 @@ sub get_folder { # # @param folder - New value for the field. # Virtual machine folder into which the virtual machine should be placed. This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # sub set_folder { my ($self, %args) = @_; @@ -3096,7 +3100,7 @@ sub set_folder { # # @retval resource_pool - The current value of the field. # Resource pool into which the virtual machine should be placed. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # # Optional# sub get_resource_pool { @@ -3109,7 +3113,7 @@ sub get_resource_pool { # # @param resource_pool - New value for the field. # Resource pool into which the virtual machine should be placed. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # sub set_resource_pool { my ($self, %args) = @_; @@ -3131,7 +3135,7 @@ sub set_resource_pool { # If ``host`` and ``cluster`` are both specified, ``host`` must be a member of # ``cluster`` .

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_host { @@ -3153,7 +3157,7 @@ sub get_host { # If ``host`` and ``cluster`` are both specified, ``host`` must be a member of # ``cluster`` .

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_host { my ($self, %args) = @_; @@ -3175,7 +3179,7 @@ sub set_host { # If ``cluster`` and ``host`` are both specified, ``host`` must be a member of # ``cluster`` .

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_cluster { @@ -3197,7 +3201,7 @@ sub get_cluster { # If ``cluster`` and ``host`` are both specified, ``host`` must be a member of # ``cluster`` .

    # -# . This *field* was added in vSphere API 7.0.0. +# . This *field* was added in vSphere API 7.0.0.0. # sub set_cluster { my ($self, %args) = @_; @@ -3212,7 +3216,7 @@ sub set_cluster { # Datastore on which the virtual machine's configuration state should be stored. # This datastore will also be used for any virtual disks that are associated with the # virtual machine, unless individually overridden. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # # Optional# sub get_datastore { @@ -3227,7 +3231,7 @@ sub get_datastore { # Datastore on which the virtual machine's configuration state should be stored. # This datastore will also be used for any virtual disks that are associated with the # virtual machine, unless individually overridden. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # sub set_datastore { my ($self, %args) = @_; @@ -3242,7 +3246,7 @@ sub set_datastore { ## @class Com::Vmware::Vcenter::VM::RelocateSpec # # -# Document-based relocate spec. This *class* was added in vSphere API 7.0.0. +# Document-based relocate spec. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::VM::RelocateSpec; @@ -3285,7 +3289,8 @@ sub new { # Gets the value of 'placement' property. # # @retval placement - The current value of the field. -# Virtual machine placement information. This *field* was added in vSphere API 7.0.0. +# Virtual machine placement information. This *field* was added in vSphere API +# 7.0.0.0. # # Optional# sub get_placement { @@ -3297,7 +3302,8 @@ sub get_placement { # Sets the given value for 'placement' property. # # @param placement - New value for the field. -# Virtual machine placement information. This *field* was added in vSphere API 7.0.0. +# Virtual machine placement information. This *field* was added in vSphere API +# 7.0.0.0. # sub set_placement { my ($self, %args) = @_; @@ -3309,7 +3315,7 @@ sub set_placement { # Gets the value of 'disks' property. # # @retval disks - The current value of the field. -# Individual disk relocation map. This *field* was added in vSphere API 7.0.0. +# Individual disk relocation map. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_disks { @@ -3321,7 +3327,7 @@ sub get_disks { # Sets the given value for 'disks' property. # # @param disks - New value for the field. -# Individual disk relocation map. This *field* was added in vSphere API 7.0.0. +# Individual disk relocation map. This *field* was added in vSphere API 7.0.0.0. # sub set_disks { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Vm/Console/Tickets.pm b/lib/sdk/Com/Vmware/Vcenter/Vm/Console/Tickets.pm index 715669d8..7ce0aa7d 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Vm/Console/Tickets.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Vm/Console/Tickets.pm @@ -12,12 +12,8 @@ ## @class Com::Vmware::Vcenter::Vm::Console::Tickets # The ``Com::Vmware::Vcenter::Vm::Console::Tickets`` *interface* provides *methods* -# for managing the virtual machine console tickets. Warning: This *interface* -# is available as Technology Preview. These are early access APIs provided to test, -# automate and provide feedback on the feature. Since this can change based on feedback, -# VMware does not guarantee backwards compatibility and recommends against using them in -# production environments. Some Technology Preview APIs might only be applicable to -# specific environments. +# for managing the virtual machine console tickets. This *interface* was added in +# vSphere API 7.0.0.2. # package Com::Vmware::Vcenter::Vm::Console::Tickets; @@ -87,11 +83,7 @@ sub new { # https://www.vmware.com/support/developer/html-console This ticket can be acquired only # when the VM is turned on.

    # -# . Warning: This *method* is available as Technology Preview. These are early -# access APIs provided to test, automate and provide feedback on the feature. Since this can -# change based on feedback, VMware does not guarantee backwards compatibility and recommends -# against using them in production environments. Some Technology Preview APIs might only be -# applicable to specific environments. +# . This *method* was added in vSphere API 7.0.0.2. # # @param vm [REQUIRED] Virtual machine identifier. # The value must be an identifier for the resource type @@ -152,29 +144,15 @@ sub create { ## @class Com::Vmware::Vcenter::Vm::Console::Tickets::Type # # The ``Com::Vmware::Vcenter::Vm::Console::Tickets::Type`` *enumerated type* defines -# the types of console tickets. Warning: This *enumeration* is available as -# Technology Preview. These are early access APIs provided to test, automate and provide -# feedback on the feature. Since this can change based on feedback, VMware does not -# guarantee backwards compatibility and recommends against using them in production -# environments. Some Technology Preview APIs might only be applicable to specific -# environments. +# the types of console tickets. This *enumeration* was added in vSphere API 7.0.0.2. # # # # Constant Com::Vmware::Vcenter::Vm::Console::Tickets::Type::VMRC # -#Virtual machine remote console ticket. Warning: This *constant* is available as -# Technology Preview. These are early access APIs provided to test, automate and provide -# feedback on the feature. Since this can change based on feedback, VMware does not -# guarantee backwards compatibility and recommends against using them in production -# environments. Some Technology Preview APIs might only be applicable to specific -# environments. +#Virtual machine remote console ticket. This *constant* was added in vSphere API 7.0.0.2. # # Constant Com::Vmware::Vcenter::Vm::Console::Tickets::Type::WEBMKS # -#Web socket console ticket. Warning: This *constant* is available as Technology -# Preview. These are early access APIs provided to test, automate and provide feedback on -# the feature. Since this can change based on feedback, VMware does not guarantee backwards -# compatibility and recommends against using them in production environments. Some -# Technology Preview APIs might only be applicable to specific environments. +#Web socket console ticket. This *constant* was added in vSphere API 7.0.0.2. package Com::Vmware::Vcenter::Vm::Console::Tickets::Type; @@ -222,12 +200,8 @@ sub new { # # # The ``Com::Vmware::Vcenter::Vm::Console::Tickets::CreateSpec`` *class* defines the -# information used to create the virtual machine console ticket. Warning: This -# *class* is available as Technology Preview. These are early access APIs provided to -# test, automate and provide feedback on the feature. Since this can change based on -# feedback, VMware does not guarantee backwards compatibility and recommends against -# using them in production environments. Some Technology Preview APIs might only be -# applicable to specific environments. +# information used to create the virtual machine console ticket. This *class* was +# added in vSphere API 7.0.0.2. package Com::Vmware::Vcenter::Vm::Console::Tickets::CreateSpec; @@ -268,12 +242,8 @@ sub new { # Gets the value of 'type' property. # # @retval type - The current value of the field. -# The type of virtual machine console ticket. Warning: This *field* is -# available as Technology Preview. These are early access APIs provided to test, -# automate and provide feedback on the feature. Since this can change based on feedback, -# VMware does not guarantee backwards compatibility and recommends against using them in -# production environments. Some Technology Preview APIs might only be applicable to -# specific environments. +# The type of virtual machine console ticket. This *field* was added in vSphere API +# 7.0.0.2. # # Type# sub get_type { @@ -285,12 +255,8 @@ sub get_type { # Sets the given value for 'type' property. # # @param type - New value for the field. -# The type of virtual machine console ticket. Warning: This *field* is -# available as Technology Preview. These are early access APIs provided to test, -# automate and provide feedback on the feature. Since this can change based on feedback, -# VMware does not guarantee backwards compatibility and recommends against using them in -# production environments. Some Technology Preview APIs might only be applicable to -# specific environments. +# The type of virtual machine console ticket. This *field* was added in vSphere API +# 7.0.0.2. # sub set_type { my ($self, %args) = @_; @@ -306,12 +272,8 @@ sub set_type { # # # The ``Com::Vmware::Vcenter::Vm::Console::Tickets::Summary`` *class* contains -# commonly used information about the virtual machine console ticket. Warning: -# This *class* is available as Technology Preview. These are early access APIs -# provided to test, automate and provide feedback on the feature. Since this can change -# based on feedback, VMware does not guarantee backwards compatibility and recommends -# against using them in production environments. Some Technology Preview APIs might only -# be applicable to specific environments. +# commonly used information about the virtual machine console ticket. This *class* was +# added in vSphere API 7.0.0.2. package Com::Vmware::Vcenter::Vm::Console::Tickets::Summary; @@ -352,11 +314,7 @@ sub new { # Gets the value of 'ticket' property. # # @retval ticket - The current value of the field. -# Console ticket URI. Warning: This *field* is available as Technology Preview. -# These are early access APIs provided to test, automate and provide feedback on the -# feature. Since this can change based on feedback, VMware does not guarantee backwards -# compatibility and recommends against using them in production environments. Some -# Technology Preview APIs might only be applicable to specific environments. +# Console ticket URI. This *field* was added in vSphere API 7.0.0.2. # # URI# sub get_ticket { @@ -368,11 +326,7 @@ sub get_ticket { # Sets the given value for 'ticket' property. # # @param ticket - New value for the field. -# Console ticket URI. Warning: This *field* is available as Technology Preview. -# These are early access APIs provided to test, automate and provide feedback on the -# feature. Since this can change based on feedback, VMware does not guarantee backwards -# compatibility and recommends against using them in production environments. Some -# Technology Preview APIs might only be applicable to specific environments. +# Console ticket URI. This *field* was added in vSphere API 7.0.0.2. # sub set_ticket { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Customization.pm b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Customization.pm index 730bdcde..5ba5a240 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Customization.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Customization.pm @@ -14,7 +14,7 @@ ## @class Com::Vmware::Vcenter::Vm::Guest::Customization # The ``Com::Vmware::Vcenter::Vm::Guest::Customization`` *interface* provides # *methods* to apply a customization specification to a virtual machine. This -# *interface* was added in vSphere API 7.0.0. +# *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Vm::Guest::Customization; @@ -72,7 +72,7 @@ sub new { # ``spec`` has *null* values, then any pending customization settings for the virtual # machine are cleared. If there is a pending customization for the virtual machine and # ``spec`` has valid content, then the existing customization setting will be overwritten -# with the new settings. This *method* was added in vSphere API 7.0.0. +# with the new settings. This *method* was added in vSphere API 7.0.0.0. # # @param vm [REQUIRED] The unique identifier of the virtual machine that needs to be customized. # The value must be an identifier for the resource type @@ -135,7 +135,7 @@ sub set { # # The ``Com::Vmware::Vcenter::Vm::Guest::Customization::SetSpec`` *class* contains # specification information that has to be applied to a virtual machine. This *class* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Guest::Customization::SetSpec; @@ -181,7 +181,7 @@ sub new { # The name of the customization specification that has be retrieved from the virtual # center inventory and applied for the virtual machine. Either one of ``name`` or # ``spec`` or none of them should be specified. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_name { @@ -196,7 +196,7 @@ sub get_name { # The name of the customization specification that has be retrieved from the virtual # center inventory and applied for the virtual machine. Either one of ``name`` or # ``spec`` or none of them should be specified. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_name { my ($self, %args) = @_; @@ -210,7 +210,7 @@ sub set_name { # @retval spec - The current value of the field. # The customization specification that has to be applied for the virtual machine. Either # one of ``name`` or ``spec`` or none of them should be specified. This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # Optional# sub get_spec { @@ -224,7 +224,7 @@ sub get_spec { # @param spec - New value for the field. # The customization specification that has to be applied for the virtual machine. Either # one of ``name`` or ``spec`` or none of them should be specified. This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # sub set_spec { my ($self, %args) = @_; @@ -236,6 +236,238 @@ sub set_spec { 1; +## @class Com::Vmware::Vcenter::Vm::Guest::Customization::Info +# +# +# The ``Com::Vmware::Vcenter::Vm::Guest::Customization::Info`` *class* contains the +# status of a customization operation applied to a virtual machine. This *class* was +# added in vSphere API 7.0.0.0. + +package Com::Vmware::Vcenter::Vm::Guest::Customization::Info; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiStruct); + +# +# vApi modules +# +use Com::Vmware::Vapi::Data::UnionValidator; + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Vm::Guest::Customization::Info structure +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $validatorList = []; + + $validatorList = [ + new Com::Vmware::Vapi::Data::UnionValidator( + 'discriminant_name' => 'status', + 'case_map' => { + 'FAILED' => ['error', 'start_time', 'end_time'], + 'RUNNING' => ['start_time'], + 'SUCCEEDED' => ['start_time', 'end_time'], + 'PENDING' => [], + }), + ]; + + + my $self = $class->SUPER::new('validator_list' => $validatorList, %args); + $self->{status} = $args{'status'}; + $self->{error} = $args{'error'}; + $self->{start_time} = $args{'start_time'}; + $self->{end_time} = $args{'end_time'}; + + $self->set_binding_class('binding_class' => 'Com::Vmware::Vcenter::Vm::Guest::Customization::Info'); + $self->set_binding_name('name' => 'com.vmware.vcenter.vm.guest.customization.info'); + $self->set_binding_field('key' => 'status', 'value' => new Com::Vmware::Vapi::Bindings::Type::ReferenceType('module_ctx' => 'Com::Vmware::Vcenter::Vm::Guest', 'type_name' => 'Customization::Info::Status')); + $self->set_binding_field('key' => 'error', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::StringType())); + $self->set_binding_field('key' => 'start_time', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::DateTimeType())); + $self->set_binding_field('key' => 'end_time', 'value' => new Com::Vmware::Vapi::Bindings::Type::OptionalType('element_type' => new Com::Vmware::Vapi::Bindings::Type::DateTimeType())); + bless $self, $class; + return $self; +} + +## @method get_status () +# Gets the value of 'status' property. +# +# @retval status - The current value of the field. +# The status of the customization operation. This *field* was added in vSphere API +# 7.0.0.0. +# +# Status# +sub get_status { + my ($self, %args) = @_; + return $self->{'status'}; +} + +## @method set_status () +# Sets the given value for 'status' property. +# +# @param status - New value for the field. +# The status of the customization operation. This *field* was added in vSphere API +# 7.0.0.0. +# +sub set_status { + my ($self, %args) = @_; + $self->{'status'} = $args{'status'}; + return; +} + +## @method get_error () +# Gets the value of 'error' property. +# +# @retval error - The current value of the field. +# Description of the error if the +# :attr:`Com::Vmware::Vcenter::Vm::Guest::Customization::Info.status` of customization +# operation is +# :attr:`Com::Vmware::Vcenter::Vm::Guest::Customization::Info::Status.FAILED` . This +# *field* was added in vSphere API 7.0.0.0. +# +# Optional# +sub get_error { + my ($self, %args) = @_; + return $self->{'error'}; +} + +## @method set_error () +# Sets the given value for 'error' property. +# +# @param error - New value for the field. +# Description of the error if the +# :attr:`Com::Vmware::Vcenter::Vm::Guest::Customization::Info.status` of customization +# operation is +# :attr:`Com::Vmware::Vcenter::Vm::Guest::Customization::Info::Status.FAILED` . This +# *field* was added in vSphere API 7.0.0.0. +# +sub set_error { + my ($self, %args) = @_; + $self->{'error'} = $args{'error'}; + return; +} + +## @method get_start_time () +# Gets the value of 'start_time' property. +# +# @retval start_time - The current value of the field. +# Time when the customization process has started inside the guest operating system. +# This *field* was added in vSphere API 7.0.0.0. +# +# Optional# +sub get_start_time { + my ($self, %args) = @_; + return $self->{'start_time'}; +} + +## @method set_start_time () +# Sets the given value for 'start_time' property. +# +# @param start_time - New value for the field. +# Time when the customization process has started inside the guest operating system. +# This *field* was added in vSphere API 7.0.0.0. +# +sub set_start_time { + my ($self, %args) = @_; + $self->{'start_time'} = $args{'start_time'}; + return; +} + +## @method get_end_time () +# Gets the value of 'end_time' property. +# +# @retval end_time - The current value of the field. +# Time when the customization process has completed inside the guest operating system. +# This *field* was added in vSphere API 7.0.0.0. +# +# Optional# +sub get_end_time { + my ($self, %args) = @_; + return $self->{'end_time'}; +} + +## @method set_end_time () +# Sets the given value for 'end_time' property. +# +# @param end_time - New value for the field. +# Time when the customization process has completed inside the guest operating system. +# This *field* was added in vSphere API 7.0.0.0. +# +sub set_end_time { + my ($self, %args) = @_; + $self->{'end_time'} = $args{'end_time'}; + return; +} + + +1; + + +## @class Com::Vmware::Vcenter::Vm::Guest::Customization::Info::Status +# +# The ``Com::Vmware::Vcenter::Vm::Guest::Customization::Info::Status`` *enumerated +# type* defines the status values that can be reported for the customization operation. +# This *enumeration* was added in vSphere API 7.0.0.0. +# +# +# +# Constant Com::Vmware::Vcenter::Vm::Guest::Customization::Info::Status::PENDING # +#The customization process has not yet started inside the guest operating system. This +# *constant* was added in vSphere API 7.0.0.0. +# +# Constant Com::Vmware::Vcenter::Vm::Guest::Customization::Info::Status::RUNNING # +#The customization process is currently running inside the guest operating system. This +# *constant* was added in vSphere API 7.0.0.0. +# +# Constant Com::Vmware::Vcenter::Vm::Guest::Customization::Info::Status::SUCCEEDED # +#The customization process has completed successfully inside the guest operating system. +# This *constant* was added in vSphere API 7.0.0.0. +# +# Constant Com::Vmware::Vcenter::Vm::Guest::Customization::Info::Status::FAILED # +#The customizatio process has failed inside the guest operating system. This *constant* +# was added in vSphere API 7.0.0.0. + +package Com::Vmware::Vcenter::Vm::Guest::Customization::Info::Status; + +use constant { + PENDING => 'PENDING', + RUNNING => 'RUNNING', + SUCCEEDED => 'SUCCEEDED', + FAILED => 'FAILED', +}; + +# +# Base class +# +use base qw(Com::Vmware::Vapi::Bindings::VapiEnum); + +## @method new () +# Constructor to initialize the Com::Vmware::Vcenter::Vm::Guest::Customization::Info::Status enumeration. +# +# @retval +# Blessed object +# +sub new { + my ($class, %args) = @_; + $class = ref($class) || $class; + my $self = $class->SUPER::new(); + my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType( + 'name' => 'com.vmware.vcenter.vm.guest.customization.info.status', + 'binding_class' => 'Com::Vmware::Vcenter::Vm::Guest::Customization::Info::Status'); + $class->SUPER::set_binding_type('binding_type' => $bindingType); + + bless $self, $class; + return $self; +} + +1; + + ######################################################################################### # Ends structures for the Com::Vmware::Vcenter::Vm::Guest::Customization service diff --git a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/DhcpConfigInfo.pm b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/DhcpConfigInfo.pm index 453fe745..302444d7 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/DhcpConfigInfo.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/DhcpConfigInfo.pm @@ -3,7 +3,7 @@ # # The ``Com::Vmware::Vcenter::Vm::Guest::DhcpConfigInfo`` *class* specifies when # Dynamic Host Configuration Protocol is enabled. This *class* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Guest::DhcpConfigInfo; @@ -47,7 +47,7 @@ sub new { # # @retval ipv4_enabled - The current value of the field. # True if IPv4 DHCP is enabled, false otherwise. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # boolean# sub get_ipv4_enabled { @@ -60,7 +60,7 @@ sub get_ipv4_enabled { # # @param ipv4_enabled - New value for the field. # True if IPv4 DHCP is enabled, false otherwise. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_ipv4_enabled { my ($self, %args) = @_; @@ -73,7 +73,7 @@ sub set_ipv4_enabled { # # @retval ipv6_enabled - The current value of the field. # True if IPv6 DHCP is enabled, false otherwise. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # boolean# sub get_ipv6_enabled { @@ -86,7 +86,7 @@ sub get_ipv6_enabled { # # @param ipv6_enabled - New value for the field. # True if IPv6 DHCP is enabled, false otherwise. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_ipv6_enabled { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/DnsAssignedValues.pm b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/DnsAssignedValues.pm index 7589347f..5a435292 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/DnsAssignedValues.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/DnsAssignedValues.pm @@ -2,7 +2,7 @@ # # # The {@name DnsAssignedValues) *class* describes values assigned by a Domain Name -# Server (DNS). This *class* was added in vSphere API 7.0.0. +# Server (DNS). This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Guest::DnsAssignedValues; @@ -46,7 +46,7 @@ sub new { # # @retval host_name - The current value of the field. # The host name portion of DNS name. For example, "esx01" part of -# esx01.example.com. This *field* was added in vSphere API 7.0.0. +# esx01.example.com. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_host_name { @@ -59,7 +59,7 @@ sub get_host_name { # # @param host_name - New value for the field. # The host name portion of DNS name. For example, "esx01" part of -# esx01.example.com. This *field* was added in vSphere API 7.0.0. +# esx01.example.com. This *field* was added in vSphere API 7.0.0.0. # sub set_host_name { my ($self, %args) = @_; @@ -72,7 +72,7 @@ sub set_host_name { # # @retval domain_name - The current value of the field. # The domain name portion of the DNS name. "example.com" part of -# esx01.example.com. This *field* was added in vSphere API 7.0.0. +# esx01.example.com. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_domain_name { @@ -85,7 +85,7 @@ sub get_domain_name { # # @param domain_name - New value for the field. # The domain name portion of the DNS name. "example.com" part of -# esx01.example.com. This *field* was added in vSphere API 7.0.0. +# esx01.example.com. This *field* was added in vSphere API 7.0.0.0. # sub set_domain_name { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/DnsConfigInfo.pm b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/DnsConfigInfo.pm index 5343c6ec..1f1cce00 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/DnsConfigInfo.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/DnsConfigInfo.pm @@ -2,7 +2,8 @@ # # # The ``Com::Vmware::Vcenter::Vm::Guest::DnsConfigInfo`` *class* describes the -# configuration of RFC 1034 DNS settings. This *class* was added in vSphere API 7.0.0. +# configuration of RFC 1034 DNS settings. This *class* was added in vSphere API +# 7.0.0.0. package Com::Vmware::Vcenter::Vm::Guest::DnsConfigInfo; @@ -51,7 +52,7 @@ sub new { # colon separates each field (:). For example, 2001:DB8:101::230:6eff:fe04:d9ff. The # address can also consist of the symbol '::' to represent multiple 16-bit # groups of contiguous 0's only once in an address as described in RFC 2373. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # List# sub get_ip_addresses { @@ -69,7 +70,7 @@ sub get_ip_addresses { # colon separates each field (:). For example, 2001:DB8:101::230:6eff:fe04:d9ff. The # address can also consist of the symbol '::' to represent multiple 16-bit # groups of contiguous 0's only once in an address as described in RFC 2373. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_ip_addresses { my ($self, %args) = @_; @@ -82,7 +83,7 @@ sub set_ip_addresses { # # @retval search_domains - The current value of the field. # The domain in which to search for hosts, placed in order of preference. These are the -# domain name portion of the DNS names. This *field* was added in vSphere API 7.0.0. +# domain name portion of the DNS names. This *field* was added in vSphere API 7.0.0.0. # # List# sub get_search_domains { @@ -95,7 +96,7 @@ sub get_search_domains { # # @param search_domains - New value for the field. # The domain in which to search for hosts, placed in order of preference. These are the -# domain name portion of the DNS names. This *field* was added in vSphere API 7.0.0. +# domain name portion of the DNS names. This *field* was added in vSphere API 7.0.0.0. # sub set_search_domains { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/LocalFilesystem.pm b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/LocalFilesystem.pm index 88480e9f..958a536f 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/LocalFilesystem.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/LocalFilesystem.pm @@ -120,7 +120,7 @@ sub get { # # # Describes the virtual disk backing a local guest disk. This *class* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Guest::LocalFilesystem::VirtualDiskMapping; @@ -161,7 +161,7 @@ sub new { # Gets the value of 'disk' property. # # @retval disk - The current value of the field. -# The virtual disk. This *field* was added in vSphere API 7.0.0. +# The virtual disk. This *field* was added in vSphere API 7.0.0.0. # # ID# sub get_disk { @@ -173,7 +173,7 @@ sub get_disk { # Sets the given value for 'disk' property. # # @param disk - New value for the field. -# The virtual disk. This *field* was added in vSphere API 7.0.0. +# The virtual disk. This *field* was added in vSphere API 7.0.0.0. # sub set_disk { my ($self, %args) = @_; @@ -288,7 +288,7 @@ sub set_free_space { # # @retval filesystem - The current value of the field. # Filesystem type, if known. For example, ext3 or NTFS. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_filesystem { @@ -301,7 +301,7 @@ sub get_filesystem { # # @param filesystem - New value for the field. # Filesystem type, if known. For example, ext3 or NTFS. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_filesystem { my ($self, %args) = @_; @@ -314,7 +314,7 @@ sub set_filesystem { # # @retval mappings - The current value of the field. # VirtualDisks backing the guest partition, if known. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # optional# sub get_mappings { @@ -327,7 +327,7 @@ sub get_mappings { # # @param mappings - New value for the field. # VirtualDisks backing the guest partition, if known. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_mappings { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Networking.pm b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Networking.pm index cf2dabb0..8f5f7a57 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Networking.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Networking.pm @@ -13,7 +13,7 @@ ## @class Com::Vmware::Vcenter::Vm::Guest::Networking # The ``Com::Vmware::Vcenter::Vm::Guest::Networking`` *interface* provides # *methods* for retrieving guest operating system network information. This -# *interface* was added in vSphere API 7.0.0. +# *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Vm::Guest::Networking; @@ -66,7 +66,7 @@ sub new { ## @method get () # Returns information about the network configuration in the guest operating system. This -# *method* was added in vSphere API 7.0.0. +# *method* was added in vSphere API 7.0.0.0. # # @param vm [REQUIRED] Virtual machine ID # The value must be an identifier for the resource type @@ -118,7 +118,7 @@ sub get { # # The ``Com::Vmware::Vcenter::Vm::Guest::Networking::Info`` *class* contains # information about networking as configured in the guest operating system. This -# *class* was added in vSphere API 7.0.0. +# *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Guest::Networking::Info; @@ -162,7 +162,7 @@ sub new { # # @retval dns_values - The current value of the field. # Client DNS values. Data assigned by DNS. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_dns_values { @@ -175,7 +175,7 @@ sub get_dns_values { # # @param dns_values - New value for the field. # Client DNS values. Data assigned by DNS. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_dns_values { my ($self, %args) = @_; @@ -188,7 +188,7 @@ sub set_dns_values { # # @retval dns - The current value of the field. # Client DNS configuration. How DNS queries are resolved. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_dns { @@ -201,7 +201,7 @@ sub get_dns { # # @param dns - New value for the field. # Client DNS configuration. How DNS queries are resolved. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_dns { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Networking/Interfaces.pm b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Networking/Interfaces.pm index 5b0031cd..63284434 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Networking/Interfaces.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Networking/Interfaces.pm @@ -14,7 +14,7 @@ ## @class Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces # The ``Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces`` *interface* # provides *methods* for retrieving guest operating system network interface -# information. This *interface* was added in vSphere API 7.0.0. +# information. This *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces; @@ -67,7 +67,7 @@ sub new { ## @method list () # Returns information about the networking interfaces in the guest operating system. This -# *method* was added in vSphere API 7.0.0. +# *method* was added in vSphere API 7.0.0.0. # # @param vm [REQUIRED] Virtual machine ID # The value must be an identifier for the resource type @@ -110,28 +110,29 @@ sub list { # # The ``Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressOrigin`` # *enumerated type* specifies how an IP address was obtained for an interface. See RFC -# 4293 IpAddressOriginTC. This *enumeration* was added in vSphere API 7.0.0. +# 4293 IpAddressOriginTC. This *enumeration* was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressOrigin::OTHER # #Any other type of address configuration other than the below mentioned ones will fall # under this category. For e.g., automatic address configuration for the link local address -# falls under this type. This *constant* was added in vSphere API 7.0.0. +# falls under this type. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressOrigin::MANUAL # -#The address is configured manually. This *constant* was added in vSphere API 7.0.0. +#The address is configured manually. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressOrigin::DHCP # -#The address is configured through dhcp. This *constant* was added in vSphere API 7.0.0. +#The address is configured through dhcp. This *constant* was added in vSphere API +# 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressOrigin::LINKLAYER # #The address is obtained through stateless autoconfiguration (autoconf). See RFC 4862, IPv6 -# Stateless Address Autoconfiguration. This *constant* was added in vSphere API 7.0.0. +# Stateless Address Autoconfiguration. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressOrigin::RANDOM # #The address is chosen by the system at random e.g., an IPv4 address within 169.254/16, or -# an RFC 3041 privacy address. This *constant* was added in vSphere API 7.0.0. +# an RFC 3041 privacy address. This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressOrigin; @@ -172,36 +173,37 @@ sub new { # # The ``Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressStatus`` # *enumerated type* defines the present status of an address on an interface. See RFC -# 4293 IpAddressStatusTC. This *enumeration* was added in vSphere API 7.0.0. +# 4293 IpAddressStatusTC. This *enumeration* was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressStatus::PREFERRED # -#Indicates that this is a valid address. This *constant* was added in vSphere API 7.0.0. +#Indicates that this is a valid address. This *constant* was added in vSphere API +# 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressStatus::DEPRECATED # #Indicates that this is a valid but deprecated address that should no longer be used as a -# source address. This *constant* was added in vSphere API 7.0.0. +# source address. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressStatus::INVALID # #Indicates that this isn't a valid address. This *constant* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressStatus::INACCESSIBLE # #Indicates that the address is not accessible because interface is not operational. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressStatus::UNKNOWN # #Indicates that the status cannot be determined. This *constant* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressStatus::TENTATIVE # #Indicates that the uniqueness of the address on the link is presently being verified. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressStatus::DUPLICATE # #Indicates the address has been determined to be non-unique on the link, this address will -# not be reachable. This *constant* was added in vSphere API 7.0.0. +# not be reachable. This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressStatus; @@ -255,7 +257,7 @@ sub new { # # The ``Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressInfo`` # *class* describes a specific IP Address. This *class* was added in vSphere API -# 7.0.0. +# 7.0.0.0. package Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpAddressInfo; @@ -307,7 +309,7 @@ sub new { # fields of up to four hexadecimal digits. A colon separates each field (:). For # example, 2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of the symbol # '::' to represent multiple 16-bit groups of contiguous 0's only once in -# an address as described in RFC 2373. This *field* was added in vSphere API 7.0.0. +# an address as described in RFC 2373. This *field* was added in vSphere API 7.0.0.0. # # String# sub get_ip_address { @@ -324,7 +326,7 @@ sub get_ip_address { # fields of up to four hexadecimal digits. A colon separates each field (:). For # example, 2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of the symbol # '::' to represent multiple 16-bit groups of contiguous 0's only once in -# an address as described in RFC 2373. This *field* was added in vSphere API 7.0.0. +# an address as described in RFC 2373. This *field* was added in vSphere API 7.0.0.0. # sub set_ip_address { my ($self, %args) = @_; @@ -340,7 +342,7 @@ sub set_ip_address { # valid range of values is 0-32 for IPv4, and 0-128 for IPv6. A value of n corresponds # to an IP address mask that has n contiguous 1-bits from the most significant bit # (MSB), with all other bits set to 0. A value of zero is valid only if the calling -# context defines it. This *field* was added in vSphere API 7.0.0. +# context defines it. This *field* was added in vSphere API 7.0.0.0. # # long# sub get_prefix_length { @@ -356,7 +358,7 @@ sub get_prefix_length { # valid range of values is 0-32 for IPv4, and 0-128 for IPv6. A value of n corresponds # to an IP address mask that has n contiguous 1-bits from the most significant bit # (MSB), with all other bits set to 0. A value of zero is valid only if the calling -# context defines it. This *field* was added in vSphere API 7.0.0. +# context defines it. This *field* was added in vSphere API 7.0.0.0. # sub set_prefix_length { my ($self, %args) = @_; @@ -368,7 +370,7 @@ sub set_prefix_length { # Gets the value of 'origin' property. # # @retval origin - The current value of the field. -# How this address was configured. This *field* was added in vSphere API 7.0.0. +# How this address was configured. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_origin { @@ -380,7 +382,7 @@ sub get_origin { # Sets the given value for 'origin' property. # # @param origin - New value for the field. -# How this address was configured. This *field* was added in vSphere API 7.0.0. +# How this address was configured. This *field* was added in vSphere API 7.0.0.0. # sub set_origin { my ($self, %args) = @_; @@ -392,7 +394,7 @@ sub set_origin { # Gets the value of 'state' property. # # @retval state - The current value of the field. -# The state of this ipAddress. This *field* was added in vSphere API 7.0.0. +# The state of this ipAddress. This *field* was added in vSphere API 7.0.0.0. # # IpAddressStatus# sub get_state { @@ -404,7 +406,7 @@ sub get_state { # Sets the given value for 'state' property. # # @param state - New value for the field. -# The state of this ipAddress. This *field* was added in vSphere API 7.0.0. +# The state of this ipAddress. This *field* was added in vSphere API 7.0.0.0. # sub set_state { my ($self, %args) = @_; @@ -421,7 +423,7 @@ sub set_state { # # The ``Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpConfigInfo`` # *class* describes the protocol version independent address reporting data object for -# network interfaces. This *class* was added in vSphere API 7.0.0. +# network interfaces. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::IpConfigInfo; @@ -465,7 +467,7 @@ sub new { # # @retval ip_addresses - The current value of the field. # IP addresses configured on the interface. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # List# sub get_ip_addresses { @@ -478,7 +480,7 @@ sub get_ip_addresses { # # @param ip_addresses - New value for the field. # IP addresses configured on the interface. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_ip_addresses { my ($self, %args) = @_; @@ -490,7 +492,7 @@ sub set_ip_addresses { # Gets the value of 'dhcp' property. # # @retval dhcp - The current value of the field. -# Client side DHCP for an interface. This *field* was added in vSphere API 7.0.0. +# Client side DHCP for an interface. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_dhcp { @@ -502,7 +504,7 @@ sub get_dhcp { # Sets the given value for 'dhcp' property. # # @param dhcp - New value for the field. -# Client side DHCP for an interface. This *field* was added in vSphere API 7.0.0. +# Client side DHCP for an interface. This *field* was added in vSphere API 7.0.0.0. # sub set_dhcp { my ($self, %args) = @_; @@ -519,7 +521,7 @@ sub set_dhcp { # # The ``Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::Info`` *class* # describes a virtual network adapter configured in the guest operating system. This -# *class* was added in vSphere API 7.0.0. +# *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces::Info; @@ -571,7 +573,7 @@ sub new { # # @retval dns_values - The current value of the field. # Client DNS values. Data assigned by DNS. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_dns_values { @@ -584,7 +586,7 @@ sub get_dns_values { # # @param dns_values - New value for the field. # Client DNS values. Data assigned by DNS. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_dns_values { my ($self, %args) = @_; @@ -596,7 +598,7 @@ sub set_dns_values { # Gets the value of 'mac_address' property. # # @retval mac_address - The current value of the field. -# MAC address of the adapter. This *field* was added in vSphere API 7.0.0. +# MAC address of the adapter. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_mac_address { @@ -608,7 +610,7 @@ sub get_mac_address { # Sets the given value for 'mac_address' property. # # @param mac_address - New value for the field. -# MAC address of the adapter. This *field* was added in vSphere API 7.0.0. +# MAC address of the adapter. This *field* was added in vSphere API 7.0.0.0. # sub set_mac_address { my ($self, %args) = @_; @@ -622,7 +624,7 @@ sub set_mac_address { # @retval dns - The current value of the field. # DNS configuration of the adapter. See # :attr:`Com::Vmware::Vcenter::Vm::Guest::Networking::Info.dns` for system wide -# settings. This *field* was added in vSphere API 7.0.0. +# settings. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_dns { @@ -636,7 +638,7 @@ sub get_dns { # @param dns - New value for the field. # DNS configuration of the adapter. See # :attr:`Com::Vmware::Vcenter::Vm::Guest::Networking::Info.dns` for system wide -# settings. This *field* was added in vSphere API 7.0.0. +# settings. This *field* was added in vSphere API 7.0.0.0. # sub set_dns { my ($self, %args) = @_; @@ -649,7 +651,7 @@ sub set_dns { # # @retval ip - The current value of the field. # IP configuration settings of the adapter. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_ip { @@ -662,7 +664,7 @@ sub get_ip { # # @param ip - New value for the field. # IP configuration settings of the adapter. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_ip { my ($self, %args) = @_; @@ -675,7 +677,7 @@ sub set_ip { # # @retval wins_servers - The current value of the field. # The IP addresses of any WINS name servers for the adapter. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Optional# sub get_wins_servers { @@ -688,7 +690,7 @@ sub get_wins_servers { # # @param wins_servers - New value for the field. # The IP addresses of any WINS name servers for the adapter. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_wins_servers { my ($self, %args) = @_; @@ -701,7 +703,7 @@ sub set_wins_servers { # # @retval nic - The current value of the field. # Link to the corresponding virtual device. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Optional# sub get_nic { @@ -714,7 +716,7 @@ sub get_nic { # # @param nic - New value for the field. # Link to the corresponding virtual device. This *field* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # sub set_nic { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Networking/Routes.pm b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Networking/Routes.pm index 95dba0dd..dba67fb2 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Networking/Routes.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Vm/Guest/Networking/Routes.pm @@ -13,7 +13,7 @@ ## @class Com::Vmware::Vcenter::Vm::Guest::Networking::Routes # The ``Com::Vmware::Vcenter::Vm::Guest::Networking::Routes`` *interface* provides # *methods* for retrieving guest operating system network routing information. This -# *interface* was added in vSphere API 7.0.0. +# *interface* was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Vm::Guest::Networking::Routes; @@ -66,7 +66,7 @@ sub new { ## @method list () # Returns information about network routing in the guest operating system. This *method* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # @param vm [REQUIRED] Virtual machine ID # The value must be an identifier for the resource type @@ -118,7 +118,7 @@ sub list { # # The ``Com::Vmware::Vcenter::Vm::Guest::Networking::Routes::Info`` *class* # describes an individual host, network or default destination network reachable through -# a gateway. This *class* was added in vSphere API 7.0.0. +# a gateway. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Guest::Networking::Routes::Info; @@ -171,7 +171,7 @@ sub new { # each field (:). For example, 2001:DB8:101::230:6eff:fe04:d9ff. The address can also # consist of symbol '::' to represent multiple 16-bit groups of contiguous # 0's only once in an address as described in RFC 2373. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # String# sub get_network { @@ -189,7 +189,7 @@ sub get_network { # each field (:). For example, 2001:DB8:101::230:6eff:fe04:d9ff. The address can also # consist of symbol '::' to represent multiple 16-bit groups of contiguous # 0's only once in an address as described in RFC 2373. This *field* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # sub set_network { my ($self, %args) = @_; @@ -204,7 +204,7 @@ sub set_network { # The prefix length. For IPv4 the value range is 0-32. For IPv6 prefixLength is a # decimal value range 0-128. The property represents the number of contiguous, # higher-order bits of the address that make up the network portion of the IP address. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # # long# sub get_prefix_length { @@ -219,7 +219,7 @@ sub get_prefix_length { # The prefix length. For IPv4 the value range is 0-32. For IPv6 prefixLength is a # decimal value range 0-128. The property represents the number of contiguous, # higher-order bits of the address that make up the network portion of the IP address. -# This *field* was added in vSphere API 7.0.0. +# This *field* was added in vSphere API 7.0.0.0. # sub set_prefix_length { my ($self, %args) = @_; @@ -237,7 +237,7 @@ sub set_prefix_length { # up to four hexadecimal digits. A colon separates each field (:). For example, # 2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of symbol # '::' to represent multiple 16-bit groups of contiguous 0's only once in -# an address as described in RFC 2373. This *field* was added in vSphere API 7.0.0. +# an address as described in RFC 2373. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_gateway_address { @@ -255,7 +255,7 @@ sub get_gateway_address { # up to four hexadecimal digits. A colon separates each field (:). For example, # 2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of symbol # '::' to represent multiple 16-bit groups of contiguous 0's only once in -# an address as described in RFC 2373. This *field* was added in vSphere API 7.0.0. +# an address as described in RFC 2373. This *field* was added in vSphere API 7.0.0.0. # sub set_gateway_address { my ($self, %args) = @_; @@ -271,7 +271,7 @@ sub set_gateway_address { # :func:`Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces.list` The index refers # to the relative position of an element in a *list* . For example, an index of 0 # refers to the first element in the *list* while an index of 1 refers to the second -# element. This *field* was added in vSphere API 7.0.0. +# element. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_interface_index { @@ -287,7 +287,7 @@ sub get_interface_index { # :func:`Com::Vmware::Vcenter::Vm::Guest::Networking::Interfaces.list` The index refers # to the relative position of an element in a *list* . For example, an index of 0 # refers to the first element in the *list* while an index of 1 refers to the second -# element. This *field* was added in vSphere API 7.0.0. +# element. This *field* was added in vSphere API 7.0.0.0. # sub set_interface_index { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Vm/GuestOS.pm b/lib/sdk/Com/Vmware/Vcenter/Vm/GuestOS.pm index 68a0c8e6..dfefdab8 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Vm/GuestOS.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Vm/GuestOS.pm @@ -108,7 +108,10 @@ #Windows Hyper-V # # Constant Com::Vmware::Vcenter::Vm::GuestOS::WINDOWS_SERVER_2019 # -#Windows Server 2019. This *constant* was added in vSphere API 7.0.0. +#Windows Server 2019. This *constant* was added in vSphere API 7.0.0.0. +# +# Constant Com::Vmware::Vcenter::Vm::GuestOS::WINDOWS_SERVER_2021 # +#Windows Server 2021. This *constant* was added in vSphere API 7.0.1.0. # # Constant Com::Vmware::Vcenter::Vm::GuestOS::FREEBSD # #FreeBSD 10 or earlier @@ -120,13 +123,19 @@ #FreeBSD 11. This *constant* was added in vSphere API 6.7. # # Constant Com::Vmware::Vcenter::Vm::GuestOS::FREEBSD_12 # -#FreeBSD 12 or later. This *constant* was added in vSphere API 6.7. +#FreeBSD 12. This *constant* was added in vSphere API 6.7. +# +# Constant Com::Vmware::Vcenter::Vm::GuestOS::FREEBSD_13 # +#FreeBSD 13 or later. This *constant* was added in vSphere API 7.0.1.0. # # Constant Com::Vmware::Vcenter::Vm::GuestOS::FREEBSD_11_64 # #FreeBSD 11 x64. This *constant* was added in vSphere API 6.7. # # Constant Com::Vmware::Vcenter::Vm::GuestOS::FREEBSD_12_64 # -#FreeBSD 12 x64 or later. This *constant* was added in vSphere API 6.7. +#FreeBSD 12 x64. This *constant* was added in vSphere API 6.7. +# +# Constant Com::Vmware::Vcenter::Vm::GuestOS::FREEBSD_13_64 # +#FreeBSD 13 x64 or later. This *constant* was added in vSphere API 7.0.1.0. # # Constant Com::Vmware::Vcenter::Vm::GuestOS::REDHAT # #Red Hat Linux 2.1 @@ -167,6 +176,9 @@ # Constant Com::Vmware::Vcenter::Vm::GuestOS::RHEL_8_64 # #Red Hat Enterprise Linux 8 (64 bit). This *constant* was added in vSphere API 6.7. # +# Constant Com::Vmware::Vcenter::Vm::GuestOS::RHEL_9_64 # +#Red Hat Enterprise Linux 9 (64 bit). This *constant* was added in vSphere API 7.0.1.0. +# # Constant Com::Vmware::Vcenter::Vm::GuestOS::CENTOS # #CentOS 4/5 # @@ -188,6 +200,9 @@ # Constant Com::Vmware::Vcenter::Vm::GuestOS::CENTOS_8_64 # #CentOS 8 (64-bit). This *constant* was added in vSphere API 6.7. # +# Constant Com::Vmware::Vcenter::Vm::GuestOS::CENTOS_9_64 # +#CentOS 9 (64-bit). This *constant* was added in vSphere API 7.0.1.0. +# # Constant Com::Vmware::Vcenter::Vm::GuestOS::ORACLE_LINUX # #Oracle Linux 4/5 # @@ -209,6 +224,9 @@ # Constant Com::Vmware::Vcenter::Vm::GuestOS::ORACLE_LINUX_8_64 # #Oracle Linux 8 (64-bit). This *constant* was added in vSphere API 6.7. # +# Constant Com::Vmware::Vcenter::Vm::GuestOS::ORACLE_LINUX_9_64 # +#Oracle Linux 9 (64-bit). This *constant* was added in vSphere API 7.0.1.0. +# # Constant Com::Vmware::Vcenter::Vm::GuestOS::SUSE # #Suse Linux # @@ -242,6 +260,10 @@ # Constant Com::Vmware::Vcenter::Vm::GuestOS::SLES_15_64 # #Suse Linux Enterprise Server 15 (64 bit). This *constant* was added in vSphere API 6.7. # +# Constant Com::Vmware::Vcenter::Vm::GuestOS::SLES_16_64 # +#Suse Linux Enterprise Server 16 (64 bit). This *constant* was added in vSphere API +# 7.0.1.0. +# # Constant Com::Vmware::Vcenter::Vm::GuestOS::NLD_9 # #Novell Linux Desktop 9 # @@ -315,10 +337,10 @@ #Debian GNU/Linux 10 (64 bit) # # Constant Com::Vmware::Vcenter::Vm::GuestOS::DEBIAN_11 # -#Debian GNU/Linux 11. This *constant* was added in vSphere API 7.0.0. +#Debian GNU/Linux 11. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::GuestOS::DEBIAN_11_64 # -#Debian GNU/Linux 11 (64 bit). This *constant* was added in vSphere API 7.0.0. +#Debian GNU/Linux 11 (64 bit). This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::GuestOS::ASIANUX_3 # #Asianux Server 3 @@ -341,6 +363,9 @@ # Constant Com::Vmware::Vcenter::Vm::GuestOS::ASIANUX_8_64 # #Asianux Server 8 (64 bit). This *constant* was added in vSphere API 6.7. # +# Constant Com::Vmware::Vcenter::Vm::GuestOS::ASIANUX_9_64 # +#Asianux Server 9 (64 bit). This *constant* was added in vSphere API 7.0.1.0. +# # Constant Com::Vmware::Vcenter::Vm::GuestOS::OPENSUSE # #OpenSUSE Linux # @@ -383,6 +408,12 @@ # Constant Com::Vmware::Vcenter::Vm::GuestOS::OTHER_4X_LINUX_64 # #Linux 4.x Kernel (64 bit). This *constant* was added in vSphere API 6.7. # +# Constant Com::Vmware::Vcenter::Vm::GuestOS::OTHER_5X_LINUX # +#Linux 5.x Kernel. This *constant* was added in vSphere API 7.0.1.0. +# +# Constant Com::Vmware::Vcenter::Vm::GuestOS::OTHER_5X_LINUX_64 # +#Linux 5.x Kernel (64 bit). This *constant* was added in vSphere API 7.0.1.0. +# # Constant Com::Vmware::Vcenter::Vm::GuestOS::OTHER_LINUX # #Linux 2.2x Kernel # @@ -480,7 +511,13 @@ #Mac OS 10.14 (64 bit). This *constant* was added in vSphere API 6.7. # # Constant Com::Vmware::Vcenter::Vm::GuestOS::DARWIN_19_64 # -#Mac OS 10.15 (64 bit). This *constant* was added in vSphere API 7.0.0. +#Mac OS 10.15 (64 bit). This *constant* was added in vSphere API 7.0.0.0. +# +# Constant Com::Vmware::Vcenter::Vm::GuestOS::DARWIN_20_64 # +#Mac OS 10.16 (64 bit). This *constant* was added in vSphere API 7.0.1.0. +# +# Constant Com::Vmware::Vcenter::Vm::GuestOS::DARWIN_21_64 # +#Mac OS 10.17 (64 bit). This *constant* was added in vSphere API 7.0.1.0. # # Constant Com::Vmware::Vcenter::Vm::GuestOS::VMKERNEL # #VMware ESX 4 @@ -495,13 +532,16 @@ #VMware ESX 6.5 # # Constant Com::Vmware::Vcenter::Vm::GuestOS::VMKERNEL_7 # -#VMware ESX 7. This *constant* was added in vSphere API 7.0.0. +#VMware ESX 7. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::GuestOS::AMAZONLINUX2_64 # #Amazon Linux 2 (64 bit). This *constant* was added in vSphere API 6.7.1. # +# Constant Com::Vmware::Vcenter::Vm::GuestOS::AMAZONLINUX3_64 # +#Amazon Linux 3 (64 bit). This *constant* was added in vSphere API 7.0.1.0. +# # Constant Com::Vmware::Vcenter::Vm::GuestOS::CRXPOD_1 # -#CRX Pod 1. This *constant* was added in vSphere API 7.0.0. +#CRX Pod 1. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::GuestOS::OTHER # #Other Operating System @@ -547,12 +587,15 @@ use constant { WINDOWS_9_SERVER_64 => 'WINDOWS_9_SERVER_64', WINDOWS_HYPERV => 'WINDOWS_HYPERV', WINDOWS_SERVER_2019 => 'WINDOWS_SERVER_2019', + WINDOWS_SERVER_2021 => 'WINDOWS_SERVER_2021', FREEBSD => 'FREEBSD', FREEBSD_64 => 'FREEBSD_64', FREEBSD_11 => 'FREEBSD_11', FREEBSD_12 => 'FREEBSD_12', + FREEBSD_13 => 'FREEBSD_13', FREEBSD_11_64 => 'FREEBSD_11_64', FREEBSD_12_64 => 'FREEBSD_12_64', + FREEBSD_13_64 => 'FREEBSD_13_64', REDHAT => 'REDHAT', RHEL_2 => 'RHEL_2', RHEL_3 => 'RHEL_3', @@ -566,6 +609,7 @@ use constant { RHEL_7 => 'RHEL_7', RHEL_7_64 => 'RHEL_7_64', RHEL_8_64 => 'RHEL_8_64', + RHEL_9_64 => 'RHEL_9_64', CENTOS => 'CENTOS', CENTOS_64 => 'CENTOS_64', CENTOS_6 => 'CENTOS_6', @@ -573,6 +617,7 @@ use constant { CENTOS_7 => 'CENTOS_7', CENTOS_7_64 => 'CENTOS_7_64', CENTOS_8_64 => 'CENTOS_8_64', + CENTOS_9_64 => 'CENTOS_9_64', ORACLE_LINUX => 'ORACLE_LINUX', ORACLE_LINUX_64 => 'ORACLE_LINUX_64', ORACLE_LINUX_6 => 'ORACLE_LINUX_6', @@ -580,6 +625,7 @@ use constant { ORACLE_LINUX_7 => 'ORACLE_LINUX_7', ORACLE_LINUX_7_64 => 'ORACLE_LINUX_7_64', ORACLE_LINUX_8_64 => 'ORACLE_LINUX_8_64', + ORACLE_LINUX_9_64 => 'ORACLE_LINUX_9_64', SUSE => 'SUSE', SUSE_64 => 'SUSE_64', SLES => 'SLES', @@ -591,6 +637,7 @@ use constant { SLES_12 => 'SLES_12', SLES_12_64 => 'SLES_12_64', SLES_15_64 => 'SLES_15_64', + SLES_16_64 => 'SLES_16_64', NLD_9 => 'NLD_9', OES => 'OES', SJDS => 'SJDS', @@ -624,6 +671,7 @@ use constant { ASIANUX_5_64 => 'ASIANUX_5_64', ASIANUX_7_64 => 'ASIANUX_7_64', ASIANUX_8_64 => 'ASIANUX_8_64', + ASIANUX_9_64 => 'ASIANUX_9_64', OPENSUSE => 'OPENSUSE', OPENSUSE_64 => 'OPENSUSE_64', FEDORA => 'FEDORA', @@ -638,6 +686,8 @@ use constant { OTHER_3X_LINUX_64 => 'OTHER_3X_LINUX_64', OTHER_4X_LINUX => 'OTHER_4X_LINUX', OTHER_4X_LINUX_64 => 'OTHER_4X_LINUX_64', + OTHER_5X_LINUX => 'OTHER_5X_LINUX', + OTHER_5X_LINUX_64 => 'OTHER_5X_LINUX_64', OTHER_LINUX => 'OTHER_LINUX', GENERIC_LINUX => 'GENERIC_LINUX', OTHER_LINUX_64 => 'OTHER_LINUX_64', @@ -671,12 +721,15 @@ use constant { DARWIN_17_64 => 'DARWIN_17_64', DARWIN_18_64 => 'DARWIN_18_64', DARWIN_19_64 => 'DARWIN_19_64', + DARWIN_20_64 => 'DARWIN_20_64', + DARWIN_21_64 => 'DARWIN_21_64', VMKERNEL => 'VMKERNEL', VMKERNEL_5 => 'VMKERNEL_5', VMKERNEL_6 => 'VMKERNEL_6', VMKERNEL_65 => 'VMKERNEL_65', VMKERNEL_7 => 'VMKERNEL_7', AMAZONLINUX2_64 => 'AMAZONLINUX2_64', + AMAZONLINUX3_64 => 'AMAZONLINUX3_64', CRXPOD_1 => 'CRXPOD_1', OTHER => 'OTHER', OTHER_64 => 'OTHER_64', diff --git a/lib/sdk/Com/Vmware/Vcenter/Vm/Hardware.pm b/lib/sdk/Com/Vmware/Vcenter/Vm/Hardware.pm index 738c83b7..214d2ec9 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Vm/Hardware.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Vm/Hardware.pm @@ -264,16 +264,20 @@ sub upgrade { # API 6.7. # # Constant Com::Vmware::Vcenter::Vm::Hardware::Version::VMX_15 # -#Hardware version 15, first supported in ESXi 6.7.0 Update 2. This *constant* was added -# in vSphere API 6.7.2. +#Hardware version 15, first supported in ESXi 6.7 Update 2. This *constant* was added in +# vSphere API 6.7.2. # # Constant Com::Vmware::Vcenter::Vm::Hardware::Version::VMX_16 # #Hardware version 16, first supported in Workstation 15.0. This *constant* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Hardware::Version::VMX_17 # -#Hardware version 17, first supported in ESX 7.0. This *constant* was added in vSphere -# API 7.0.0. +#Hardware version 17, first supported in ESXi 7.0.0-0. This *constant* was added in +# vSphere API 7.0.0.0. +# +# Constant Com::Vmware::Vcenter::Vm::Hardware::Version::VMX_18 # +#Hardware version 18, first supported in ESXi 7.0 U1. This *constant* was added in +# vSphere API 7.0.1.0. package Com::Vmware::Vcenter::Vm::Hardware::Version; @@ -292,6 +296,7 @@ use constant { VMX_15 => 'VMX_15', VMX_16 => 'VMX_16', VMX_17 => 'VMX_17', + VMX_18 => 'VMX_18', }; # diff --git a/lib/sdk/Com/Vmware/Vcenter/Vm/Tools.pm b/lib/sdk/Com/Vmware/Vcenter/Vm/Tools.pm index d36ae3c1..01d32213 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Vm/Tools.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Vm/Tools.pm @@ -13,7 +13,7 @@ ## @class Com::Vmware::Vcenter::Vm::Tools # The ``Com::Vmware::Vcenter::Vm::Tools`` *interface* provides *methods* for # managing VMware Tools in the guest operating system. This *interface* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Vm::Tools; @@ -65,7 +65,7 @@ sub new { } ## @method get () -# Get the properties of VMware Tools. This *method* was added in vSphere API 7.0.0. +# Get the properties of VMware Tools. This *method* was added in vSphere API 7.0.0.0. # # @param vm [REQUIRED] Identifier of the virtual machine. # The value must be an identifier for the resource type @@ -94,7 +94,7 @@ sub get { } ## @method update () -# Update the properties of VMware Tools. This *method* was added in vSphere API 7.0.0. +# Update the properties of VMware Tools. This *method* was added in vSphere API 7.0.0.0. # # @param vm [REQUIRED] Identifier of the virtual machine. # The value must be an identifier for the resource type @@ -130,7 +130,7 @@ sub update { # Begins the Tools upgrade process. To monitor the status of the Tools upgrade, clients # should check the Tools status by calling :func:`Com::Vmware::Vcenter::Vm::Tools.get` and # examining ``versionStatus`` and ``runState`` . This *method* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # @param vm [REQUIRED] Identifier of the virtual machine. # The value must be an identifier for the resource type @@ -178,19 +178,19 @@ sub upgrade { ## @class Com::Vmware::Vcenter::Vm::Tools::RunState # # Current run state of VMware Tools in the guest operating system. This *enumeration* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Vm::Tools::RunState::NOT_RUNNING # -#VMware Tools is not running. This *constant* was added in vSphere API 7.0.0. +#VMware Tools is not running. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Tools::RunState::RUNNING # -#VMware Tools is running. This *constant* was added in vSphere API 7.0.0. +#VMware Tools is running. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Tools::RunState::EXECUTING_SCRIPTS # #VMware Tools is running scripts as part of a state transition. This *constant* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Tools::RunState; @@ -229,20 +229,20 @@ sub new { # # The ``Com::Vmware::Vcenter::Vm::Tools::UpgradePolicy`` *enumerated type* defines # when Tools are auto-upgraded for a virtual machine. This *enumeration* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Vm::Tools::UpgradePolicy::MANUAL # #No auto-upgrades for Tools will be performed for this virtual machine. Users must manually # invoke the :func:`Com::Vmware::Vcenter::Vm::Tools.upgrade` *method* to update Tools. -# This *constant* was added in vSphere API 7.0.0. +# This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Tools::UpgradePolicy::UPGRADE_AT_POWER_CYCLE # #When the virtual machine is power-cycled, the system checks for a newer version of Tools # when the virtual machine is powered on. If it is available, a Tools upgrade is # automatically performed on the virtual machine and it is rebooted if necessary. This -# *constant* was added in vSphere API 7.0.0. +# *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Tools::UpgradePolicy; @@ -280,41 +280,41 @@ sub new { # # The ``Com::Vmware::Vcenter::Vm::Tools::VersionStatus`` *enumerated type* defines # the version status types of VMware Tools installed in the guest operating system. This -# *enumeration* was added in vSphere API 7.0.0. +# *enumeration* was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Vm::Tools::VersionStatus::NOT_INSTALLED # -#VMware Tools has never been installed. This *constant* was added in vSphere API 7.0.0. +#VMware Tools has never been installed. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Tools::VersionStatus::CURRENT # #VMware Tools is installed, and the version is current. This *constant* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Tools::VersionStatus::UNMANAGED # #VMware Tools is installed, but it is not managed by VMware. This includes open-vm-tools or # OSPs which should be managed by the guest operating system. This *constant* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Tools::VersionStatus::TOO_OLD_UNSUPPORTED # #VMware Tools is installed, but the version is too old. This *constant* was added in -# vSphere API 7.0.0. +# vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Tools::VersionStatus::SUPPORTED_OLD # #VMware Tools is installed, supported, but a newer version is available. This *constant* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Tools::VersionStatus::SUPPORTED_NEW # #VMware Tools is installed, supported, and newer than the version available on the host. -# This *constant* was added in vSphere API 7.0.0. +# This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Tools::VersionStatus::TOO_NEW # #VMware Tools is installed, and the version is known to be too new to work correctly with -# this virtual machine. This *constant* was added in vSphere API 7.0.0. +# this virtual machine. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Tools::VersionStatus::BLACKLISTED # #VMware Tools is installed, but the installed version is known to have a grave bug and -# should be immediately upgraded. This *constant* was added in vSphere API 7.0.0. +# should be immediately upgraded. This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Tools::VersionStatus; @@ -358,30 +358,30 @@ sub new { # # The ``Com::Vmware::Vcenter::Vm::Tools::ToolsInstallType`` *enumerated type* # defines the installation type of the Tools in the guest operating system. This -# *enumeration* was added in vSphere API 7.0.0. +# *enumeration* was added in vSphere API 7.0.0.0. # # # # Constant Com::Vmware::Vcenter::Vm::Tools::ToolsInstallType::UNKNOWN # #Installation type is not known. Most likely tools have been installed by OSPs or # open-vm-tools, but a version that does not report its install type or an install type that -# we do not recognize. This *constant* was added in vSphere API 7.0.0. +# we do not recognize. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Tools::ToolsInstallType::MSI # #MSI is the installation type used for VMware Tools on Windows. This *constant* was added -# in vSphere API 7.0.0. +# in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Tools::ToolsInstallType::TAR # #Tools have been installed by the tar installer. This *constant* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Tools::ToolsInstallType::OSP # #OSPs are RPM or Debian packages tailored for the OS in the VM. See -# http://packages.vmware.com. This *constant* was added in vSphere API 7.0.0. +# http://packages.vmware.com. This *constant* was added in vSphere API 7.0.0.0. # # Constant Com::Vmware::Vcenter::Vm::Tools::ToolsInstallType::OPEN_VM_TOOLS # #open-vm-tools are the open-source version of VMware Tools, may have been packaged by the -# OS vendor. This *constant* was added in vSphere API 7.0.0. +# OS vendor. This *constant* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Tools::ToolsInstallType; @@ -432,7 +432,7 @@ sub new { # # # The ``Com::Vmware::Vcenter::Vm::Tools::Info`` *class* describes the VMWare Tools -# properties of a virtual machine. This *class* was added in vSphere API 7.0.0. +# properties of a virtual machine. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Tools::Info; @@ -491,7 +491,7 @@ sub new { # @retval auto_update_supported - The current value of the field. # Set if the virtual machine supports auto-upgrading Tools via class # Com::Vmware::Vcenter::Vm::Tools::UpgradePolicy . This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # # boolean# sub get_auto_update_supported { @@ -505,7 +505,7 @@ sub get_auto_update_supported { # @param auto_update_supported - New value for the field. # Set if the virtual machine supports auto-upgrading Tools via class # Com::Vmware::Vcenter::Vm::Tools::UpgradePolicy . This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # sub set_auto_update_supported { my ($self, %args) = @_; @@ -518,7 +518,7 @@ sub set_auto_update_supported { # # @retval install_attempt_count - The current value of the field. # Number of attempts that have been made to install or upgrade the version of Tools -# installed on this virtual machine. This *field* was added in vSphere API 7.0.0. +# installed on this virtual machine. This *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_install_attempt_count { @@ -531,7 +531,7 @@ sub get_install_attempt_count { # # @param install_attempt_count - New value for the field. # Number of attempts that have been made to install or upgrade the version of Tools -# installed on this virtual machine. This *field* was added in vSphere API 7.0.0. +# installed on this virtual machine. This *field* was added in vSphere API 7.0.0.0. # sub set_install_attempt_count { my ($self, %args) = @_; @@ -544,7 +544,7 @@ sub set_install_attempt_count { # # @retval error - The current value of the field. # Error that happened, if any, during last attempt to upgrade or install Tools. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_error { @@ -557,7 +557,7 @@ sub get_error { # # @param error - New value for the field. # Error that happened, if any, during last attempt to upgrade or install Tools. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_error { my ($self, %args) = @_; @@ -570,7 +570,7 @@ sub set_error { # # @retval version_number - The current value of the field. # Version of VMware Tools installed on the guest operating system. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # # Optional# sub get_version_number { @@ -583,7 +583,7 @@ sub get_version_number { # # @param version_number - New value for the field. # Version of VMware Tools installed on the guest operating system. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # sub set_version_number { my ($self, %args) = @_; @@ -597,7 +597,7 @@ sub set_version_number { # @retval version - The current value of the field. # Version of VMware Tools installed on the guest operating system. This is a # human-readable value that should not be parsed. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # # Optional# sub get_version { @@ -611,7 +611,7 @@ sub get_version { # @param version - New value for the field. # Version of VMware Tools installed on the guest operating system. This is a # human-readable value that should not be parsed. This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # sub set_version { my ($self, %args) = @_; @@ -625,7 +625,7 @@ sub set_version { # @retval upgrade_policy - The current value of the field. # Tools upgrade policy setting for the virtual machine. class # Com::Vmware::Vcenter::Vm::Tools::UpgradePolicy . This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # # UpgradePolicy# sub get_upgrade_policy { @@ -639,7 +639,7 @@ sub get_upgrade_policy { # @param upgrade_policy - New value for the field. # Tools upgrade policy setting for the virtual machine. class # Com::Vmware::Vcenter::Vm::Tools::UpgradePolicy . This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # sub set_upgrade_policy { my ($self, %args) = @_; @@ -652,7 +652,7 @@ sub set_upgrade_policy { # # @retval version_status - The current value of the field. # Current version status of VMware Tools in the guest operating system, if known. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # Optional# sub get_version_status { @@ -665,7 +665,7 @@ sub get_version_status { # # @param version_status - New value for the field. # Current version status of VMware Tools in the guest operating system, if known. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_version_status { my ($self, %args) = @_; @@ -678,7 +678,7 @@ sub set_version_status { # # @retval install_type - The current value of the field. # Current installation type of VMware Tools in the guest operating system. This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # # Optional# sub get_install_type { @@ -691,7 +691,7 @@ sub get_install_type { # # @param install_type - New value for the field. # Current installation type of VMware Tools in the guest operating system. This *field* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # sub set_install_type { my ($self, %args) = @_; @@ -704,7 +704,7 @@ sub set_install_type { # # @retval run_state - The current value of the field. # Current run state of VMware Tools in the guest operating system. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # # RunState# sub get_run_state { @@ -717,7 +717,7 @@ sub get_run_state { # # @param run_state - New value for the field. # Current run state of VMware Tools in the guest operating system. This *field* was -# added in vSphere API 7.0.0. +# added in vSphere API 7.0.0.0. # sub set_run_state { my ($self, %args) = @_; @@ -733,7 +733,7 @@ sub set_run_state { # # # The (@name UpdateSpec} *class* describes the VMware Tools properties of a virtual -# machine that can be updated. This *class* was added in vSphere API 7.0.0. +# machine that can be updated. This *class* was added in vSphere API 7.0.0.0. package Com::Vmware::Vcenter::Vm::Tools::UpdateSpec; @@ -776,7 +776,7 @@ sub new { # @retval upgrade_policy - The current value of the field. # Tools upgrade policy setting for the virtual machine. class # Com::Vmware::Vcenter::Vm::Tools::UpgradePolicy . This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # # Optional# sub get_upgrade_policy { @@ -790,7 +790,7 @@ sub get_upgrade_policy { # @param upgrade_policy - New value for the field. # Tools upgrade policy setting for the virtual machine. class # Com::Vmware::Vcenter::Vm::Tools::UpgradePolicy . This *field* was added in vSphere -# API 7.0.0. +# API 7.0.0.0. # sub set_upgrade_policy { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vcenter/Vm/Tools/Installer.pm b/lib/sdk/Com/Vmware/Vcenter/Vm/Tools/Installer.pm index f14dfe6b..07b5f246 100644 --- a/lib/sdk/Com/Vmware/Vcenter/Vm/Tools/Installer.pm +++ b/lib/sdk/Com/Vmware/Vcenter/Vm/Tools/Installer.pm @@ -13,7 +13,7 @@ ## @class Com::Vmware::Vcenter::Vm::Tools::Installer # The ``Com::Vmware::Vcenter::Vm::Tools::Installer`` (@term service} provides # *methods* to install VMware Tools in the guest operating system. This *interface* -# was added in vSphere API 7.0.0. +# was added in vSphere API 7.0.0.0. # package Com::Vmware::Vcenter::Vm::Tools::Installer; @@ -66,7 +66,7 @@ sub new { ## @method get () # Get information about the VMware Tools installer. This *method* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # @param vm [REQUIRED] Identifier of the virtual machine. # The value must be an identifier for the resource type @@ -102,7 +102,7 @@ sub get { # need to do guest-specific actions. On Linux, this includes opening an archive and running # the installer. To monitor the status of the Tools install, clients should check the # ``versionStatus`` and ``runState`` from :func:`Com::Vmware::Vcenter::Vm::Tools.get` . -# This *method* was added in vSphere API 7.0.0. +# This *method* was added in vSphere API 7.0.0.0. # # @param vm [REQUIRED] Virtual machine ID # The value must be an identifier for the resource type @@ -134,7 +134,7 @@ sub connect { ## @method disconnect () # Disconnect the VMware Tools installer CD image. This *method* was added in vSphere API -# 7.0.0. +# 7.0.0.0. # # @param vm [REQUIRED] Virtual machine ID # The value must be an identifier for the resource type @@ -182,7 +182,7 @@ sub disconnect { # # The ``Com::Vmware::Vcenter::Vm::Tools::Installer::Info`` *class* contains # information about the VMWare Tools installer. This *class* was added in vSphere API -# 7.0.0. +# 7.0.0.0. package Com::Vmware::Vcenter::Vm::Tools::Installer::Info; @@ -224,7 +224,7 @@ sub new { # # @retval is_connected - The current value of the field. # Flag indicating whether the VMware Tools installer is mounted as a CD-ROM. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # # boolean# sub get_is_connected { @@ -237,7 +237,7 @@ sub get_is_connected { # # @param is_connected - New value for the field. # Flag indicating whether the VMware Tools installer is mounted as a CD-ROM. This -# *field* was added in vSphere API 7.0.0. +# *field* was added in vSphere API 7.0.0.0. # sub set_is_connected { my ($self, %args) = @_; diff --git a/lib/sdk/Com/Vmware/Vstats/AcqSpecs.pm b/lib/sdk/Com/Vmware/Vstats/AcqSpecs.pm index 4deaac30..59ca9f8f 100644 --- a/lib/sdk/Com/Vmware/Vstats/AcqSpecs.pm +++ b/lib/sdk/Com/Vmware/Vstats/AcqSpecs.pm @@ -301,28 +301,29 @@ sub update { # # # Constant Com::Vmware::Vstats::AcqSpecs::Status::ENABLED # -#The acquisition specification is enabled. Warning: This *constant* is available -# as Technology Preview. These are early access APIs provided to test, automate and provide -# feedback on the feature. Since this can change based on feedback, VMware does not -# guarantee backwards compatibility and recommends against using them in production -# environments. Some Technology Preview APIs might only be applicable to specific -# environments. +#The acquisition specification is enabled when the stats data collection is going on. +# Warning: This *constant* is available as Technology Preview. These are early +# access APIs provided to test, automate and provide feedback on the feature. Since this can +# change based on feedback, VMware does not guarantee backwards compatibility and recommends +# against using them in production environments. Some Technology Preview APIs might only be +# applicable to specific environments. # # Constant Com::Vmware::Vstats::AcqSpecs::Status::DISABLED # -#The acquisition specification is disabled. Warning: This *constant* is available -# as Technology Preview. These are early access APIs provided to test, automate and provide -# feedback on the feature. Since this can change based on feedback, VMware does not -# guarantee backwards compatibility and recommends against using them in production -# environments. Some Technology Preview APIs might only be applicable to specific -# environments. +#The acquisition specification is disabled when the stats data collection is paused. This +# can happen when the counters are enabled or disabled dynamically on providers. +# Warning: This *constant* is available as Technology Preview. These are early +# access APIs provided to test, automate and provide feedback on the feature. Since this can +# change based on feedback, VMware does not guarantee backwards compatibility and recommends +# against using them in production environments. Some Technology Preview APIs might only be +# applicable to specific environments. # # Constant Com::Vmware::Vstats::AcqSpecs::Status::EXPIRED # -#The acquisition specification is expired. Warning: This *constant* is available -# as Technology Preview. These are early access APIs provided to test, automate and provide -# feedback on the feature. Since this can change based on feedback, VMware does not -# guarantee backwards compatibility and recommends against using them in production -# environments. Some Technology Preview APIs might only be applicable to specific -# environments. +#The acquisition specification is expired when the expiration time is exceeded. There is no +# data collection in that case. Warning: This *constant* is available as Technology +# Preview. These are early access APIs provided to test, automate and provide feedback on +# the feature. Since this can change based on feedback, VMware does not guarantee backwards +# compatibility and recommends against using them in production environments. Some +# Technology Preview APIs might only be applicable to specific environments. package Com::Vmware::Vstats::AcqSpecs::Status;