azure_mgmt_operations_management 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management.rb +48 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/management_associations.rb +447 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/management_configurations.rb +447 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/arm_template_parameter.rb +57 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/code_message_error.rb +47 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/code_message_error_error.rb +57 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/management_association.rb +96 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/management_association_properties.rb +48 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/management_association_properties_list.rb +56 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/management_configuration.rb +96 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/management_configuration_properties.rb +104 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/management_configuration_properties_list.rb +56 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/operation.rb +59 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/operation_display.rb +68 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/operation_list_result.rb +56 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/solution.rb +127 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/solution_patch.rb +54 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/solution_plan.rb +86 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/solution_properties.rb +102 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/solution_properties_list.rb +56 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/module_definition.rb +9 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/operations.rb +109 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/operations_management_client.rb +154 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operations_management/solutions.rb +803 -0
- data/lib/azure_mgmt_operations_management.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/modules/operationsmanagement_profile_module.rb +135 -0
- data/lib/profiles/latest/operationsmanagement_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/operationsmanagement_module_definition.rb +8 -0
- data/lib/version.rb +7 -0
- metadata +148 -0
@@ -0,0 +1,6 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require '2015-11-01-preview/generated/azure_mgmt_operations_management'
|
6
|
+
require 'profiles/latest/operationsmanagement_latest_profile_client'
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
module Azure end
|
6
|
+
module Azure::OperationsManagement end
|
7
|
+
module Azure::OperationsManagement::Mgmt end
|
@@ -0,0 +1,135 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require 'azure_mgmt_operations_management'
|
6
|
+
|
7
|
+
module Azure::OperationsManagement::Profiles::Latest
|
8
|
+
module Mgmt
|
9
|
+
Solutions = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Solutions
|
10
|
+
ManagementAssociations = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::ManagementAssociations
|
11
|
+
ManagementConfigurations = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::ManagementConfigurations
|
12
|
+
Operations = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Operations
|
13
|
+
|
14
|
+
module Models
|
15
|
+
Solution = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::Solution
|
16
|
+
SolutionPropertiesList = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionPropertiesList
|
17
|
+
Operation = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::Operation
|
18
|
+
ManagementAssociation = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementAssociation
|
19
|
+
SolutionProperties = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionProperties
|
20
|
+
ManagementAssociationPropertiesList = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementAssociationPropertiesList
|
21
|
+
ArmTemplateParameter = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ArmTemplateParameter
|
22
|
+
ManagementConfiguration = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementConfiguration
|
23
|
+
SolutionPlan = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionPlan
|
24
|
+
ManagementConfigurationPropertiesList = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementConfigurationPropertiesList
|
25
|
+
OperationListResult = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::OperationListResult
|
26
|
+
SolutionPatch = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionPatch
|
27
|
+
ManagementConfigurationProperties = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementConfigurationProperties
|
28
|
+
CodeMessageErrorError = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::CodeMessageErrorError
|
29
|
+
ManagementAssociationProperties = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementAssociationProperties
|
30
|
+
CodeMessageError = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::CodeMessageError
|
31
|
+
OperationDisplay = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::OperationDisplay
|
32
|
+
end
|
33
|
+
|
34
|
+
#
|
35
|
+
# OperationsManagementManagementClass
|
36
|
+
#
|
37
|
+
class OperationsManagementManagementClass
|
38
|
+
attr_reader :solutions, :management_associations, :management_configurations, :operations, :configurable, :base_url, :options, :model_classes
|
39
|
+
|
40
|
+
def initialize(options = {})
|
41
|
+
if options.is_a?(Hash) && options.length == 0
|
42
|
+
@options = setup_default_options
|
43
|
+
else
|
44
|
+
@options = options
|
45
|
+
end
|
46
|
+
|
47
|
+
reset!(options)
|
48
|
+
|
49
|
+
@configurable = self
|
50
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
51
|
+
@options = options[:options].nil? ? nil:options[:options]
|
52
|
+
|
53
|
+
@client_0 = Azure::OperationsManagement::Mgmt::V2015_11_01_preview::OperationsManagementClient.new(configurable.credentials, base_url, options)
|
54
|
+
if(@client_0.respond_to?(:subscription_id))
|
55
|
+
@client_0.subscription_id = configurable.subscription_id
|
56
|
+
end
|
57
|
+
add_telemetry(@client_0)
|
58
|
+
@solutions = @client_0.solutions
|
59
|
+
@management_associations = @client_0.management_associations
|
60
|
+
@management_configurations = @client_0.management_configurations
|
61
|
+
@operations = @client_0.operations
|
62
|
+
|
63
|
+
@model_classes = ModelClasses.new
|
64
|
+
end
|
65
|
+
|
66
|
+
def add_telemetry(client)
|
67
|
+
profile_information = 'Profiles/Latest/OperationsManagement/Mgmt'
|
68
|
+
client.add_user_agent_information(profile_information)
|
69
|
+
end
|
70
|
+
|
71
|
+
def method_missing(method, *args)
|
72
|
+
if @client_0.respond_to?method
|
73
|
+
@client_0.send(method, *args)
|
74
|
+
else
|
75
|
+
super
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
end
|
80
|
+
|
81
|
+
class ModelClasses
|
82
|
+
def solution
|
83
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::Solution
|
84
|
+
end
|
85
|
+
def solution_properties_list
|
86
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionPropertiesList
|
87
|
+
end
|
88
|
+
def operation
|
89
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::Operation
|
90
|
+
end
|
91
|
+
def management_association
|
92
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementAssociation
|
93
|
+
end
|
94
|
+
def solution_properties
|
95
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionProperties
|
96
|
+
end
|
97
|
+
def management_association_properties_list
|
98
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementAssociationPropertiesList
|
99
|
+
end
|
100
|
+
def arm_template_parameter
|
101
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ArmTemplateParameter
|
102
|
+
end
|
103
|
+
def management_configuration
|
104
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementConfiguration
|
105
|
+
end
|
106
|
+
def solution_plan
|
107
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionPlan
|
108
|
+
end
|
109
|
+
def management_configuration_properties_list
|
110
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementConfigurationPropertiesList
|
111
|
+
end
|
112
|
+
def operation_list_result
|
113
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::OperationListResult
|
114
|
+
end
|
115
|
+
def solution_patch
|
116
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::SolutionPatch
|
117
|
+
end
|
118
|
+
def management_configuration_properties
|
119
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementConfigurationProperties
|
120
|
+
end
|
121
|
+
def code_message_error_error
|
122
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::CodeMessageErrorError
|
123
|
+
end
|
124
|
+
def management_association_properties
|
125
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::ManagementAssociationProperties
|
126
|
+
end
|
127
|
+
def code_message_error
|
128
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::CodeMessageError
|
129
|
+
end
|
130
|
+
def operation_display
|
131
|
+
Azure::OperationsManagement::Mgmt::V2015_11_01_preview::Models::OperationDisplay
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require 'profiles/latest/operationsmanagement_module_definition'
|
6
|
+
require 'profiles/latest/modules/operationsmanagement_profile_module'
|
7
|
+
|
8
|
+
module Azure::OperationsManagement::Profiles::Latest
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the Latest profile SDK.
|
12
|
+
#
|
13
|
+
class Client < OperationsManagementManagementClass
|
14
|
+
include MsRestAzure::Common::Configurable
|
15
|
+
|
16
|
+
#
|
17
|
+
# Initializes a new instance of the Client class.
|
18
|
+
# @param options [Hash] hash of client options.
|
19
|
+
# options = {
|
20
|
+
# tenant_id: 'YOUR TENANT ID',
|
21
|
+
# client_id: 'YOUR CLIENT ID',
|
22
|
+
# client_secret: 'YOUR CLIENT SECRET',
|
23
|
+
# subscription_id: 'YOUR SUBSCRIPTION ID',
|
24
|
+
# credentials: credentials,
|
25
|
+
# active_directory_settings: active_directory_settings,
|
26
|
+
# base_url: 'YOUR BASE URL',
|
27
|
+
# options: options
|
28
|
+
# }
|
29
|
+
# 'credentials' are optional and if not passed in the hash, will be obtained
|
30
|
+
# from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
|
31
|
+
#
|
32
|
+
# Also, base_url, active_directory_settings & options are optional.
|
33
|
+
#
|
34
|
+
def initialize(options = {})
|
35
|
+
super(options)
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
module Azure end
|
6
|
+
module Azure::OperationsManagement end
|
7
|
+
module Azure::OperationsManagement::Profiles end
|
8
|
+
module Azure::OperationsManagement::Profiles::Latest end
|
data/lib/version.rb
ADDED
metadata
ADDED
@@ -0,0 +1,148 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: azure_mgmt_operations_management
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.17.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Microsoft Corporation
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-07-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: dotenv
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: ms_rest_azure
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.11.1
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.11.1
|
83
|
+
description:
|
84
|
+
email: azrubyteam@microsoft.com
|
85
|
+
executables: []
|
86
|
+
extensions: []
|
87
|
+
extra_rdoc_files: []
|
88
|
+
files:
|
89
|
+
- LICENSE.txt
|
90
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management.rb
|
91
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/management_associations.rb
|
92
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/management_configurations.rb
|
93
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/arm_template_parameter.rb
|
94
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/code_message_error.rb
|
95
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/code_message_error_error.rb
|
96
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/management_association.rb
|
97
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/management_association_properties.rb
|
98
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/management_association_properties_list.rb
|
99
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/management_configuration.rb
|
100
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/management_configuration_properties.rb
|
101
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/management_configuration_properties_list.rb
|
102
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/operation.rb
|
103
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/operation_display.rb
|
104
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/operation_list_result.rb
|
105
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/solution.rb
|
106
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/solution_patch.rb
|
107
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/solution_plan.rb
|
108
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/solution_properties.rb
|
109
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/models/solution_properties_list.rb
|
110
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/module_definition.rb
|
111
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/operations.rb
|
112
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/operations_management_client.rb
|
113
|
+
- lib/2015-11-01-preview/generated/azure_mgmt_operations_management/solutions.rb
|
114
|
+
- lib/azure_mgmt_operations_management.rb
|
115
|
+
- lib/module_definition.rb
|
116
|
+
- lib/profiles/latest/modules/operationsmanagement_profile_module.rb
|
117
|
+
- lib/profiles/latest/operationsmanagement_latest_profile_client.rb
|
118
|
+
- lib/profiles/latest/operationsmanagement_module_definition.rb
|
119
|
+
- lib/version.rb
|
120
|
+
homepage: https://aka.ms/azure-sdk-for-ruby
|
121
|
+
licenses:
|
122
|
+
- MIT
|
123
|
+
metadata:
|
124
|
+
bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
|
125
|
+
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
126
|
+
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
127
|
+
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
128
|
+
post_install_message:
|
129
|
+
rdoc_options: []
|
130
|
+
require_paths:
|
131
|
+
- lib
|
132
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: 2.0.0
|
137
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ">="
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
requirements: []
|
143
|
+
rubyforge_project:
|
144
|
+
rubygems_version: 2.7.8
|
145
|
+
signing_key:
|
146
|
+
specification_version: 4
|
147
|
+
summary: Official Ruby client library to consume OperationsManagement
|
148
|
+
test_files: []
|