vsphere-automation-sdk 0.4.2 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +20 -0
- data/lib/vsphere-automation-sdk/version.rb +1 -1
- metadata +19 -26
- 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/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: b75b54b989ad4ecad58f93525596b7302876d9ec94aece0961144be7644fb03b
|
4
|
+
data.tar.gz: 5c6922c2ebdc7ebb52bd7776900a93e66e089fccdea629f13b24f8a734c057db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 817baca8e7778544628899a1d4487280c7bd658376074c463186f3b5640a3814910b047cd97823083d8f8147df5342572ca982668178cae03dcc76b564151f69
|
7
|
+
data.tar.gz: aec14dcc396a1501e82e89fca635dcc07eeec9c0865c25e0586d1026ad224dc09e9fbea52adde4f3352f5fb8d0f643b49f5d3c70eeba937e065d0948390b049a
|
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- J.R. Garcia
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-14 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,21 +115,14 @@ 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
|
-
- vsphere-automation-sdk.gemspec
|
128
121
|
homepage: https://github.com/vmware/vsphere-automation-sdk-ruby
|
129
122
|
licenses:
|
130
123
|
- MIT
|
131
124
|
metadata: {}
|
132
|
-
post_install_message:
|
125
|
+
post_install_message:
|
133
126
|
rdoc_options: []
|
134
127
|
require_paths:
|
135
128
|
- lib
|
@@ -144,8 +137,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
137
|
- !ruby/object:Gem::Version
|
145
138
|
version: '0'
|
146
139
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
148
|
-
signing_key:
|
140
|
+
rubygems_version: 3.1.2
|
141
|
+
signing_key:
|
149
142
|
specification_version: 4
|
150
143
|
summary: A Ruby SDK for the vSphere APIs
|
151
144
|
test_files: []
|
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.2)
|
5
|
-
vsphere-automation-cis (~> 0.4.2)
|
6
|
-
vsphere-automation-runtime (~> 0.4.2)
|
7
|
-
|
8
|
-
PATH
|
9
|
-
remote: ../cis
|
10
|
-
specs:
|
11
|
-
vsphere-automation-cis (0.4.2)
|
12
|
-
vsphere-automation-runtime (~> 0.4.2)
|
13
|
-
|
14
|
-
PATH
|
15
|
-
remote: ../content
|
16
|
-
specs:
|
17
|
-
vsphere-automation-content (0.4.2)
|
18
|
-
vsphere-automation-cis (~> 0.4.2)
|
19
|
-
vsphere-automation-runtime (~> 0.4.2)
|
20
|
-
|
21
|
-
PATH
|
22
|
-
remote: ../runtime
|
23
|
-
specs:
|
24
|
-
vsphere-automation-runtime (0.4.2)
|
25
|
-
|
26
|
-
PATH
|
27
|
-
remote: ../vapi
|
28
|
-
specs:
|
29
|
-
vsphere-automation-vapi (0.4.2)
|
30
|
-
vsphere-automation-cis (~> 0.4.2)
|
31
|
-
vsphere-automation-runtime (~> 0.4.2)
|
32
|
-
|
33
|
-
PATH
|
34
|
-
remote: ../vcenter
|
35
|
-
specs:
|
36
|
-
vsphere-automation-vcenter (0.4.2)
|
37
|
-
vsphere-automation-cis (~> 0.4.2)
|
38
|
-
vsphere-automation-runtime (~> 0.4.2)
|
39
|
-
|
40
|
-
PATH
|
41
|
-
remote: .
|
42
|
-
specs:
|
43
|
-
vsphere-automation-sdk (0.4.2)
|
44
|
-
vsphere-automation-appliance (~> 0.4.2)
|
45
|
-
vsphere-automation-cis (~> 0.4.2)
|
46
|
-
vsphere-automation-content (~> 0.4.2)
|
47
|
-
vsphere-automation-runtime (~> 0.4.2)
|
48
|
-
vsphere-automation-vapi (~> 0.4.2)
|
49
|
-
vsphere-automation-vcenter (~> 0.4.2)
|
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.1.0
|
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
|
@@ -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.2'
|
27
|
-
s.add_runtime_dependency 'vsphere-automation-cis', '~> 0.4.2'
|
28
|
-
s.add_runtime_dependency 'vsphere-automation-content', '~> 0.4.2'
|
29
|
-
s.add_runtime_dependency 'vsphere-automation-runtime', '~> 0.4.2'
|
30
|
-
s.add_runtime_dependency 'vsphere-automation-vapi', '~> 0.4.2'
|
31
|
-
s.add_runtime_dependency 'vsphere-automation-vcenter', '~> 0.4.2'
|
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
|