azure_mgmt_server_management 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_server_management.rb +11 -10
- data/lib/generated/azure_mgmt_server_management/models/resource.rb +90 -0
- data/lib/generated/azure_mgmt_server_management/server_management.rb +4 -5
- data/lib/generated/azure_mgmt_server_management/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11afb71750c1e810b14fab645c177de8945ab826
|
4
|
+
data.tar.gz: 5c12b8c2b47ef2b38b523f759d1fdea67f073b73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b426dcc94a9f88616a66167de006753afda5ff832881319e2121d9d07ffacdee1d4ab292644275d52cf65eee733b3ead2bd1c155a574523fa32d270ff9c0f95b
|
7
|
+
data.tar.gz: 9e1626085fa87561f2a1cd5c6d2bc1e8d1485dc5ce455bb8a2eb8ba2a7f22d2abb0e725b53a75708add604edecdf8e9e4bf1deac5f1a270c8eedc2caaa52edec
|
@@ -27,24 +27,25 @@ module Azure::ARM::ServerManagement
|
|
27
27
|
autoload :ServerManagement, 'generated/azure_mgmt_server_management/server_management.rb'
|
28
28
|
|
29
29
|
module Models
|
30
|
-
autoload :SessionParameters, 'generated/azure_mgmt_server_management/models/session_parameters.rb'
|
31
|
-
autoload :GatewayStatus, 'generated/azure_mgmt_server_management/models/gateway_status.rb'
|
32
30
|
autoload :Version, 'generated/azure_mgmt_server_management/models/version.rb'
|
31
|
+
autoload :Resource, 'generated/azure_mgmt_server_management/models/resource.rb'
|
32
|
+
autoload :EncryptionJwkResource, 'generated/azure_mgmt_server_management/models/encryption_jwk_resource.rb'
|
33
|
+
autoload :GatewayStatus, 'generated/azure_mgmt_server_management/models/gateway_status.rb'
|
33
34
|
autoload :GatewayResources, 'generated/azure_mgmt_server_management/models/gateway_resources.rb'
|
34
|
-
autoload :
|
35
|
+
autoload :PromptFieldDescription, 'generated/azure_mgmt_server_management/models/prompt_field_description.rb'
|
35
36
|
autoload :GatewayParameters, 'generated/azure_mgmt_server_management/models/gateway_parameters.rb'
|
36
|
-
autoload :PowerShellCommandResults, 'generated/azure_mgmt_server_management/models/power_shell_command_results.rb'
|
37
|
-
autoload :NodeResources, 'generated/azure_mgmt_server_management/models/node_resources.rb'
|
38
37
|
autoload :PowerShellCommandResult, 'generated/azure_mgmt_server_management/models/power_shell_command_result.rb'
|
38
|
+
autoload :NodeResources, 'generated/azure_mgmt_server_management/models/node_resources.rb'
|
39
|
+
autoload :PowerShellCommandResults, 'generated/azure_mgmt_server_management/models/power_shell_command_results.rb'
|
39
40
|
autoload :PowerShellTabCompletionResults, 'generated/azure_mgmt_server_management/models/power_shell_tab_completion_results.rb'
|
40
|
-
autoload :
|
41
|
-
autoload :
|
41
|
+
autoload :SessionParameters, 'generated/azure_mgmt_server_management/models/session_parameters.rb'
|
42
|
+
autoload :Error, 'generated/azure_mgmt_server_management/models/error.rb'
|
42
43
|
autoload :GatewayProfile, 'generated/azure_mgmt_server_management/models/gateway_profile.rb'
|
43
|
-
autoload :PromptFieldDescription, 'generated/azure_mgmt_server_management/models/prompt_field_description.rb'
|
44
|
-
autoload :EncryptionJwkResource, 'generated/azure_mgmt_server_management/models/encryption_jwk_resource.rb'
|
45
44
|
autoload :PowerShellSessionResources, 'generated/azure_mgmt_server_management/models/power_shell_session_resources.rb'
|
46
|
-
autoload :
|
45
|
+
autoload :NodeParameters, 'generated/azure_mgmt_server_management/models/node_parameters.rb'
|
47
46
|
autoload :PowerShellCommandParameters, 'generated/azure_mgmt_server_management/models/power_shell_command_parameters.rb'
|
47
|
+
autoload :PowerShellTabCompletionParameters, 'generated/azure_mgmt_server_management/models/power_shell_tab_completion_parameters.rb'
|
48
|
+
autoload :PromptMessageResponse, 'generated/azure_mgmt_server_management/models/prompt_message_response.rb'
|
48
49
|
autoload :GatewayResource, 'generated/azure_mgmt_server_management/models/gateway_resource.rb'
|
49
50
|
autoload :NodeResource, 'generated/azure_mgmt_server_management/models/node_resource.rb'
|
50
51
|
autoload :SessionResource, 'generated/azure_mgmt_server_management/models/session_resource.rb'
|
@@ -0,0 +1,90 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::ServerManagement
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Resource Manager Resource Information.
|
10
|
+
#
|
11
|
+
class Resource < MsRestAzure::Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String]
|
16
|
+
attr_accessor :etag
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for Resource class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
required: false,
|
26
|
+
serialized_name: 'Resource',
|
27
|
+
type: {
|
28
|
+
name: 'Composite',
|
29
|
+
class_name: 'Resource',
|
30
|
+
model_properties: {
|
31
|
+
id: {
|
32
|
+
required: false,
|
33
|
+
read_only: true,
|
34
|
+
serialized_name: 'id',
|
35
|
+
type: {
|
36
|
+
name: 'String'
|
37
|
+
}
|
38
|
+
},
|
39
|
+
type: {
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'type',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
name: {
|
48
|
+
required: false,
|
49
|
+
read_only: true,
|
50
|
+
serialized_name: 'name',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
location: {
|
56
|
+
required: false,
|
57
|
+
read_only: true,
|
58
|
+
serialized_name: 'location',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
tags: {
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'tags',
|
66
|
+
type: {
|
67
|
+
name: 'Dictionary',
|
68
|
+
value: {
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'StringElementType',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
},
|
77
|
+
etag: {
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'etag',
|
80
|
+
type: {
|
81
|
+
name: 'String'
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
@@ -54,12 +54,11 @@ module Azure::ARM::ServerManagement
|
|
54
54
|
# @param base_url [String] the base URI of the service.
|
55
55
|
# @param options [Array] filters to be applied to the HTTP requests.
|
56
56
|
#
|
57
|
-
def initialize(credentials, base_url = nil, options = nil)
|
57
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
58
58
|
super(credentials, options)
|
59
59
|
@base_url = base_url || 'https://management.azure.com'
|
60
60
|
|
61
|
-
fail ArgumentError, 'credentials
|
62
|
-
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
|
61
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
63
62
|
@credentials = credentials
|
64
63
|
|
65
64
|
@gateway = Gateway.new(self)
|
@@ -75,7 +74,7 @@ module Azure::ARM::ServerManagement
|
|
75
74
|
|
76
75
|
#
|
77
76
|
# Makes a request and returns the body of the response.
|
78
|
-
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
77
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
79
78
|
# @param path [String] the path, relative to {base_url}.
|
80
79
|
# @param options [Hash{String=>String}] specifying any request options like :body.
|
81
80
|
# @return [Hash{String=>String}] containing the body of the response.
|
@@ -136,7 +135,7 @@ module Azure::ARM::ServerManagement
|
|
136
135
|
def add_telemetry
|
137
136
|
sdk_information = 'azure_mgmt_server_management'
|
138
137
|
if defined? Azure::ARM::ServerManagement::VERSION
|
139
|
-
sdk_information = "#{sdk_information}/#{Azure::ARM::ServerManagement::VERSION}"
|
138
|
+
sdk_information = "#{sdk_information}/#{Azure::ARM::ServerManagement::VERSION}"
|
140
139
|
end
|
141
140
|
add_user_agent_information(sdk_information)
|
142
141
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_server_management
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.7.0
|
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.
|
82
|
+
version: 0.7.0
|
83
83
|
description: Microsoft Azure Server Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -114,6 +114,7 @@ files:
|
|
114
114
|
- lib/generated/azure_mgmt_server_management/models/prompt_field_description.rb
|
115
115
|
- lib/generated/azure_mgmt_server_management/models/prompt_field_type.rb
|
116
116
|
- lib/generated/azure_mgmt_server_management/models/prompt_message_response.rb
|
117
|
+
- lib/generated/azure_mgmt_server_management/models/resource.rb
|
117
118
|
- lib/generated/azure_mgmt_server_management/models/retention_period.rb
|
118
119
|
- lib/generated/azure_mgmt_server_management/models/session_parameters.rb
|
119
120
|
- lib/generated/azure_mgmt_server_management/models/session_resource.rb
|