@@ -12894,7 +12894,7 @@ No authorization required
12894
12894
12895
12895
## v1_vnc
12896
12896
12897
- > v1_vnc(name, namespace)
12897
+ > v1_vnc(name, namespace, opts )
12898
12898
12899
12899
12900
12900
@@ -12909,10 +12909,13 @@ require 'kubevirt'
12909
12909
api_instance = Kubevirt::DefaultApi.new
12910
12910
name = 'name_example' # String | Name of the resource
12911
12911
namespace = 'namespace_example' # String | Object name and auth scope, such as for teams and projects
12912
+ opts = {
12913
+ preserve_session: true # Boolean | Connect only if ongoing session is not disturbed.
12914
+ }
12912
12915
12913
12916
begin
12914
12917
12915
- api_instance.v1_vnc(name, namespace)
12918
+ api_instance.v1_vnc(name, namespace, opts )
12916
12919
rescue Kubevirt::ApiError => e
12917
12920
puts "Error when calling DefaultApi->v1_vnc: #{e}"
12918
12921
end
@@ -12922,12 +12925,12 @@ end
12922
12925
12923
12926
This returns an Array which contains the response data (`nil` in this case), status code and headers.
12924
12927
12925
- > <Array(nil, Integer, Hash)> v1_vnc_with_http_info(name, namespace)
12928
+ > <Array(nil, Integer, Hash)> v1_vnc_with_http_info(name, namespace, opts )
12926
12929
12927
12930
```ruby
12928
12931
begin
12929
12932
12930
- data, status_code, headers = api_instance.v1_vnc_with_http_info(name, namespace)
12933
+ data, status_code, headers = api_instance.v1_vnc_with_http_info(name, namespace, opts )
12931
12934
p status_code # => 2xx
12932
12935
p headers # => { ... }
12933
12936
p data # => nil
@@ -12942,6 +12945,7 @@ end
12942
12945
| ---- | ---- | ----------- | ----- |
12943
12946
| **name** | **String** | Name of the resource | |
12944
12947
| **namespace** | **String** | Object name and auth scope, such as for teams and projects | |
12948
+ | **preserve_session** | **Boolean** | Connect only if ongoing session is not disturbed. | [optional] |
12945
12949
12946
12950
### Return type
12947
12951
@@ -14684,7 +14688,7 @@ No authorization required
14684
14688
14685
14689
## v1alpha3_vnc
14686
14690
14687
- > v1alpha3_vnc(name, namespace)
14691
+ > v1alpha3_vnc(name, namespace, opts )
14688
14692
14689
14693
14690
14694
@@ -14699,10 +14703,13 @@ require 'kubevirt'
14699
14703
api_instance = Kubevirt::DefaultApi.new
14700
14704
name = 'name_example' # String | Name of the resource
14701
14705
namespace = 'namespace_example' # String | Object name and auth scope, such as for teams and projects
14706
+ opts = {
14707
+ preserve_session: true # Boolean | Connect only if ongoing session is not disturbed.
14708
+ }
14702
14709
14703
14710
begin
14704
14711
14705
- api_instance.v1alpha3_vnc(name, namespace)
14712
+ api_instance.v1alpha3_vnc(name, namespace, opts )
14706
14713
rescue Kubevirt::ApiError => e
14707
14714
puts "Error when calling DefaultApi->v1alpha3_vnc: #{e}"
14708
14715
end
@@ -14712,12 +14719,12 @@ end
14712
14719
14713
14720
This returns an Array which contains the response data (`nil` in this case), status code and headers.
14714
14721
14715
- > <Array(nil, Integer, Hash)> v1alpha3_vnc_with_http_info(name, namespace)
14722
+ > <Array(nil, Integer, Hash)> v1alpha3_vnc_with_http_info(name, namespace, opts )
14716
14723
14717
14724
```ruby
14718
14725
begin
14719
14726
14720
- data, status_code, headers = api_instance.v1alpha3_vnc_with_http_info(name, namespace)
14727
+ data, status_code, headers = api_instance.v1alpha3_vnc_with_http_info(name, namespace, opts )
14721
14728
p status_code # => 2xx
14722
14729
p headers # => { ... }
14723
14730
p data # => nil
@@ -14732,6 +14739,7 @@ end
14732
14739
| ---- | ---- | ----------- | ----- |
14733
14740
| **name** | **String** | Name of the resource | |
14734
14741
| **namespace** | **String** | Object name and auth scope, such as for teams and projects | |
14742
+ | **preserve_session** | **Boolean** | Connect only if ongoing session is not disturbed. | [optional] |
14735
14743
14736
14744
### Return type
14737
14745
0 commit comments