vsphere-automation-vapi 0.2.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +11 -17
- 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/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.4.1.gem +0 -0
- data/pkg/vsphere-automation-vapi-0.4.2.gem +0 -0
- data/spec/api/metadata_authentication_component_api_spec.rb +0 -1
- data/spec/api/metadata_authentication_service_operation_api_spec.rb +0 -1
- data/spec/api/metadata_cli_command_api_spec.rb +0 -1
- data/spec/api/metadata_cli_namespace_api_spec.rb +0 -1
- data/spec/api/metadata_metamodel_component_api_spec.rb +0 -1
- data/spec/api/metadata_privilege_component_api_spec.rb +0 -1
- data/spec/api/metadata_privilege_service_operation_api_spec.rb +0 -1
- data/spec/api/rest_navigation_options_api_spec.rb +0 -1
- data/spec/api/vcenter_activation_api_spec.rb +0 -1
- data/spec/spec_helper.rb +3 -0
- data/vsphere-automation-vapi.gemspec +2 -3
- metadata +9 -14
- data/lib/vsphere-automation-vapi/api_client.rb +0 -390
- data/lib/vsphere-automation-vapi/api_error.rb +0 -34
- data/lib/vsphere-automation-vapi/configuration.rb +0 -212
- data/spec/api_client_spec.rb +0 -222
- data/spec/configuration_spec.rb +0 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3cdf8a0350015d61f54436a0ad2162879a052443153f259c17d47de35886988
|
4
|
+
data.tar.gz: f1a02a09540dbb623f63eb2f824eeabbd9813d2e13571cca7697ee5c803c8f6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aa5807cf85348dae93a03c155038ba5429f7939e1c9019dc37854307dc6458f9ecefb65313599f4b8c9de20c82cdb9fc7d7b1cc81478533d97c5635bf0d288f
|
7
|
+
data.tar.gz: 2abbd94bf222d0513f18c954ddc1f791b4708b6a4db78f453bb62e800b0f1e6d7d3dbe10af39212b0c725c93ff2d2371ed2dd25128aaf912ac89325b71756b44
|
data/Gemfile.lock
CHANGED
@@ -1,45 +1,41 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../cis
|
3
3
|
specs:
|
4
|
-
vsphere-automation-cis (0.2
|
5
|
-
vsphere-automation-runtime (~> 0.2
|
4
|
+
vsphere-automation-cis (0.4.2)
|
5
|
+
vsphere-automation-runtime (~> 0.4.2)
|
6
6
|
|
7
7
|
PATH
|
8
8
|
remote: ../runtime
|
9
9
|
specs:
|
10
|
-
vsphere-automation-runtime (0.2
|
11
|
-
typhoeus (~> 1.3)
|
10
|
+
vsphere-automation-runtime (0.4.2)
|
12
11
|
|
13
12
|
PATH
|
14
13
|
remote: .
|
15
14
|
specs:
|
16
|
-
vsphere-automation-vapi (0.2
|
17
|
-
vsphere-automation-cis (~> 0.2
|
18
|
-
vsphere-automation-runtime (~> 0.2
|
15
|
+
vsphere-automation-vapi (0.4.2)
|
16
|
+
vsphere-automation-cis (~> 0.4.2)
|
17
|
+
vsphere-automation-runtime (~> 0.4.2)
|
19
18
|
|
20
19
|
GEM
|
21
20
|
remote: https://rubygems.org/
|
22
21
|
specs:
|
23
|
-
addressable (2.
|
24
|
-
public_suffix (>= 2.0.2, <
|
22
|
+
addressable (2.7.0)
|
23
|
+
public_suffix (>= 2.0.2, < 5.0)
|
25
24
|
ast (2.4.0)
|
26
25
|
coderay (1.1.2)
|
27
26
|
crack (0.4.3)
|
28
27
|
safe_yaml (~> 1.0.0)
|
29
28
|
diff-lcs (1.3)
|
30
|
-
ethon (0.12.0)
|
31
|
-
ffi (>= 1.3.0)
|
32
|
-
ffi (1.11.1)
|
33
29
|
hashdiff (1.0.0)
|
34
30
|
jaro_winkler (1.5.3)
|
35
31
|
method_source (0.9.2)
|
36
32
|
parallel (1.17.0)
|
37
|
-
parser (2.6.
|
33
|
+
parser (2.6.4.0)
|
38
34
|
ast (~> 2.4.0)
|
39
35
|
pry (0.12.2)
|
40
36
|
coderay (~> 1.1.0)
|
41
37
|
method_source (~> 0.9.0)
|
42
|
-
public_suffix (
|
38
|
+
public_suffix (4.0.1)
|
43
39
|
rainbow (3.0.0)
|
44
40
|
rake (12.3.3)
|
45
41
|
rspec (3.8.0)
|
@@ -64,11 +60,9 @@ GEM
|
|
64
60
|
unicode-display_width (>= 1.4.0, < 1.7)
|
65
61
|
ruby-progressbar (1.10.1)
|
66
62
|
safe_yaml (1.0.5)
|
67
|
-
typhoeus (1.3.1)
|
68
|
-
ethon (>= 0.9.0)
|
69
63
|
unicode-display_width (1.6.0)
|
70
64
|
vcr (5.0.0)
|
71
|
-
webmock (3.
|
65
|
+
webmock (3.7.2)
|
72
66
|
addressable (>= 2.3.6)
|
73
67
|
crack (>= 0.3.2)
|
74
68
|
hashdiff (>= 0.4.0, < 2.0.0)
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
The Ruby gem for the vSphere VAPI API
|
4
4
|
|
5
5
|
- API version: 2.0.0
|
6
|
-
- Package version: 0.2
|
6
|
+
- Package version: 0.4.2
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
@@ -39,11 +39,10 @@ end
|
|
39
39
|
|
40
40
|
api_instance = VSphereAutomation::VAPI::MetadataAuthenticationComponentApi.new
|
41
41
|
component_id = 'component_id_example' # String | Identifier of the component element.
|
42
|
-
action = 'action_example' # String | ~action=fingerprint
|
43
42
|
|
44
43
|
begin
|
45
44
|
#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}.
|
46
|
-
result = api_instance.fingerprint(component_id
|
45
|
+
result = api_instance.fingerprint(component_id)
|
47
46
|
p result
|
48
47
|
rescue VSphereAutomation::ApiError => e
|
49
48
|
puts "Exception when calling MetadataAuthenticationComponentApi->fingerprint: #{e}"
|
@@ -57,22 +56,22 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
57
56
|
|
58
57
|
Class | Method | HTTP request | Description
|
59
58
|
------------ | ------------- | ------------- | -------------
|
60
|
-
`VSphereAutomation::VAPI::MetadataAuthenticationComponentApi` | [**fingerprint**](docs/MetadataAuthenticationComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/authentication/component/id:{component_id} | 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}.
|
59
|
+
`VSphereAutomation::VAPI::MetadataAuthenticationComponentApi` | [**fingerprint**](docs/MetadataAuthenticationComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/authentication/component/id:{component_id}?~action=fingerprint | 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}.
|
61
60
|
`VSphereAutomation::VAPI::MetadataAuthenticationComponentApi` | [**get**](docs/MetadataAuthenticationComponentApi.md#get) | **GET** /com/vmware/vapi/metadata/authentication/component/id:{component_id} | Retrieves authentication information about the component element corresponding to {@param.name componentId}. <p> The {@link ComponentData} contains the authentication information about the component element and it's fingerprint. It contains information about all the package elements that belong to this component element.
|
62
61
|
`VSphereAutomation::VAPI::MetadataAuthenticationComponentApi` | [**list**](docs/MetadataAuthenticationComponentApi.md#list) | **GET** /com/vmware/vapi/metadata/authentication/component | Returns the identifiers for the component elements that have authentication information.
|
63
62
|
`VSphereAutomation::VAPI::MetadataAuthenticationPackageApi` | [**get**](docs/MetadataAuthenticationPackageApi.md#get) | **GET** /com/vmware/vapi/metadata/authentication/package/id:{package_id} | Retrieves authentication information about the package element corresponding to {@param.name packageId}.
|
64
63
|
`VSphereAutomation::VAPI::MetadataAuthenticationPackageApi` | [**list**](docs/MetadataAuthenticationPackageApi.md#list) | **GET** /com/vmware/vapi/metadata/authentication/package | Returns the identifiers for the package elements that have authentication information.
|
65
64
|
`VSphereAutomation::VAPI::MetadataAuthenticationServiceApi` | [**get**](docs/MetadataAuthenticationServiceApi.md#get) | **GET** /com/vmware/vapi/metadata/authentication/service/id:{service_id} | Retrieves authentication information about the service element corresponding to {@param.name serviceId}.
|
66
65
|
`VSphereAutomation::VAPI::MetadataAuthenticationServiceApi` | [**list**](docs/MetadataAuthenticationServiceApi.md#list) | **GET** /com/vmware/vapi/metadata/authentication/service | Returns the identifiers for the service elements that have authentication information.
|
67
|
-
`VSphereAutomation::VAPI::MetadataAuthenticationServiceOperationApi` | [**get**](docs/MetadataAuthenticationServiceOperationApi.md#get) | **POST** /com/vmware/vapi/metadata/authentication/service/operation/id:{service_id} | Retrieves the authentication information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
66
|
+
`VSphereAutomation::VAPI::MetadataAuthenticationServiceOperationApi` | [**get**](docs/MetadataAuthenticationServiceOperationApi.md#get) | **POST** /com/vmware/vapi/metadata/authentication/service/operation/id:{service_id}?~action=get | Retrieves the authentication information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
68
67
|
`VSphereAutomation::VAPI::MetadataAuthenticationServiceOperationApi` | [**list**](docs/MetadataAuthenticationServiceOperationApi.md#list) | **GET** /com/vmware/vapi/metadata/authentication/service/operation | Returns the identifiers for the operation elements contained in the service element corresponding to {@param.name serviceId} that have authentication information.
|
69
68
|
`VSphereAutomation::VAPI::MetadataCliCommandApi` | [**fingerprint**](docs/MetadataCliCommandApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/cli/command?~action=fingerprint | Returns the aggregate fingerprint of all the command metadata from all the metadata sources. <p> The fingerprint provides clients an efficient way to check if the metadata for commands has been modified on the server.
|
70
|
-
`VSphereAutomation::VAPI::MetadataCliCommandApi` | [**get**](docs/MetadataCliCommandApi.md#get) | **POST** /com/vmware/vapi/metadata/cli/command | Retrieves information about a command including information about how to execute that command.
|
69
|
+
`VSphereAutomation::VAPI::MetadataCliCommandApi` | [**get**](docs/MetadataCliCommandApi.md#get) | **POST** /com/vmware/vapi/metadata/cli/command?~action=get | Retrieves information about a command including information about how to execute that command.
|
71
70
|
`VSphereAutomation::VAPI::MetadataCliCommandApi` | [**list**](docs/MetadataCliCommandApi.md#list) | **GET** /com/vmware/vapi/metadata/cli/command | Returns the identifiers of all commands, or commands in a specific namespace.
|
72
|
-
`VSphereAutomation::VAPI::MetadataCliNamespaceApi` | [**fingerprint**](docs/MetadataCliNamespaceApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/cli/namespace | 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.
|
71
|
+
`VSphereAutomation::VAPI::MetadataCliNamespaceApi` | [**fingerprint**](docs/MetadataCliNamespaceApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/cli/namespace?~action=fingerprint | 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.
|
73
72
|
`VSphereAutomation::VAPI::MetadataCliNamespaceApi` | [**get**](docs/MetadataCliNamespaceApi.md#get) | **POST** /com/vmware/vapi/metadata/cli/namespace?~action=get | Retreives information about a namespace including information about children of that namespace.
|
74
73
|
`VSphereAutomation::VAPI::MetadataCliNamespaceApi` | [**list**](docs/MetadataCliNamespaceApi.md#list) | **GET** /com/vmware/vapi/metadata/cli/namespace | Returns the identifiers of all namespaces registered with the infrastructure.
|
75
|
-
`VSphereAutomation::VAPI::MetadataMetamodelComponentApi` | [**fingerprint**](docs/MetadataMetamodelComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/metamodel/component/id:{component_id} | 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}.
|
74
|
+
`VSphereAutomation::VAPI::MetadataMetamodelComponentApi` | [**fingerprint**](docs/MetadataMetamodelComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/metamodel/component/id:{component_id}?~action=fingerprint | 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}.
|
76
75
|
`VSphereAutomation::VAPI::MetadataMetamodelComponentApi` | [**get**](docs/MetadataMetamodelComponentApi.md#get) | **GET** /com/vmware/vapi/metadata/metamodel/component/id:{component_id} | Retrieves metamodel information about the component element corresponding to {@param.name componentId}. <p> The {@link ComponentData} contains the metamodel information about the component and it's fingerprint. It contains information about all the package elements that are contained in this component element.
|
77
76
|
`VSphereAutomation::VAPI::MetadataMetamodelComponentApi` | [**list**](docs/MetadataMetamodelComponentApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/component | Returns the identifiers for the component elements that are registered with the infrastructure.
|
78
77
|
`VSphereAutomation::VAPI::MetadataMetamodelEnumerationApi` | [**get**](docs/MetadataMetamodelEnumerationApi.md#get) | **GET** /com/vmware/vapi/metadata/metamodel/enumeration/id:{enumeration_id} | Retrieves information about the enumeration element corresponding to {@param.name enumerationId}. <p> The {@link EnumerationInfo} contains the metamodel information about the enumeration value element contained in the enumeration element.
|
@@ -87,22 +86,22 @@ Class | Method | HTTP request | Description
|
|
87
86
|
`VSphereAutomation::VAPI::MetadataMetamodelServiceOperationApi` | [**list**](docs/MetadataMetamodelServiceOperationApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/service/operation | Returns the identifiers for the operation elements that are defined in the scope of {@param.name serviceId}.
|
88
87
|
`VSphereAutomation::VAPI::MetadataMetamodelStructureApi` | [**get**](docs/MetadataMetamodelStructureApi.md#get) | **GET** /com/vmware/vapi/metadata/metamodel/structure/id:{structure_id} | Retrieves information about the structure element corresponding to {@param.name structureId}. <p> The {@link StructureInfo} contains the metamodel information about the structure element. It contains information about all the field elements and enumeration elements contained in this structure element.
|
89
88
|
`VSphereAutomation::VAPI::MetadataMetamodelStructureApi` | [**list**](docs/MetadataMetamodelStructureApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/structure | Returns the identifiers for the structure elements that are contained in all the package elements and service elements.
|
90
|
-
`VSphereAutomation::VAPI::MetadataPrivilegeComponentApi` | [**fingerprint**](docs/MetadataPrivilegeComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/privilege/component/id:{component_id} | 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}.
|
89
|
+
`VSphereAutomation::VAPI::MetadataPrivilegeComponentApi` | [**fingerprint**](docs/MetadataPrivilegeComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/privilege/component/id:{component_id}?~action=fingerprint | 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}.
|
91
90
|
`VSphereAutomation::VAPI::MetadataPrivilegeComponentApi` | [**get**](docs/MetadataPrivilegeComponentApi.md#get) | **GET** /com/vmware/vapi/metadata/privilege/component/id:{component_id} | Retrieves privilege information about the component element corresponding to {@param.name componentId}. <p> The {@link ComponentData} contains the privilege information about the component element and its fingerprint. It contains information about all the package elements that belong to this component element.
|
92
91
|
`VSphereAutomation::VAPI::MetadataPrivilegeComponentApi` | [**list**](docs/MetadataPrivilegeComponentApi.md#list) | **GET** /com/vmware/vapi/metadata/privilege/component | Returns the identifiers for the component elements that have privilege information.
|
93
92
|
`VSphereAutomation::VAPI::MetadataPrivilegePackageApi` | [**get**](docs/MetadataPrivilegePackageApi.md#get) | **GET** /com/vmware/vapi/metadata/privilege/package/id:{package_id} | Retrieves privilege information about the package element corresponding to {@param.name packageId}.
|
94
93
|
`VSphereAutomation::VAPI::MetadataPrivilegePackageApi` | [**list**](docs/MetadataPrivilegePackageApi.md#list) | **GET** /com/vmware/vapi/metadata/privilege/package | Returns the identifiers for the package elements that have privilege information.
|
95
94
|
`VSphereAutomation::VAPI::MetadataPrivilegeServiceApi` | [**get**](docs/MetadataPrivilegeServiceApi.md#get) | **GET** /com/vmware/vapi/metadata/privilege/service/id:{service_id} | Retrieves privilege information about the service element corresponding to {@param.name serviceId}.
|
96
95
|
`VSphereAutomation::VAPI::MetadataPrivilegeServiceApi` | [**list**](docs/MetadataPrivilegeServiceApi.md#list) | **GET** /com/vmware/vapi/metadata/privilege/service | Returns the identifiers for the service elements that have privilege information.
|
97
|
-
`VSphereAutomation::VAPI::MetadataPrivilegeServiceOperationApi` | [**get**](docs/MetadataPrivilegeServiceOperationApi.md#get) | **POST** /com/vmware/vapi/metadata/privilege/service/operation/id:{service_id} | Retrieves the privilege information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
96
|
+
`VSphereAutomation::VAPI::MetadataPrivilegeServiceOperationApi` | [**get**](docs/MetadataPrivilegeServiceOperationApi.md#get) | **POST** /com/vmware/vapi/metadata/privilege/service/operation/id:{service_id}?~action=get | Retrieves the privilege information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
98
97
|
`VSphereAutomation::VAPI::MetadataPrivilegeServiceOperationApi` | [**list**](docs/MetadataPrivilegeServiceOperationApi.md#list) | **GET** /com/vmware/vapi/metadata/privilege/service/operation | Returns the identifiers for the operation elements contained in the service element corresponding to {@param.name serviceId} that have privilege information.
|
99
98
|
`VSphereAutomation::VAPI::RestNavigationComponentApi` | [**list**](docs/RestNavigationComponentApi.md#list) | **GET** /com/vmware/vapi/rest/navigation/component | Gets list of all vAPI REST {@link Component}s.
|
100
|
-
`VSphereAutomation::VAPI::RestNavigationOptionsApi` | [**get**](docs/RestNavigationOptionsApi.md#get) | **POST** /com/vmware/vapi/rest/navigation/options | Retrieves operations for specific URL.
|
99
|
+
`VSphereAutomation::VAPI::RestNavigationOptionsApi` | [**get**](docs/RestNavigationOptionsApi.md#get) | **POST** /com/vmware/vapi/rest/navigation/options?~action=get | Retrieves operations for specific URL.
|
101
100
|
`VSphereAutomation::VAPI::RestNavigationResourceApi` | [**get**](docs/RestNavigationResourceApi.md#get) | **GET** /com/vmware/vapi/rest/navigation/resource/id:{type_id}/id:{instance_id} | Gets {@link List} of all {@link Operation}s about a vAPI REST {@link Resource}. Information is searched for by {@param.name typeId} and {@param.name instanceId} is used only in URLs.
|
102
101
|
`VSphereAutomation::VAPI::RestNavigationResourceApi` | [**list**](docs/RestNavigationResourceApi.md#list) | **GET** /com/vmware/vapi/rest/navigation/resource | Gets list of all vAPI REST {@link Resource}s.
|
103
102
|
`VSphereAutomation::VAPI::RestNavigationRootApi` | [**get**](docs/RestNavigationRootApi.md#get) | **GET** /com/vmware/vapi/rest/navigation/root | Retrieves information about a vAPI REST {@link Root}.
|
104
103
|
`VSphereAutomation::VAPI::RestNavigationServiceApi` | [**list**](docs/RestNavigationServiceApi.md#list) | **GET** /com/vmware/vapi/rest/navigation/service | Gets list of all vAPI REST {@link Service}s for a vAPI REST {@link Component}.
|
105
|
-
`VSphereAutomation::VAPI::VcenterActivationApi` | [**cancel**](docs/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}.
|
104
|
+
`VSphereAutomation::VAPI::VcenterActivationApi` | [**cancel**](docs/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}.
|
106
105
|
|
107
106
|
|
108
107
|
## Documentation for Models
|
@@ -4,13 +4,13 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**fingerprint**](MetadataAuthenticationComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/authentication/component/id:{component_id} | 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}.
|
7
|
+
[**fingerprint**](MetadataAuthenticationComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/authentication/component/id:{component_id}?~action=fingerprint | 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}.
|
8
8
|
[**get**](MetadataAuthenticationComponentApi.md#get) | **GET** /com/vmware/vapi/metadata/authentication/component/id:{component_id} | Retrieves authentication information about the component element corresponding to {@param.name componentId}. <p> The {@link ComponentData} contains the authentication information about the component element and it's fingerprint. It contains information about all the package elements that belong to this component element.
|
9
9
|
[**list**](MetadataAuthenticationComponentApi.md#list) | **GET** /com/vmware/vapi/metadata/authentication/component | Returns the identifiers for the component elements that have authentication information.
|
10
10
|
|
11
11
|
|
12
12
|
# **fingerprint**
|
13
|
-
> VapiMetadataAuthenticationComponentFingerprintResult fingerprint(component_id
|
13
|
+
> VapiMetadataAuthenticationComponentFingerprintResult fingerprint(component_id)
|
14
14
|
|
15
15
|
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}.
|
16
16
|
|
@@ -28,11 +28,10 @@ end
|
|
28
28
|
|
29
29
|
api_instance = VSphereAutomation::VAPI::MetadataAuthenticationComponentApi.new
|
30
30
|
component_id = 'component_id_example' # String | Identifier of the component element.
|
31
|
-
action = 'action_example' # String | ~action=fingerprint
|
32
31
|
|
33
32
|
begin
|
34
33
|
#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}.
|
35
|
-
result = api_instance.fingerprint(component_id
|
34
|
+
result = api_instance.fingerprint(component_id)
|
36
35
|
p result
|
37
36
|
rescue VSphereAutomation::ApiError => e
|
38
37
|
puts "Exception when calling MetadataAuthenticationComponentApi->fingerprint: #{e}"
|
@@ -44,7 +43,6 @@ end
|
|
44
43
|
Name | Type | Description | Notes
|
45
44
|
------------- | ------------- | ------------- | -------------
|
46
45
|
**component_id** | **String**| Identifier of the component element. |
|
47
|
-
**action** | **String**| ~action=fingerprint |
|
48
46
|
|
49
47
|
### Return type
|
50
48
|
|
@@ -4,12 +4,12 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**get**](MetadataAuthenticationServiceOperationApi.md#get) | **POST** /com/vmware/vapi/metadata/authentication/service/operation/id:{service_id} | Retrieves the authentication information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
7
|
+
[**get**](MetadataAuthenticationServiceOperationApi.md#get) | **POST** /com/vmware/vapi/metadata/authentication/service/operation/id:{service_id}?~action=get | Retrieves the authentication information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
8
8
|
[**list**](MetadataAuthenticationServiceOperationApi.md#list) | **GET** /com/vmware/vapi/metadata/authentication/service/operation | Returns the identifiers for the operation elements contained in the service element corresponding to {@param.name serviceId} that have authentication information.
|
9
9
|
|
10
10
|
|
11
11
|
# **get**
|
12
|
-
> VapiMetadataAuthenticationServiceOperationResult get(service_id,
|
12
|
+
> VapiMetadataAuthenticationServiceOperationResult get(service_id, request_body)
|
13
13
|
|
14
14
|
Retrieves the authentication information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
15
15
|
|
@@ -27,12 +27,11 @@ end
|
|
27
27
|
|
28
28
|
api_instance = VSphereAutomation::VAPI::MetadataAuthenticationServiceOperationApi.new
|
29
29
|
service_id = 'service_id_example' # String | Identifier of the service element.
|
30
|
-
action = 'action_example' # String | ~action=get
|
31
30
|
request_body = VAPI::VapiMetadataAuthenticationServiceOperationGet.new # VapiMetadataAuthenticationServiceOperationGet |
|
32
31
|
|
33
32
|
begin
|
34
33
|
#Retrieves the authentication information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
35
|
-
result = api_instance.get(service_id,
|
34
|
+
result = api_instance.get(service_id, request_body)
|
36
35
|
p result
|
37
36
|
rescue VSphereAutomation::ApiError => e
|
38
37
|
puts "Exception when calling MetadataAuthenticationServiceOperationApi->get: #{e}"
|
@@ -44,7 +43,6 @@ end
|
|
44
43
|
Name | Type | Description | Notes
|
45
44
|
------------- | ------------- | ------------- | -------------
|
46
45
|
**service_id** | **String**| Identifier of the service element. |
|
47
|
-
**action** | **String**| ~action=get |
|
48
46
|
**request_body** | [**VapiMetadataAuthenticationServiceOperationGet**](VapiMetadataAuthenticationServiceOperationGet.md)| |
|
49
47
|
|
50
48
|
### Return type
|
@@ -5,7 +5,7 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**fingerprint**](MetadataCliCommandApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/cli/command?~action=fingerprint | Returns the aggregate fingerprint of all the command metadata from all the metadata sources. <p> The fingerprint provides clients an efficient way to check if the metadata for commands has been modified on the server.
|
8
|
-
[**get**](MetadataCliCommandApi.md#get) | **POST** /com/vmware/vapi/metadata/cli/command | Retrieves information about a command including information about how to execute that command.
|
8
|
+
[**get**](MetadataCliCommandApi.md#get) | **POST** /com/vmware/vapi/metadata/cli/command?~action=get | Retrieves information about a command including information about how to execute that command.
|
9
9
|
[**list**](MetadataCliCommandApi.md#list) | **GET** /com/vmware/vapi/metadata/cli/command | Returns the identifiers of all commands, or commands in a specific namespace.
|
10
10
|
|
11
11
|
|
@@ -56,7 +56,7 @@ This endpoint does not need any parameter.
|
|
56
56
|
|
57
57
|
|
58
58
|
# **get**
|
59
|
-
> VapiMetadataCliCommandResult get(
|
59
|
+
> VapiMetadataCliCommandResult get(request_body)
|
60
60
|
|
61
61
|
Retrieves information about a command including information about how to execute that command.
|
62
62
|
|
@@ -73,12 +73,11 @@ VSphereAutomation::Configuration.new.tap do |config|
|
|
73
73
|
end
|
74
74
|
|
75
75
|
api_instance = VSphereAutomation::VAPI::MetadataCliCommandApi.new
|
76
|
-
action = 'action_example' # String | ~action=get
|
77
76
|
request_body = VAPI::VapiMetadataCliCommandGet.new # VapiMetadataCliCommandGet |
|
78
77
|
|
79
78
|
begin
|
80
79
|
#Retrieves information about a command including information about how to execute that command.
|
81
|
-
result = api_instance.get(
|
80
|
+
result = api_instance.get(request_body)
|
82
81
|
p result
|
83
82
|
rescue VSphereAutomation::ApiError => e
|
84
83
|
puts "Exception when calling MetadataCliCommandApi->get: #{e}"
|
@@ -89,7 +88,6 @@ end
|
|
89
88
|
|
90
89
|
Name | Type | Description | Notes
|
91
90
|
------------- | ------------- | ------------- | -------------
|
92
|
-
**action** | **String**| ~action=get |
|
93
91
|
**request_body** | [**VapiMetadataCliCommandGet**](VapiMetadataCliCommandGet.md)| |
|
94
92
|
|
95
93
|
### Return type
|
@@ -4,13 +4,13 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**fingerprint**](MetadataCliNamespaceApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/cli/namespace | 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.
|
7
|
+
[**fingerprint**](MetadataCliNamespaceApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/cli/namespace?~action=fingerprint | 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.
|
8
8
|
[**get**](MetadataCliNamespaceApi.md#get) | **POST** /com/vmware/vapi/metadata/cli/namespace?~action=get | Retreives information about a namespace including information about children of that namespace.
|
9
9
|
[**list**](MetadataCliNamespaceApi.md#list) | **GET** /com/vmware/vapi/metadata/cli/namespace | Returns the identifiers of all namespaces registered with the infrastructure.
|
10
10
|
|
11
11
|
|
12
12
|
# **fingerprint**
|
13
|
-
> VapiMetadataCliNamespaceFingerprintResult fingerprint
|
13
|
+
> VapiMetadataCliNamespaceFingerprintResult fingerprint
|
14
14
|
|
15
15
|
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.
|
16
16
|
|
@@ -27,11 +27,10 @@ VSphereAutomation::Configuration.new.tap do |config|
|
|
27
27
|
end
|
28
28
|
|
29
29
|
api_instance = VSphereAutomation::VAPI::MetadataCliNamespaceApi.new
|
30
|
-
action = 'action_example' # String | ~action=fingerprint
|
31
30
|
|
32
31
|
begin
|
33
32
|
#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.
|
34
|
-
result = api_instance.fingerprint
|
33
|
+
result = api_instance.fingerprint
|
35
34
|
p result
|
36
35
|
rescue VSphereAutomation::ApiError => e
|
37
36
|
puts "Exception when calling MetadataCliNamespaceApi->fingerprint: #{e}"
|
@@ -39,10 +38,7 @@ end
|
|
39
38
|
```
|
40
39
|
|
41
40
|
### Parameters
|
42
|
-
|
43
|
-
Name | Type | Description | Notes
|
44
|
-
------------- | ------------- | ------------- | -------------
|
45
|
-
**action** | **String**| ~action=fingerprint |
|
41
|
+
This endpoint does not need any parameter.
|
46
42
|
|
47
43
|
### Return type
|
48
44
|
|
@@ -4,13 +4,13 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**fingerprint**](MetadataMetamodelComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/metamodel/component/id:{component_id} | 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}.
|
7
|
+
[**fingerprint**](MetadataMetamodelComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/metamodel/component/id:{component_id}?~action=fingerprint | 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}.
|
8
8
|
[**get**](MetadataMetamodelComponentApi.md#get) | **GET** /com/vmware/vapi/metadata/metamodel/component/id:{component_id} | Retrieves metamodel information about the component element corresponding to {@param.name componentId}. <p> The {@link ComponentData} contains the metamodel information about the component and it's fingerprint. It contains information about all the package elements that are contained in this component element.
|
9
9
|
[**list**](MetadataMetamodelComponentApi.md#list) | **GET** /com/vmware/vapi/metadata/metamodel/component | Returns the identifiers for the component elements that are registered with the infrastructure.
|
10
10
|
|
11
11
|
|
12
12
|
# **fingerprint**
|
13
|
-
> VapiMetadataMetamodelComponentFingerprintResult fingerprint(component_id
|
13
|
+
> VapiMetadataMetamodelComponentFingerprintResult fingerprint(component_id)
|
14
14
|
|
15
15
|
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}.
|
16
16
|
|
@@ -28,11 +28,10 @@ end
|
|
28
28
|
|
29
29
|
api_instance = VSphereAutomation::VAPI::MetadataMetamodelComponentApi.new
|
30
30
|
component_id = 'component_id_example' # String | Identifier of the component element.
|
31
|
-
action = 'action_example' # String | ~action=fingerprint
|
32
31
|
|
33
32
|
begin
|
34
33
|
#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}.
|
35
|
-
result = api_instance.fingerprint(component_id
|
34
|
+
result = api_instance.fingerprint(component_id)
|
36
35
|
p result
|
37
36
|
rescue VSphereAutomation::ApiError => e
|
38
37
|
puts "Exception when calling MetadataMetamodelComponentApi->fingerprint: #{e}"
|
@@ -44,7 +43,6 @@ end
|
|
44
43
|
Name | Type | Description | Notes
|
45
44
|
------------- | ------------- | ------------- | -------------
|
46
45
|
**component_id** | **String**| Identifier of the component element. |
|
47
|
-
**action** | **String**| ~action=fingerprint |
|
48
46
|
|
49
47
|
### Return type
|
50
48
|
|
@@ -4,13 +4,13 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**fingerprint**](MetadataPrivilegeComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/privilege/component/id:{component_id} | 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}.
|
7
|
+
[**fingerprint**](MetadataPrivilegeComponentApi.md#fingerprint) | **POST** /com/vmware/vapi/metadata/privilege/component/id:{component_id}?~action=fingerprint | 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}.
|
8
8
|
[**get**](MetadataPrivilegeComponentApi.md#get) | **GET** /com/vmware/vapi/metadata/privilege/component/id:{component_id} | Retrieves privilege information about the component element corresponding to {@param.name componentId}. <p> The {@link ComponentData} contains the privilege information about the component element and its fingerprint. It contains information about all the package elements that belong to this component element.
|
9
9
|
[**list**](MetadataPrivilegeComponentApi.md#list) | **GET** /com/vmware/vapi/metadata/privilege/component | Returns the identifiers for the component elements that have privilege information.
|
10
10
|
|
11
11
|
|
12
12
|
# **fingerprint**
|
13
|
-
> VapiMetadataPrivilegeComponentFingerprintResult fingerprint(component_id
|
13
|
+
> VapiMetadataPrivilegeComponentFingerprintResult fingerprint(component_id)
|
14
14
|
|
15
15
|
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}.
|
16
16
|
|
@@ -28,11 +28,10 @@ end
|
|
28
28
|
|
29
29
|
api_instance = VSphereAutomation::VAPI::MetadataPrivilegeComponentApi.new
|
30
30
|
component_id = 'component_id_example' # String | Identifier of the component element.
|
31
|
-
action = 'action_example' # String | ~action=fingerprint
|
32
31
|
|
33
32
|
begin
|
34
33
|
#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}.
|
35
|
-
result = api_instance.fingerprint(component_id
|
34
|
+
result = api_instance.fingerprint(component_id)
|
36
35
|
p result
|
37
36
|
rescue VSphereAutomation::ApiError => e
|
38
37
|
puts "Exception when calling MetadataPrivilegeComponentApi->fingerprint: #{e}"
|
@@ -44,7 +43,6 @@ end
|
|
44
43
|
Name | Type | Description | Notes
|
45
44
|
------------- | ------------- | ------------- | -------------
|
46
45
|
**component_id** | **String**| Identifier of the component element. |
|
47
|
-
**action** | **String**| ~action=fingerprint |
|
48
46
|
|
49
47
|
### Return type
|
50
48
|
|
@@ -4,12 +4,12 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**get**](MetadataPrivilegeServiceOperationApi.md#get) | **POST** /com/vmware/vapi/metadata/privilege/service/operation/id:{service_id} | Retrieves the privilege information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
7
|
+
[**get**](MetadataPrivilegeServiceOperationApi.md#get) | **POST** /com/vmware/vapi/metadata/privilege/service/operation/id:{service_id}?~action=get | Retrieves the privilege information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
8
8
|
[**list**](MetadataPrivilegeServiceOperationApi.md#list) | **GET** /com/vmware/vapi/metadata/privilege/service/operation | Returns the identifiers for the operation elements contained in the service element corresponding to {@param.name serviceId} that have privilege information.
|
9
9
|
|
10
10
|
|
11
11
|
# **get**
|
12
|
-
> VapiMetadataPrivilegeServiceOperationResult get(service_id,
|
12
|
+
> VapiMetadataPrivilegeServiceOperationResult get(service_id, request_body)
|
13
13
|
|
14
14
|
Retrieves the privilege information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
15
15
|
|
@@ -27,12 +27,11 @@ end
|
|
27
27
|
|
28
28
|
api_instance = VSphereAutomation::VAPI::MetadataPrivilegeServiceOperationApi.new
|
29
29
|
service_id = 'service_id_example' # String | Identifier of the service element.
|
30
|
-
action = 'action_example' # String | ~action=get
|
31
30
|
request_body = VAPI::VapiMetadataPrivilegeServiceOperationGet.new # VapiMetadataPrivilegeServiceOperationGet |
|
32
31
|
|
33
32
|
begin
|
34
33
|
#Retrieves the privilege information about an operation element corresponding to {@param.name operationId} contained in the service element corresponding to {@param.name serviceId}.
|
35
|
-
result = api_instance.get(service_id,
|
34
|
+
result = api_instance.get(service_id, request_body)
|
36
35
|
p result
|
37
36
|
rescue VSphereAutomation::ApiError => e
|
38
37
|
puts "Exception when calling MetadataPrivilegeServiceOperationApi->get: #{e}"
|
@@ -44,7 +43,6 @@ end
|
|
44
43
|
Name | Type | Description | Notes
|
45
44
|
------------- | ------------- | ------------- | -------------
|
46
45
|
**service_id** | **String**| Identifier of the service element. |
|
47
|
-
**action** | **String**| ~action=get |
|
48
46
|
**request_body** | [**VapiMetadataPrivilegeServiceOperationGet**](VapiMetadataPrivilegeServiceOperationGet.md)| |
|
49
47
|
|
50
48
|
### Return type
|
@@ -4,11 +4,11 @@ All URIs are relative to *https://<vcenter>/rest*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**get**](RestNavigationOptionsApi.md#get) | **POST** /com/vmware/vapi/rest/navigation/options | Retrieves operations for specific URL.
|
7
|
+
[**get**](RestNavigationOptionsApi.md#get) | **POST** /com/vmware/vapi/rest/navigation/options?~action=get | Retrieves operations for specific URL.
|
8
8
|
|
9
9
|
|
10
10
|
# **get**
|
11
|
-
> VapiRestNavigationOptionsResult get(
|
11
|
+
> VapiRestNavigationOptionsResult get(request_body)
|
12
12
|
|
13
13
|
Retrieves operations for specific URL.
|
14
14
|
|
@@ -25,12 +25,11 @@ VSphereAutomation::Configuration.new.tap do |config|
|
|
25
25
|
end
|
26
26
|
|
27
27
|
api_instance = VSphereAutomation::VAPI::RestNavigationOptionsApi.new
|
28
|
-
action = 'action_example' # String | ~action=get
|
29
28
|
request_body = VAPI::VapiRestNavigationOptionsGet.new # VapiRestNavigationOptionsGet |
|
30
29
|
|
31
30
|
begin
|
32
31
|
#Retrieves operations for specific URL.
|
33
|
-
result = api_instance.get(
|
32
|
+
result = api_instance.get(request_body)
|
34
33
|
p result
|
35
34
|
rescue VSphereAutomation::ApiError => e
|
36
35
|
puts "Exception when calling RestNavigationOptionsApi->get: #{e}"
|
@@ -41,7 +40,6 @@ end
|
|
41
40
|
|
42
41
|
Name | Type | Description | Notes
|
43
42
|
------------- | ------------- | ------------- | -------------
|
44
|
-
**action** | **String**| ~action=get |
|
45
43
|
**request_body** | [**VapiRestNavigationOptionsGet**](VapiRestNavigationOptionsGet.md)| |
|
46
44
|
|
47
45
|
### Return type
|