vsphere-automation-sdk 0.4.5 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +20 -0
- data/lib/vsphere-automation-sdk/version.rb +1 -1
- metadata +15 -25
- data/Gemfile +0 -15
- data/Gemfile.lock +0 -70
- data/README.md +0 -44
- data/Rakefile +0 -18
- data/git_push.sh +0 -55
- data/pkg/vsphere-automation-sdk-0.4.0.gem +0 -0
- data/pkg/vsphere-automation-sdk-0.4.1.gem +0 -0
- data/pkg/vsphere-automation-sdk-0.4.2.gem +0 -0
- data/pkg/vsphere-automation-sdk-0.4.3.gem +0 -0
- data/pkg/vsphere-automation-sdk-0.4.4.gem +0 -0
- data/vsphere-automation-sdk.gemspec +0 -38
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 05b7a7ad5cfb4751893b15823abcc9d490ce4c6b5cd9ba80f5dc76a765d97b96
|
|
4
|
+
data.tar.gz: '0131057932c2ae0b39e635251d09d0ce5dac8313d228056e3e5dcb39ad258ac7'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: efd3a0f2b414fe40429bcb46d6f183332905bd06cb14bfcc144e62d296315147baca8fb5e5e567f2ec3a00e53d44925162e5d47170dc82c9edd2e11369b4e9c7
|
|
7
|
+
data.tar.gz: a2dcba9f9c4e86e1e4564e2b19bc3a32450e4f0e43e4c5530213a84dafbc6942a922e1ef3bf0a758abfb9c90a13571c11d18950991814c36a86f40cc84783c4c
|
data/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
The MIT License
|
|
2
|
+
|
|
3
|
+
Copyright 2017-2019 VMware Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
+
the Software without restriction, including without limitation the rights to
|
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
10
|
+
subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vsphere-automation-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- J.R. Garcia
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-10-
|
|
11
|
+
date: 2019-10-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: vsphere-automation-appliance
|
|
@@ -16,84 +16,84 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.4.
|
|
19
|
+
version: 0.4.6
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 0.4.
|
|
26
|
+
version: 0.4.6
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: vsphere-automation-cis
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0.4.
|
|
33
|
+
version: 0.4.6
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0.4.
|
|
40
|
+
version: 0.4.6
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: vsphere-automation-content
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 0.4.
|
|
47
|
+
version: 0.4.6
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 0.4.
|
|
54
|
+
version: 0.4.6
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: vsphere-automation-runtime
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 0.4.
|
|
61
|
+
version: 0.4.6
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 0.4.
|
|
68
|
+
version: 0.4.6
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: vsphere-automation-vapi
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 0.4.
|
|
75
|
+
version: 0.4.6
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 0.4.
|
|
82
|
+
version: 0.4.6
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: vsphere-automation-vcenter
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
87
|
- - "~>"
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: 0.4.
|
|
89
|
+
version: 0.4.6
|
|
90
90
|
type: :runtime
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
94
|
- - "~>"
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: 0.4.
|
|
96
|
+
version: 0.4.6
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: rake
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -115,19 +115,9 @@ executables: []
|
|
|
115
115
|
extensions: []
|
|
116
116
|
extra_rdoc_files: []
|
|
117
117
|
files:
|
|
118
|
-
-
|
|
119
|
-
- Gemfile.lock
|
|
120
|
-
- README.md
|
|
121
|
-
- Rakefile
|
|
122
|
-
- git_push.sh
|
|
118
|
+
- LICENSE
|
|
123
119
|
- lib/vsphere-automation-sdk.rb
|
|
124
120
|
- lib/vsphere-automation-sdk/version.rb
|
|
125
|
-
- pkg/vsphere-automation-sdk-0.4.0.gem
|
|
126
|
-
- pkg/vsphere-automation-sdk-0.4.1.gem
|
|
127
|
-
- pkg/vsphere-automation-sdk-0.4.2.gem
|
|
128
|
-
- pkg/vsphere-automation-sdk-0.4.3.gem
|
|
129
|
-
- pkg/vsphere-automation-sdk-0.4.4.gem
|
|
130
|
-
- vsphere-automation-sdk.gemspec
|
|
131
121
|
homepage: https://github.com/vmware/vsphere-automation-sdk-ruby
|
|
132
122
|
licenses:
|
|
133
123
|
- MIT
|
data/Gemfile
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
|
2
|
-
# SPDX-License-Identifier: MIT
|
|
3
|
-
|
|
4
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
|
5
|
-
|
|
6
|
-
# vSphere Automation - VMware vSphere Automation does fantastic things.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
source 'https://rubygems.org'
|
|
10
|
-
|
|
11
|
-
%i[appliance cis content runtime vapi vcenter].each do |component|
|
|
12
|
-
gem "vsphere-automation-#{component}", path: "../#{component}"
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
gemspec
|
data/Gemfile.lock
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: ../appliance
|
|
3
|
-
specs:
|
|
4
|
-
vsphere-automation-appliance (0.4.5)
|
|
5
|
-
vsphere-automation-cis (~> 0.4.5)
|
|
6
|
-
vsphere-automation-runtime (~> 0.4.5)
|
|
7
|
-
|
|
8
|
-
PATH
|
|
9
|
-
remote: ../cis
|
|
10
|
-
specs:
|
|
11
|
-
vsphere-automation-cis (0.4.5)
|
|
12
|
-
vsphere-automation-runtime (~> 0.4.5)
|
|
13
|
-
|
|
14
|
-
PATH
|
|
15
|
-
remote: ../content
|
|
16
|
-
specs:
|
|
17
|
-
vsphere-automation-content (0.4.5)
|
|
18
|
-
vsphere-automation-cis (~> 0.4.5)
|
|
19
|
-
vsphere-automation-runtime (~> 0.4.5)
|
|
20
|
-
|
|
21
|
-
PATH
|
|
22
|
-
remote: ../runtime
|
|
23
|
-
specs:
|
|
24
|
-
vsphere-automation-runtime (0.4.5)
|
|
25
|
-
|
|
26
|
-
PATH
|
|
27
|
-
remote: ../vapi
|
|
28
|
-
specs:
|
|
29
|
-
vsphere-automation-vapi (0.4.5)
|
|
30
|
-
vsphere-automation-cis (~> 0.4.5)
|
|
31
|
-
vsphere-automation-runtime (~> 0.4.5)
|
|
32
|
-
|
|
33
|
-
PATH
|
|
34
|
-
remote: ../vcenter
|
|
35
|
-
specs:
|
|
36
|
-
vsphere-automation-vcenter (0.4.5)
|
|
37
|
-
vsphere-automation-cis (~> 0.4.5)
|
|
38
|
-
vsphere-automation-runtime (~> 0.4.5)
|
|
39
|
-
|
|
40
|
-
PATH
|
|
41
|
-
remote: .
|
|
42
|
-
specs:
|
|
43
|
-
vsphere-automation-sdk (0.4.5)
|
|
44
|
-
vsphere-automation-appliance (~> 0.4.5)
|
|
45
|
-
vsphere-automation-cis (~> 0.4.5)
|
|
46
|
-
vsphere-automation-content (~> 0.4.5)
|
|
47
|
-
vsphere-automation-runtime (~> 0.4.5)
|
|
48
|
-
vsphere-automation-vapi (~> 0.4.5)
|
|
49
|
-
vsphere-automation-vcenter (~> 0.4.5)
|
|
50
|
-
|
|
51
|
-
GEM
|
|
52
|
-
remote: https://rubygems.org/
|
|
53
|
-
specs:
|
|
54
|
-
rake (12.3.3)
|
|
55
|
-
|
|
56
|
-
PLATFORMS
|
|
57
|
-
ruby
|
|
58
|
-
|
|
59
|
-
DEPENDENCIES
|
|
60
|
-
rake (~> 12.3)
|
|
61
|
-
vsphere-automation-appliance!
|
|
62
|
-
vsphere-automation-cis!
|
|
63
|
-
vsphere-automation-content!
|
|
64
|
-
vsphere-automation-runtime!
|
|
65
|
-
vsphere-automation-sdk!
|
|
66
|
-
vsphere-automation-vapi!
|
|
67
|
-
vsphere-automation-vcenter!
|
|
68
|
-
|
|
69
|
-
BUNDLED WITH
|
|
70
|
-
2.0.2
|
data/README.md
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# vsphere-automation-sdk
|
|
2
|
-
|
|
3
|
-
The Ruby gem for the vSphere API
|
|
4
|
-
|
|
5
|
-
- API version: 2.0.0
|
|
6
|
-
- Package version: 0.4.5
|
|
7
|
-
|
|
8
|
-
## Installation
|
|
9
|
-
|
|
10
|
-
Add this line to your application's Gemfile:
|
|
11
|
-
|
|
12
|
-
```ruby
|
|
13
|
-
gem 'vsphere-automation-sdk'
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
And then execute:
|
|
17
|
-
|
|
18
|
-
$ bundle
|
|
19
|
-
|
|
20
|
-
Or install it yourself as:
|
|
21
|
-
|
|
22
|
-
$ gem install vsphere-automation-sdk
|
|
23
|
-
|
|
24
|
-
## Getting Started
|
|
25
|
-
|
|
26
|
-
Please follow the [installation](#installation) procedure and then run the following code:
|
|
27
|
-
|
|
28
|
-
```ruby
|
|
29
|
-
# Load the gem
|
|
30
|
-
require 'vsphere-automation-sdk'
|
|
31
|
-
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Documentation for API Endpoints
|
|
35
|
-
|
|
36
|
-
All URIs are relative to *https://<vcenter>/rest*
|
|
37
|
-
|
|
38
|
-
Class | Method | HTTP request | Description
|
|
39
|
-
------------ | ------------- | ------------- | -------------
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
## Documentation for Models
|
|
43
|
-
|
|
44
|
-
|
data/Rakefile
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
|
2
|
-
# SPDX-License-Identifier: MIT
|
|
3
|
-
|
|
4
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
|
5
|
-
|
|
6
|
-
# vSphere Automation - VMware vSphere Automation does fantastic things.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
require "bundler/gem_tasks"
|
|
10
|
-
|
|
11
|
-
begin
|
|
12
|
-
require 'rspec/core/rake_task'
|
|
13
|
-
|
|
14
|
-
RSpec::Core::RakeTask.new(:spec)
|
|
15
|
-
task default: :spec
|
|
16
|
-
rescue LoadError
|
|
17
|
-
# no rspec available
|
|
18
|
-
end
|
data/git_push.sh
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
#
|
|
3
|
-
# Generated by: https://openapi-generator.tech
|
|
4
|
-
#
|
|
5
|
-
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
6
|
-
#
|
|
7
|
-
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
|
|
8
|
-
|
|
9
|
-
git_user_id=$1
|
|
10
|
-
git_repo_id=$2
|
|
11
|
-
release_note=$3
|
|
12
|
-
|
|
13
|
-
if [ "$git_user_id" = "" ]; then
|
|
14
|
-
git_user_id="GIT_USER_ID"
|
|
15
|
-
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
16
|
-
fi
|
|
17
|
-
|
|
18
|
-
if [ "$git_repo_id" = "" ]; then
|
|
19
|
-
git_repo_id="GIT_REPO_ID"
|
|
20
|
-
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
21
|
-
fi
|
|
22
|
-
|
|
23
|
-
if [ "$release_note" = "" ]; then
|
|
24
|
-
release_note="Minor update"
|
|
25
|
-
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
26
|
-
fi
|
|
27
|
-
|
|
28
|
-
# Initialize the local directory as a Git repository
|
|
29
|
-
git init
|
|
30
|
-
|
|
31
|
-
# Adds the files in the local repository and stages them for commit.
|
|
32
|
-
git add .
|
|
33
|
-
|
|
34
|
-
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
35
|
-
git commit -m "$release_note"
|
|
36
|
-
|
|
37
|
-
# Sets the new remote
|
|
38
|
-
git_remote=`git remote`
|
|
39
|
-
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
40
|
-
|
|
41
|
-
if [ "$GIT_TOKEN" = "" ]; then
|
|
42
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
43
|
-
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
|
|
44
|
-
else
|
|
45
|
-
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
|
|
46
|
-
fi
|
|
47
|
-
|
|
48
|
-
fi
|
|
49
|
-
|
|
50
|
-
git pull origin master
|
|
51
|
-
|
|
52
|
-
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
53
|
-
echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
|
|
54
|
-
git push origin master 2>&1 | grep -v 'To https'
|
|
55
|
-
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
|
2
|
-
|
|
3
|
-
# Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
|
|
4
|
-
# SPDX-License-Identifier: MIT
|
|
5
|
-
|
|
6
|
-
# DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
|
|
7
|
-
|
|
8
|
-
# vSphere Automation - VMware vSphere Automation does fantastic things.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
$:.push File.expand_path("../lib", __FILE__)
|
|
12
|
-
require "vsphere-automation-sdk/version"
|
|
13
|
-
|
|
14
|
-
Gem::Specification.new do |s|
|
|
15
|
-
s.name = "vsphere-automation-sdk"
|
|
16
|
-
s.version = VSphereAutomation::VERSION
|
|
17
|
-
s.platform = Gem::Platform::RUBY
|
|
18
|
-
s.authors = ["J.R. Garcia"]
|
|
19
|
-
s.email = ["jrg@vmware.com"]
|
|
20
|
-
s.homepage = "https://github.com/vmware/vsphere-automation-sdk-ruby"
|
|
21
|
-
s.summary = "A Ruby SDK for the vSphere APIs"
|
|
22
|
-
s.description = "A Ruby SDK for the vSphere APIs"
|
|
23
|
-
s.license = 'MIT'
|
|
24
|
-
s.required_ruby_version = ">= 2.3"
|
|
25
|
-
|
|
26
|
-
s.add_runtime_dependency 'vsphere-automation-appliance', '~> 0.4.5'
|
|
27
|
-
s.add_runtime_dependency 'vsphere-automation-cis', '~> 0.4.5'
|
|
28
|
-
s.add_runtime_dependency 'vsphere-automation-content', '~> 0.4.5'
|
|
29
|
-
s.add_runtime_dependency 'vsphere-automation-runtime', '~> 0.4.5'
|
|
30
|
-
s.add_runtime_dependency 'vsphere-automation-vapi', '~> 0.4.5'
|
|
31
|
-
s.add_runtime_dependency 'vsphere-automation-vcenter', '~> 0.4.5'
|
|
32
|
-
|
|
33
|
-
s.add_development_dependency 'rake', '~> 12.3'
|
|
34
|
-
|
|
35
|
-
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
|
36
|
-
s.executables = []
|
|
37
|
-
s.require_paths = ["lib"]
|
|
38
|
-
end
|