vsphere-automation-vapi 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/README.md +11 -12
- data/docs/MetadataAuthenticationComponentApi.md +3 -5
- data/docs/MetadataAuthenticationServiceOperationApi.md +3 -5
- data/docs/MetadataCliCommandApi.md +3 -5
- data/docs/MetadataCliNamespaceApi.md +4 -8
- data/docs/MetadataMetamodelComponentApi.md +3 -5
- data/docs/MetadataPrivilegeComponentApi.md +3 -5
- data/docs/MetadataPrivilegeServiceOperationApi.md +3 -5
- data/docs/RestNavigationOptionsApi.md +3 -5
- data/docs/VapiMetadataAuthenticationComponentInfo.md +1 -1
- data/docs/VapiMetadataAuthenticationPackageInfo.md +1 -1
- data/docs/VapiMetadataAuthenticationServiceInfo.md +1 -1
- data/docs/VapiMetadataMetamodelComponentInfo.md +2 -2
- data/docs/VapiMetadataMetamodelElementMap.md +1 -1
- data/docs/VapiMetadataMetamodelEnumerationInfo.md +1 -1
- data/docs/VapiMetadataMetamodelEnumerationValueInfo.md +1 -1
- data/docs/VapiMetadataMetamodelFieldInfo.md +1 -1
- data/docs/VapiMetadataMetamodelOperationInfo.md +1 -1
- data/docs/VapiMetadataMetamodelOperationResultInfo.md +1 -1
- data/docs/VapiMetadataMetamodelPackageInfo.md +4 -4
- data/docs/VapiMetadataMetamodelServiceInfo.md +5 -5
- data/docs/VapiMetadataMetamodelStructureInfo.md +3 -3
- data/docs/VapiMetadataPrivilegeComponentInfo.md +1 -1
- data/docs/VapiMetadataPrivilegePackageInfo.md +1 -1
- data/docs/VapiMetadataPrivilegeServiceInfo.md +1 -1
- data/docs/VcenterActivationApi.md +3 -5
- data/lib/vsphere-automation-vapi/api/metadata_authentication_component_api.rb +4 -15
- data/lib/vsphere-automation-vapi/api/metadata_authentication_service_operation_api.rb +4 -15
- data/lib/vsphere-automation-vapi/api/metadata_cli_command_api.rb +4 -15
- data/lib/vsphere-automation-vapi/api/metadata_cli_namespace_api.rb +4 -15
- data/lib/vsphere-automation-vapi/api/metadata_metamodel_component_api.rb +4 -15
- data/lib/vsphere-automation-vapi/api/metadata_privilege_component_api.rb +4 -15
- data/lib/vsphere-automation-vapi/api/metadata_privilege_service_operation_api.rb +4 -15
- data/lib/vsphere-automation-vapi/api/rest_navigation_options_api.rb +4 -15
- data/lib/vsphere-automation-vapi/api/vcenter_activation_api.rb +4 -15
- data/lib/vsphere-automation-vapi/api_client.rb +1 -1
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_component_info.rb +1 -1
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_package_info.rb +1 -1
- data/lib/vsphere-automation-vapi/models/vapi_metadata_authentication_service_info.rb +1 -1
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_component_info.rb +2 -2
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_element_map.rb +1 -1
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_enumeration_info.rb +1 -1
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_enumeration_value_info.rb +1 -1
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_field_info.rb +1 -1
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_operation_info.rb +1 -1
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_operation_result_info.rb +1 -1
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_package_info.rb +4 -4
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_service_info.rb +5 -5
- data/lib/vsphere-automation-vapi/models/vapi_metadata_metamodel_structure_info.rb +3 -3
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_component_info.rb +1 -1
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_package_info.rb +1 -1
- data/lib/vsphere-automation-vapi/models/vapi_metadata_privilege_service_info.rb +1 -1
- data/lib/vsphere-automation-vapi/version.rb +1 -1
- data/pkg/vsphere-automation-vapi-0.2.2.gem +0 -0
- data/vsphere-automation-vapi.gemspec +2 -2
- metadata +7 -6
@@ -3,6 +3,6 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**elements** | **Array<
|
6
|
+
**elements** | [**Array<VapiMetadataMetamodelElementMapElements>**](VapiMetadataMetamodelElementMapElements.md) | Metamodel information of the metadata elements. The key parameter of the {@term map} is the identifier for the element and the value corresponds to the element value. |
|
7
7
|
|
8
8
|
|
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**name** | **String** | Dot separated name of the enumeration element. The segments in the name reflect the organization of the APIs. The format of each segment is lower case with underscores. Each underscore represents a word boundary. If there are acronyms in the word, the capitalization is preserved. This format makes it easy to translate the segment into a different naming convention. |
|
7
7
|
**values** | [**Array<VapiMetadataMetamodelEnumerationValueInfo>**](VapiMetadataMetamodelEnumerationValueInfo.md) | Metamodel information of all the enumeration value elements contained in this enumeration element. The order of the enumeration value elements in the list is same as the order in which they are defined in the interface definition file. |
|
8
|
-
**metadata** | **Array<
|
8
|
+
**metadata** | [**Array<VapiMetadataMetamodelComponentInfoMetadata>**](VapiMetadataMetamodelComponentInfoMetadata.md) | Generic metadata elements for an enumeration element. The key in the {@term map} is the name of the metadata element and the value is the data associated with that metadata element. <p> The {@link vapi.metadata.metamodel.MetadataIdentifier} contains possible string values for keys in the {@term map}. |
|
9
9
|
**documentation** | **String** | English language documentation for an enumeration element. It can contain HTML markup and Javadoc tags. The first sentence of the enumeration documentation is a complete sentence that identifies the enumeration by name and summarizes the purpose of the enumeration. The documentation describes the context in which the enumeration is used. <p> The documentation also contains references to the context in which the enumeration is used. But if the enumeration is used in many contexts, the references may not be present. |
|
10
10
|
|
11
11
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**value** | **String** | Value in the enumerated type. All the characters in the string are capitalized. |
|
7
|
-
**metadata** | **Array<
|
7
|
+
**metadata** | [**Array<VapiMetadataMetamodelComponentInfoMetadata>**](VapiMetadataMetamodelComponentInfoMetadata.md) | Additional metadata for enumeration value in the enumerated type. The key in the {@term map} is the name of the metadata element and the value is the data associated with that metadata element. <p> The {@link vapi.metadata.metamodel.MetadataIdentifier} contains possible string values for keys in the {@term map}. |
|
8
8
|
**documentation** | **String** | English language documentation for an enumeration value. It can contain HTML markup and documentation tags (similar to Javadoc tags). The first statement will be a noun or verb phrase that describes the purpose of the enumeration value. |
|
9
9
|
|
10
10
|
|
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**name** | **String** | Name of the field element in a canonical format. The format is lower case with underscores. Each underscore represents a word boundary. If there are acronyms in the word, the capitalization is preserved. This format makes it easy to translate the segment into a different naming convention. |
|
7
7
|
**type** | [**VapiMetadataMetamodelType**](VapiMetadataMetamodelType.md) | |
|
8
|
-
**metadata** | **Array<
|
8
|
+
**metadata** | [**Array<VapiMetadataMetamodelComponentInfoMetadata>**](VapiMetadataMetamodelComponentInfoMetadata.md) | Generic metadata elements for the field element. The key in the {@term map} is the name of the metadata element and the value is the data associated with that metadata element. <p> The {@link vapi.metadata.metamodel.MetadataIdentifier} contains possible string values for keys in the {@term map}. |
|
9
9
|
**documentation** | **String** | English language documentation for the service element. It can contain HTML markup and Javadoc tags. |
|
10
10
|
|
11
11
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**params** | [**Array<VapiMetadataMetamodelFieldInfo>**](VapiMetadataMetamodelFieldInfo.md) | Metamodel information for the parameter elements. The order of the parameters elements in the list is same as the order of the parameters declared in the interface definition file. |
|
8
8
|
**output** | [**VapiMetadataMetamodelOperationResultInfo**](VapiMetadataMetamodelOperationResultInfo.md) | |
|
9
9
|
**errors** | [**Array<VapiMetadataMetamodelErrorInfo>**](VapiMetadataMetamodelErrorInfo.md) | List of error elements that might be reported by the operation element. If the operation reports the same error for more than one reason, the list contains the error element associated with the error more than once with different documentation elements. |
|
10
|
-
**metadata** | **Array<
|
10
|
+
**metadata** | [**Array<VapiMetadataMetamodelComponentInfoMetadata>**](VapiMetadataMetamodelComponentInfoMetadata.md) | Generic metadata elements for the operation element. The key in the {@term map} is the name of the metadata element and the value is the data associated with that metadata element. <p> The {@link vapi.metadata.metamodel.MetadataIdentifier} contains possible string values for key in the {@term map}. |
|
11
11
|
**documentation** | **String** | English language documentation for the service element. It can contain HTML markup and Javadoc tags. |
|
12
12
|
|
13
13
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**type** | [**VapiMetadataMetamodelType**](VapiMetadataMetamodelType.md) | |
|
7
|
-
**metadata** | **Array<
|
7
|
+
**metadata** | [**Array<VapiMetadataMetamodelComponentInfoMetadata>**](VapiMetadataMetamodelComponentInfoMetadata.md) | Generic metadata elements for the service element. The key in the {@term map} is the name of the metadata element and the value is the data associated with that metadata element. <p> The {@link vapi.metadata.metamodel.MetadataIdentifier} contains possible string values for keys in the {@term map}. |
|
8
8
|
**documentation** | **String** | English language documentation for the operation result element. It can contain HTML markup and Javadoc tags. |
|
9
9
|
|
10
10
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**name** | **String** | Dot separated name of the package element. The segments in the name reflect the organization of the APIs. The format of each segment is lower case with underscores. Each underscore represents a word boundary. If there are acronyms in the word, the capitalization is preserved. This format makes it easy to translate the segment into a different naming convention. |
|
7
|
-
**structures** | **Array<
|
8
|
-
**enumerations** | **Array<
|
9
|
-
**services** | **Array<
|
10
|
-
**metadata** | **Array<
|
7
|
+
**structures** | [**Array<VapiMetadataMetamodelPackageInfoStructures>**](VapiMetadataMetamodelPackageInfoStructures.md) | Metamodel information of all the structure elements contained in the package element. The key in the {@term map} is the identifier of the structure element and the value in the {@term map} is the metamodel information for the structure element. <p> This does not include the structure elements contained in the service elements that are contained in this package element. |
|
8
|
+
**enumerations** | [**Array<VapiMetadataMetamodelPackageInfoEnumerations>**](VapiMetadataMetamodelPackageInfoEnumerations.md) | Metamodel information of all the enumeration elements contained in the package element. The key in the {@term map} is the identifier of the enumeration element and the value in the {@term map} is the metamodel information for the enumeration element. <p> This does not include the enumeration elements that are contained in the service elements of this package element or structure elements of this package element. |
|
9
|
+
**services** | [**Array<VapiMetadataMetamodelPackageInfoServices>**](VapiMetadataMetamodelPackageInfoServices.md) | Metamodel information of all the service elements contained in the package element. The key in the {@term map} is the identifier of the service element and the value in the {@term map} is the metamodel information for the service element. |
|
10
|
+
**metadata** | [**Array<VapiMetadataMetamodelComponentInfoMetadata>**](VapiMetadataMetamodelComponentInfoMetadata.md) | Generic metadata elements for the package element. The key in the {@term map} is the name of the metadata element and the value is the data associated with that metadata element. <p> The {@link vapi.metadata.metamodel.MetadataIdentifier} contains possible string values for keys in the {@term map}. |
|
11
11
|
**documentation** | **String** | English language documentation for a package. It can contain HTML markup and Javadoc tags. The first sentence of the package documentation is a complete sentence that identifies the package by name and summarizes the purpose of the package. <p> The primary purpose of a package documentation is to provide high-level context that will provide a framework in which the users can put the detail about the package contents. |
|
12
12
|
|
13
13
|
|
@@ -4,11 +4,11 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**name** | **String** | Dot separated name of the service element. The segments in the name reflect the organization of the APIs. The format of each segment is lower case with underscores. Each underscore represents a word boundary. If there are acronyms in the word, the capitalization is preserved. This format makes it easy to translate the segment into a different naming convention. |
|
7
|
-
**operations** | **Array<
|
8
|
-
**structures** | **Array<
|
9
|
-
**enumerations** | **Array<
|
10
|
-
**constants** | **Array<
|
11
|
-
**metadata** | **Array<
|
7
|
+
**operations** | [**Array<VapiMetadataMetamodelServiceInfoOperations>**](VapiMetadataMetamodelServiceInfoOperations.md) | Metamodel information of all the operation elements contained in the service element. The key in the {@term map} is the identifier of the operation element and the value in the {@term map} is the metamodel information for the operation element. |
|
8
|
+
**structures** | [**Array<VapiMetadataMetamodelPackageInfoStructures>**](VapiMetadataMetamodelPackageInfoStructures.md) | Metamodel information of all the structure elements contained in the service element. The key in the {@term map} is the identifier of the structure element and the value in the {@term map} is the metamodel information for the structure element. |
|
9
|
+
**enumerations** | [**Array<VapiMetadataMetamodelPackageInfoEnumerations>**](VapiMetadataMetamodelPackageInfoEnumerations.md) | Metamodel information of all the enumeration elements contained in the service element. The key in the {@term map} is the identifier of the enumeration element and the value in the {@term map} is the metamodel information for the enumeration element. |
|
10
|
+
**constants** | [**Array<VapiMetadataMetamodelServiceInfoConstants>**](VapiMetadataMetamodelServiceInfoConstants.md) | Metamodel information of all the constant elements contained in the service element. The key in the {@term map} is the name of the constant element and the value in the {@term map} is the metamodel information for the contant element. |
|
11
|
+
**metadata** | [**Array<VapiMetadataMetamodelComponentInfoMetadata>**](VapiMetadataMetamodelComponentInfoMetadata.md) | Generic metadata elements for the service element. The key in the {@term map} is the name of the metadata element and the value is the data associated with that metadata element. <p> The {@link vapi.metadata.metamodel.MetadataIdentifier} contains possible string values for keys in the {@term map}. |
|
12
12
|
**documentation** | **String** | English language documentation for the service element. It can contain HTML markup and Javadoc tags. The first sentence of the service documentation is a complete sentence that identifies the service by name and summarizes the purpose of the service. The remaining part of the documentation provides a summary of how to use the operations defined in the service. |
|
13
13
|
|
14
14
|
|
@@ -5,10 +5,10 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**name** | **String** | Dot separated name of the structure element. The segments in the name reflect the organization of the APIs. The format of each segment is lower case with underscores. Each underscore represents a word boundary. If there are acronyms in the word, the capitalization is preserved. This format makes it easy to translate the segment into a different naming convention. |
|
7
7
|
**type** | [**VapiMetadataMetamodelStructureInfoType**](VapiMetadataMetamodelStructureInfoType.md) | |
|
8
|
-
**enumerations** | **Array<
|
9
|
-
**constants** | **Array<
|
8
|
+
**enumerations** | [**Array<VapiMetadataMetamodelPackageInfoEnumerations>**](VapiMetadataMetamodelPackageInfoEnumerations.md) | Metamodel information of all the enumeration elements contained in the structure element. The key in the {@term map} is the identifier of the enumeration element and the value is the metamodel information of the enumeration element. |
|
9
|
+
**constants** | [**Array<VapiMetadataMetamodelServiceInfoConstants>**](VapiMetadataMetamodelServiceInfoConstants.md) | Metamodel information of all the constant elements contained in the structure element. The key in the {@term map} is the name of the constant element and the value in the {@term map} is the metamodel information for the constant element. |
|
10
10
|
**fields** | [**Array<VapiMetadataMetamodelFieldInfo>**](VapiMetadataMetamodelFieldInfo.md) | Metamodel information of all the field elements. The order of the field elements in the list matches the order in which the fields are defined in the service. |
|
11
|
-
**metadata** | **Array<
|
11
|
+
**metadata** | [**Array<VapiMetadataMetamodelComponentInfoMetadata>**](VapiMetadataMetamodelComponentInfoMetadata.md) | Generic metadata elements for the structure element. The key in the {@term map} is the name of the metadata element and the value is the data associated with that metadata element. <p> The {@link vapi.metadata.metamodel.MetadataIdentifier} contains possible string values for keys in the {@term map}. |
|
12
12
|
**documentation** | **String** | English language documentation for a structure element. It can contain HTML markup and Javadoc tags. The first sentence of the structure documentation is a complete sentence that identifies the structure by name and summarizes the purpose of the structure. |
|
13
13
|
|
14
14
|
|
@@ -3,6 +3,6 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**packages** | **Array<
|
6
|
+
**packages** | [**Array<VapiMetadataPrivilegeComponentInfoPackages>**](VapiMetadataPrivilegeComponentInfoPackages.md) | Privilege information of all the package elements. The key in the {@term map} is the identifier of the package element and the value in the {@term map} is the privilege information for the package element. <p> For an explanation of privilege information containment within package elements, see {@link vapi.metadata.privilege.Package}. |
|
7
7
|
|
8
8
|
|
@@ -4,6 +4,6 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**privileges** | **Array<String>** | List of default privileges to be used for all the operations present in this package. If a particular operation element has no explicit privileges defined in the privilege definition file, these privileges are used for enforcing authorization. |
|
7
|
-
**services** | **Array<
|
7
|
+
**services** | [**Array<VapiMetadataPrivilegePackageInfoServices>**](VapiMetadataPrivilegePackageInfoServices.md) | Information about all service elements contained in this package element that contain privilege information. The key in the {@term map} is the identifier of the service element and the value in the {@term map} is the privilege information for the service element. For an explanation of privilege information containment within service elements, see {@link vapi.metadata.privilege.Service}. |
|
8
8
|
|
9
9
|
|
@@ -3,6 +3,6 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**operations** | **Array<
|
6
|
+
**operations** | [**Array<VapiMetadataPrivilegeServiceInfoOperations>**](VapiMetadataPrivilegeServiceInfoOperations.md) | Information about all operation elements contained in this service element that contain privilege information. The key in the {@term map} is the identifier of the operation element and the value in the {@term map} is the privilege information for the operation element. <p> For an explanation of containment of privilege information within operation elements, see {@link vapi.metadata.privilege.service.Operation}. |
|
7
7
|
|
8
8
|
|
@@ -4,11 +4,11 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**cancel**](VcenterActivationApi.md#cancel) | **POST** /com/vmware/vapi/vcenter/activation/id:{activation_id} | Sends a request to cancel the task associated with the provided {@param.name activationId}.
|
7
|
+
[**cancel**](VcenterActivationApi.md#cancel) | **POST** /com/vmware/vapi/vcenter/activation/id:{activation_id}?~action=cancel | Sends a request to cancel the task associated with the provided {@param.name activationId}.
|
8
8
|
|
9
9
|
|
10
10
|
# **cancel**
|
11
|
-
> cancel(activation_id
|
11
|
+
> cancel(activation_id)
|
12
12
|
|
13
13
|
Sends a request to cancel the task associated with the provided {@param.name activationId}.
|
14
14
|
|
@@ -26,11 +26,10 @@ end
|
|
26
26
|
|
27
27
|
api_instance = VSphereAutomation::VAPI::VcenterActivationApi.new
|
28
28
|
activation_id = 'activation_id_example' # String | the {@param.name activationId} associated with a vCenter Server task to be canceled.
|
29
|
-
action = 'action_example' # String | ~action=cancel
|
30
29
|
|
31
30
|
begin
|
32
31
|
#Sends a request to cancel the task associated with the provided {@param.name activationId}.
|
33
|
-
api_instance.cancel(activation_id
|
32
|
+
api_instance.cancel(activation_id)
|
34
33
|
rescue VSphereAutomation::ApiError => e
|
35
34
|
puts "Exception when calling VcenterActivationApi->cancel: #{e}"
|
36
35
|
end
|
@@ -41,7 +40,6 @@ end
|
|
41
40
|
Name | Type | Description | Notes
|
42
41
|
------------- | ------------- | ------------- | -------------
|
43
42
|
**activation_id** | **String**| the {@param.name activationId} associated with a vCenter Server task to be canceled. |
|
44
|
-
**action** | **String**| ~action=cancel |
|
45
43
|
|
46
44
|
### Return type
|
47
45
|
|
@@ -18,21 +18,19 @@ module VSphereAutomation
|
|
18
18
|
end
|
19
19
|
# Retrieves the fingerprint computed from the authentication metadata of the component element corresponding to {@param.name componentId}. <p> The fingerprint provides clients an efficient way to check if the metadata for a particular component has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of {@link vapi.metadata.authentication.Component#get}.
|
20
20
|
# @param component_id Identifier of the component element.
|
21
|
-
# @param action ~action=fingerprint
|
22
21
|
# @param [Hash] opts the optional parameters
|
23
22
|
# @return [VapiMetadataAuthenticationComponentFingerprintResult|VapiStdErrorsNotFoundError|]
|
24
|
-
def fingerprint(component_id,
|
25
|
-
data, _status_code, _headers = fingerprint_with_http_info(component_id,
|
23
|
+
def fingerprint(component_id, opts = {})
|
24
|
+
data, _status_code, _headers = fingerprint_with_http_info(component_id, opts)
|
26
25
|
data
|
27
26
|
end
|
28
27
|
|
29
28
|
# Retrieves the fingerprint computed from the authentication metadata of the component element corresponding to {@param.name componentId}. <p> The fingerprint provides clients an efficient way to check if the metadata for a particular component has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of {@link vapi.metadata.authentication.Component#get}.
|
30
29
|
# @api private
|
31
30
|
# @param component_id Identifier of the component element.
|
32
|
-
# @param action ~action=fingerprint
|
33
31
|
# @param [Hash] opts the optional parameters
|
34
32
|
# @return [Array<(VapiMetadataAuthenticationComponentFingerprintResult|VapiStdErrorsNotFoundError|, Fixnum, Hash)>] data, response status code and response headers
|
35
|
-
def fingerprint_with_http_info(component_id,
|
33
|
+
def fingerprint_with_http_info(component_id, opts = {})
|
36
34
|
if @api_client.config.debugging
|
37
35
|
@api_client.config.logger.debug 'Calling API: MetadataAuthenticationComponentApi.fingerprint ...'
|
38
36
|
end
|
@@ -40,20 +38,11 @@ module VSphereAutomation
|
|
40
38
|
if @api_client.config.client_side_validation && component_id.nil?
|
41
39
|
fail ArgumentError, "Missing the required parameter 'component_id' when calling MetadataAuthenticationComponentApi.fingerprint"
|
42
40
|
end
|
43
|
-
# verify the required parameter 'action' is set
|
44
|
-
if @api_client.config.client_side_validation && action.nil?
|
45
|
-
fail ArgumentError, "Missing the required parameter 'action' when calling MetadataAuthenticationComponentApi.fingerprint"
|
46
|
-
end
|
47
|
-
# verify enum value
|
48
|
-
if @api_client.config.client_side_validation && !['fingerprint'].include?(action)
|
49
|
-
fail ArgumentError, "invalid value for 'action', must be one of fingerprint"
|
50
|
-
end
|
51
41
|
# resource path
|
52
|
-
local_var_path = '/com/vmware/vapi/metadata/authentication/component/id:{component_id}'.sub('{' + 'component_id' + '}', component_id.to_s)
|
42
|
+
local_var_path = '/com/vmware/vapi/metadata/authentication/component/id:{component_id}?~action=fingerprint'.sub('{' + 'component_id' + '}', component_id.to_s)
|
53
43
|
|
54
44
|
# query parameters
|
55
45
|
query_params = {}
|
56
|
-
query_params[:'~action'] = action
|
57
46
|
|
58
47
|
# header parameters
|
59
48
|
header_params = {}
|
@@ -18,23 +18,21 @@ module VSphereAutomation
|
|
18
18
|
end
|
19
19
|
# Retrieves the authentication information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
20
20
|
# @param service_id Identifier of the service element.
|
21
|
-
# @param action ~action=get
|
22
21
|
# @param request_body
|
23
22
|
# @param [Hash] opts the optional parameters
|
24
23
|
# @return [VapiMetadataAuthenticationServiceOperationResult|VapiStdErrorsNotFoundError|]
|
25
|
-
def get(service_id,
|
26
|
-
data, _status_code, _headers = get_with_http_info(service_id,
|
24
|
+
def get(service_id, request_body, opts = {})
|
25
|
+
data, _status_code, _headers = get_with_http_info(service_id, request_body, opts)
|
27
26
|
data
|
28
27
|
end
|
29
28
|
|
30
29
|
# Retrieves the authentication information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
31
30
|
# @api private
|
32
31
|
# @param service_id Identifier of the service element.
|
33
|
-
# @param action ~action=get
|
34
32
|
# @param request_body
|
35
33
|
# @param [Hash] opts the optional parameters
|
36
34
|
# @return [Array<(VapiMetadataAuthenticationServiceOperationResult|VapiStdErrorsNotFoundError|, Fixnum, Hash)>] data, response status code and response headers
|
37
|
-
def get_with_http_info(service_id,
|
35
|
+
def get_with_http_info(service_id, request_body, opts = {})
|
38
36
|
if @api_client.config.debugging
|
39
37
|
@api_client.config.logger.debug 'Calling API: MetadataAuthenticationServiceOperationApi.get ...'
|
40
38
|
end
|
@@ -42,24 +40,15 @@ module VSphereAutomation
|
|
42
40
|
if @api_client.config.client_side_validation && service_id.nil?
|
43
41
|
fail ArgumentError, "Missing the required parameter 'service_id' when calling MetadataAuthenticationServiceOperationApi.get"
|
44
42
|
end
|
45
|
-
# verify the required parameter 'action' is set
|
46
|
-
if @api_client.config.client_side_validation && action.nil?
|
47
|
-
fail ArgumentError, "Missing the required parameter 'action' when calling MetadataAuthenticationServiceOperationApi.get"
|
48
|
-
end
|
49
|
-
# verify enum value
|
50
|
-
if @api_client.config.client_side_validation && !['get'].include?(action)
|
51
|
-
fail ArgumentError, "invalid value for 'action', must be one of get"
|
52
|
-
end
|
53
43
|
# verify the required parameter 'request_body' is set
|
54
44
|
if @api_client.config.client_side_validation && request_body.nil?
|
55
45
|
fail ArgumentError, "Missing the required parameter 'request_body' when calling MetadataAuthenticationServiceOperationApi.get"
|
56
46
|
end
|
57
47
|
# resource path
|
58
|
-
local_var_path = '/com/vmware/vapi/metadata/authentication/service/operation/id:{service_id}'.sub('{' + 'service_id' + '}', service_id.to_s)
|
48
|
+
local_var_path = '/com/vmware/vapi/metadata/authentication/service/operation/id:{service_id}?~action=get'.sub('{' + 'service_id' + '}', service_id.to_s)
|
59
49
|
|
60
50
|
# query parameters
|
61
51
|
query_params = {}
|
62
|
-
query_params[:'~action'] = action
|
63
52
|
|
64
53
|
# header parameters
|
65
54
|
header_params = {}
|
@@ -64,43 +64,32 @@ module VSphereAutomation
|
|
64
64
|
return data, status_code, headers
|
65
65
|
end
|
66
66
|
# Retrieves information about a command including information about how to execute that command.
|
67
|
-
# @param action ~action=get
|
68
67
|
# @param request_body
|
69
68
|
# @param [Hash] opts the optional parameters
|
70
69
|
# @return [VapiMetadataCliCommandResult|VapiStdErrorsNotFoundError|]
|
71
|
-
def get(
|
72
|
-
data, _status_code, _headers = get_with_http_info(
|
70
|
+
def get(request_body, opts = {})
|
71
|
+
data, _status_code, _headers = get_with_http_info(request_body, opts)
|
73
72
|
data
|
74
73
|
end
|
75
74
|
|
76
75
|
# Retrieves information about a command including information about how to execute that command.
|
77
76
|
# @api private
|
78
|
-
# @param action ~action=get
|
79
77
|
# @param request_body
|
80
78
|
# @param [Hash] opts the optional parameters
|
81
79
|
# @return [Array<(VapiMetadataCliCommandResult|VapiStdErrorsNotFoundError|, Fixnum, Hash)>] data, response status code and response headers
|
82
|
-
def get_with_http_info(
|
80
|
+
def get_with_http_info(request_body, opts = {})
|
83
81
|
if @api_client.config.debugging
|
84
82
|
@api_client.config.logger.debug 'Calling API: MetadataCliCommandApi.get ...'
|
85
83
|
end
|
86
|
-
# verify the required parameter 'action' is set
|
87
|
-
if @api_client.config.client_side_validation && action.nil?
|
88
|
-
fail ArgumentError, "Missing the required parameter 'action' when calling MetadataCliCommandApi.get"
|
89
|
-
end
|
90
|
-
# verify enum value
|
91
|
-
if @api_client.config.client_side_validation && !['get'].include?(action)
|
92
|
-
fail ArgumentError, "invalid value for 'action', must be one of get"
|
93
|
-
end
|
94
84
|
# verify the required parameter 'request_body' is set
|
95
85
|
if @api_client.config.client_side_validation && request_body.nil?
|
96
86
|
fail ArgumentError, "Missing the required parameter 'request_body' when calling MetadataCliCommandApi.get"
|
97
87
|
end
|
98
88
|
# resource path
|
99
|
-
local_var_path = '/com/vmware/vapi/metadata/cli/command'
|
89
|
+
local_var_path = '/com/vmware/vapi/metadata/cli/command?~action=get'
|
100
90
|
|
101
91
|
# query parameters
|
102
92
|
query_params = {}
|
103
|
-
query_params[:'~action'] = action
|
104
93
|
|
105
94
|
# header parameters
|
106
95
|
header_params = {}
|
@@ -17,37 +17,26 @@ module VSphereAutomation
|
|
17
17
|
@api_client = api_client
|
18
18
|
end
|
19
19
|
# Returns the aggregate fingerprint of all the namespace metadata from all the metadata sources. <p> The fingerprint provides clients an efficient way to check if the metadata for namespaces has been modified on the server.
|
20
|
-
# @param action ~action=fingerprint
|
21
20
|
# @param [Hash] opts the optional parameters
|
22
21
|
# @return [VapiMetadataCliNamespaceFingerprintResult|]
|
23
|
-
def fingerprint(
|
24
|
-
data, _status_code, _headers = fingerprint_with_http_info(
|
22
|
+
def fingerprint(opts = {})
|
23
|
+
data, _status_code, _headers = fingerprint_with_http_info(opts)
|
25
24
|
data
|
26
25
|
end
|
27
26
|
|
28
27
|
# Returns the aggregate fingerprint of all the namespace metadata from all the metadata sources. <p> The fingerprint provides clients an efficient way to check if the metadata for namespaces has been modified on the server.
|
29
28
|
# @api private
|
30
|
-
# @param action ~action=fingerprint
|
31
29
|
# @param [Hash] opts the optional parameters
|
32
30
|
# @return [Array<(VapiMetadataCliNamespaceFingerprintResult|, Fixnum, Hash)>] data, response status code and response headers
|
33
|
-
def fingerprint_with_http_info(
|
31
|
+
def fingerprint_with_http_info(opts = {})
|
34
32
|
if @api_client.config.debugging
|
35
33
|
@api_client.config.logger.debug 'Calling API: MetadataCliNamespaceApi.fingerprint ...'
|
36
34
|
end
|
37
|
-
# verify the required parameter 'action' is set
|
38
|
-
if @api_client.config.client_side_validation && action.nil?
|
39
|
-
fail ArgumentError, "Missing the required parameter 'action' when calling MetadataCliNamespaceApi.fingerprint"
|
40
|
-
end
|
41
|
-
# verify enum value
|
42
|
-
if @api_client.config.client_side_validation && !['fingerprint'].include?(action)
|
43
|
-
fail ArgumentError, "invalid value for 'action', must be one of fingerprint"
|
44
|
-
end
|
45
35
|
# resource path
|
46
|
-
local_var_path = '/com/vmware/vapi/metadata/cli/namespace'
|
36
|
+
local_var_path = '/com/vmware/vapi/metadata/cli/namespace?~action=fingerprint'
|
47
37
|
|
48
38
|
# query parameters
|
49
39
|
query_params = {}
|
50
|
-
query_params[:'~action'] = action
|
51
40
|
|
52
41
|
# header parameters
|
53
42
|
header_params = {}
|
@@ -18,21 +18,19 @@ module VSphereAutomation
|
|
18
18
|
end
|
19
19
|
# Retrieves the fingerprint computed from the metamodel metadata of the component element corresponding to {@param.name componentId}. <p> The fingerprint provides clients an efficient way to check if the metadata for a particular component element has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of {@link vapi.metadata.metamodel.Component#get}.
|
20
20
|
# @param component_id Identifier of the component element.
|
21
|
-
# @param action ~action=fingerprint
|
22
21
|
# @param [Hash] opts the optional parameters
|
23
22
|
# @return [VapiMetadataMetamodelComponentFingerprintResult|VapiStdErrorsNotFoundError|]
|
24
|
-
def fingerprint(component_id,
|
25
|
-
data, _status_code, _headers = fingerprint_with_http_info(component_id,
|
23
|
+
def fingerprint(component_id, opts = {})
|
24
|
+
data, _status_code, _headers = fingerprint_with_http_info(component_id, opts)
|
26
25
|
data
|
27
26
|
end
|
28
27
|
|
29
28
|
# Retrieves the fingerprint computed from the metamodel metadata of the component element corresponding to {@param.name componentId}. <p> The fingerprint provides clients an efficient way to check if the metadata for a particular component element has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of {@link vapi.metadata.metamodel.Component#get}.
|
30
29
|
# @api private
|
31
30
|
# @param component_id Identifier of the component element.
|
32
|
-
# @param action ~action=fingerprint
|
33
31
|
# @param [Hash] opts the optional parameters
|
34
32
|
# @return [Array<(VapiMetadataMetamodelComponentFingerprintResult|VapiStdErrorsNotFoundError|, Fixnum, Hash)>] data, response status code and response headers
|
35
|
-
def fingerprint_with_http_info(component_id,
|
33
|
+
def fingerprint_with_http_info(component_id, opts = {})
|
36
34
|
if @api_client.config.debugging
|
37
35
|
@api_client.config.logger.debug 'Calling API: MetadataMetamodelComponentApi.fingerprint ...'
|
38
36
|
end
|
@@ -40,20 +38,11 @@ module VSphereAutomation
|
|
40
38
|
if @api_client.config.client_side_validation && component_id.nil?
|
41
39
|
fail ArgumentError, "Missing the required parameter 'component_id' when calling MetadataMetamodelComponentApi.fingerprint"
|
42
40
|
end
|
43
|
-
# verify the required parameter 'action' is set
|
44
|
-
if @api_client.config.client_side_validation && action.nil?
|
45
|
-
fail ArgumentError, "Missing the required parameter 'action' when calling MetadataMetamodelComponentApi.fingerprint"
|
46
|
-
end
|
47
|
-
# verify enum value
|
48
|
-
if @api_client.config.client_side_validation && !['fingerprint'].include?(action)
|
49
|
-
fail ArgumentError, "invalid value for 'action', must be one of fingerprint"
|
50
|
-
end
|
51
41
|
# resource path
|
52
|
-
local_var_path = '/com/vmware/vapi/metadata/metamodel/component/id:{component_id}'.sub('{' + 'component_id' + '}', component_id.to_s)
|
42
|
+
local_var_path = '/com/vmware/vapi/metadata/metamodel/component/id:{component_id}?~action=fingerprint'.sub('{' + 'component_id' + '}', component_id.to_s)
|
53
43
|
|
54
44
|
# query parameters
|
55
45
|
query_params = {}
|
56
|
-
query_params[:'~action'] = action
|
57
46
|
|
58
47
|
# header parameters
|
59
48
|
header_params = {}
|
@@ -18,21 +18,19 @@ module VSphereAutomation
|
|
18
18
|
end
|
19
19
|
# Retrieves the fingerprint computed from the privilege metadata of the component element corresponding to {@param.name componentId}. <p> The fingerprint provides clients an efficient way to check if the metadata for a particular component has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of {@link vapi.metadata.privilege.Component#get}.
|
20
20
|
# @param component_id Identifier of the component element.
|
21
|
-
# @param action ~action=fingerprint
|
22
21
|
# @param [Hash] opts the optional parameters
|
23
22
|
# @return [VapiMetadataPrivilegeComponentFingerprintResult|VapiStdErrorsNotFoundError|]
|
24
|
-
def fingerprint(component_id,
|
25
|
-
data, _status_code, _headers = fingerprint_with_http_info(component_id,
|
23
|
+
def fingerprint(component_id, opts = {})
|
24
|
+
data, _status_code, _headers = fingerprint_with_http_info(component_id, opts)
|
26
25
|
data
|
27
26
|
end
|
28
27
|
|
29
28
|
# Retrieves the fingerprint computed from the privilege metadata of the component element corresponding to {@param.name componentId}. <p> The fingerprint provides clients an efficient way to check if the metadata for a particular component has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of {@link vapi.metadata.privilege.Component#get}.
|
30
29
|
# @api private
|
31
30
|
# @param component_id Identifier of the component element.
|
32
|
-
# @param action ~action=fingerprint
|
33
31
|
# @param [Hash] opts the optional parameters
|
34
32
|
# @return [Array<(VapiMetadataPrivilegeComponentFingerprintResult|VapiStdErrorsNotFoundError|, Fixnum, Hash)>] data, response status code and response headers
|
35
|
-
def fingerprint_with_http_info(component_id,
|
33
|
+
def fingerprint_with_http_info(component_id, opts = {})
|
36
34
|
if @api_client.config.debugging
|
37
35
|
@api_client.config.logger.debug 'Calling API: MetadataPrivilegeComponentApi.fingerprint ...'
|
38
36
|
end
|
@@ -40,20 +38,11 @@ module VSphereAutomation
|
|
40
38
|
if @api_client.config.client_side_validation && component_id.nil?
|
41
39
|
fail ArgumentError, "Missing the required parameter 'component_id' when calling MetadataPrivilegeComponentApi.fingerprint"
|
42
40
|
end
|
43
|
-
# verify the required parameter 'action' is set
|
44
|
-
if @api_client.config.client_side_validation && action.nil?
|
45
|
-
fail ArgumentError, "Missing the required parameter 'action' when calling MetadataPrivilegeComponentApi.fingerprint"
|
46
|
-
end
|
47
|
-
# verify enum value
|
48
|
-
if @api_client.config.client_side_validation && !['fingerprint'].include?(action)
|
49
|
-
fail ArgumentError, "invalid value for 'action', must be one of fingerprint"
|
50
|
-
end
|
51
41
|
# resource path
|
52
|
-
local_var_path = '/com/vmware/vapi/metadata/privilege/component/id:{component_id}'.sub('{' + 'component_id' + '}', component_id.to_s)
|
42
|
+
local_var_path = '/com/vmware/vapi/metadata/privilege/component/id:{component_id}?~action=fingerprint'.sub('{' + 'component_id' + '}', component_id.to_s)
|
53
43
|
|
54
44
|
# query parameters
|
55
45
|
query_params = {}
|
56
|
-
query_params[:'~action'] = action
|
57
46
|
|
58
47
|
# header parameters
|
59
48
|
header_params = {}
|