azure_mgmt_appconfiguration 0.17.0
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 +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration.rb +43 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/app_configuration_management_client.rb +135 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/configuration_stores.rb +1386 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/api_key.rb +111 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/api_key_list_result.rb +99 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/check_name_availability_parameters.rb +60 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/configuration_store.rb +126 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/configuration_store_list_result.rb +99 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/configuration_store_update_parameters.rb +65 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/error.rb +57 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/name_availability_status.rb +73 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/operation_definition.rb +59 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/operation_definition_display.rb +81 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/operation_definition_list_result.rb +99 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/provisioning_state.rb +20 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/regenerate_key_parameters.rb +46 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/resource.rb +111 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/module_definition.rb +9 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/operations.rb +339 -0
- data/lib/azure_mgmt_appconfiguration.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/appconfiguration_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/appconfiguration_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/appconfiguration_profile_module.rb +119 -0
- data/lib/version.rb +7 -0
- metadata +143 -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 '2019-02-01-preview/generated/azure_mgmt_appconfiguration'
|
6
|
+
require 'profiles/latest/appconfiguration_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::Appconfiguration end
|
7
|
+
module Azure::Appconfiguration::Mgmt 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/appconfiguration_module_definition'
|
6
|
+
require 'profiles/latest/modules/appconfiguration_profile_module'
|
7
|
+
|
8
|
+
module Azure::Appconfiguration::Profiles::Latest
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the Latest profile SDK.
|
12
|
+
#
|
13
|
+
class Client < AppconfigurationManagementClass
|
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::Appconfiguration end
|
7
|
+
module Azure::Appconfiguration::Profiles end
|
8
|
+
module Azure::Appconfiguration::Profiles::Latest end
|
@@ -0,0 +1,119 @@
|
|
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_appconfiguration'
|
6
|
+
|
7
|
+
module Azure::Appconfiguration::Profiles::Latest
|
8
|
+
module Mgmt
|
9
|
+
ConfigurationStores = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::ConfigurationStores
|
10
|
+
Operations = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Operations
|
11
|
+
|
12
|
+
module Models
|
13
|
+
ApiKeyListResult = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ApiKeyListResult
|
14
|
+
RegenerateKeyParameters = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::RegenerateKeyParameters
|
15
|
+
ConfigurationStoreListResult = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStoreListResult
|
16
|
+
OperationDefinitionDisplay = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinitionDisplay
|
17
|
+
CheckNameAvailabilityParameters = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::CheckNameAvailabilityParameters
|
18
|
+
OperationDefinition = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinition
|
19
|
+
ApiKey = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ApiKey
|
20
|
+
OperationDefinitionListResult = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinitionListResult
|
21
|
+
ConfigurationStoreUpdateParameters = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStoreUpdateParameters
|
22
|
+
Error = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::Error
|
23
|
+
NameAvailabilityStatus = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::NameAvailabilityStatus
|
24
|
+
Resource = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::Resource
|
25
|
+
ConfigurationStore = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStore
|
26
|
+
ProvisioningState = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ProvisioningState
|
27
|
+
end
|
28
|
+
|
29
|
+
#
|
30
|
+
# AppconfigurationManagementClass
|
31
|
+
#
|
32
|
+
class AppconfigurationManagementClass
|
33
|
+
attr_reader :configuration_stores, :operations, :configurable, :base_url, :options, :model_classes
|
34
|
+
|
35
|
+
def initialize(options = {})
|
36
|
+
if options.is_a?(Hash) && options.length == 0
|
37
|
+
@options = setup_default_options
|
38
|
+
else
|
39
|
+
@options = options
|
40
|
+
end
|
41
|
+
|
42
|
+
reset!(options)
|
43
|
+
|
44
|
+
@configurable = self
|
45
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
46
|
+
@options = options[:options].nil? ? nil:options[:options]
|
47
|
+
|
48
|
+
@client_0 = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::AppConfigurationManagementClient.new(configurable.credentials, base_url, options)
|
49
|
+
if(@client_0.respond_to?(:subscription_id))
|
50
|
+
@client_0.subscription_id = configurable.subscription_id
|
51
|
+
end
|
52
|
+
add_telemetry(@client_0)
|
53
|
+
@configuration_stores = @client_0.configuration_stores
|
54
|
+
@operations = @client_0.operations
|
55
|
+
|
56
|
+
@model_classes = ModelClasses.new
|
57
|
+
end
|
58
|
+
|
59
|
+
def add_telemetry(client)
|
60
|
+
profile_information = 'Profiles/Latest/Appconfiguration/Mgmt'
|
61
|
+
client.add_user_agent_information(profile_information)
|
62
|
+
end
|
63
|
+
|
64
|
+
def method_missing(method, *args)
|
65
|
+
if @client_0.respond_to?method
|
66
|
+
@client_0.send(method, *args)
|
67
|
+
else
|
68
|
+
super
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
end
|
73
|
+
|
74
|
+
class ModelClasses
|
75
|
+
def api_key_list_result
|
76
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ApiKeyListResult
|
77
|
+
end
|
78
|
+
def regenerate_key_parameters
|
79
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::RegenerateKeyParameters
|
80
|
+
end
|
81
|
+
def configuration_store_list_result
|
82
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStoreListResult
|
83
|
+
end
|
84
|
+
def operation_definition_display
|
85
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinitionDisplay
|
86
|
+
end
|
87
|
+
def check_name_availability_parameters
|
88
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::CheckNameAvailabilityParameters
|
89
|
+
end
|
90
|
+
def operation_definition
|
91
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinition
|
92
|
+
end
|
93
|
+
def api_key
|
94
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ApiKey
|
95
|
+
end
|
96
|
+
def operation_definition_list_result
|
97
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinitionListResult
|
98
|
+
end
|
99
|
+
def configuration_store_update_parameters
|
100
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStoreUpdateParameters
|
101
|
+
end
|
102
|
+
def error
|
103
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::Error
|
104
|
+
end
|
105
|
+
def name_availability_status
|
106
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::NameAvailabilityStatus
|
107
|
+
end
|
108
|
+
def resource
|
109
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::Resource
|
110
|
+
end
|
111
|
+
def configuration_store
|
112
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStore
|
113
|
+
end
|
114
|
+
def provisioning_state
|
115
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ProvisioningState
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
data/lib/version.rb
ADDED
metadata
ADDED
@@ -0,0 +1,143 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: azure_mgmt_appconfiguration
|
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-12 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/2019-02-01-preview/generated/azure_mgmt_appconfiguration.rb
|
91
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/app_configuration_management_client.rb
|
92
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/configuration_stores.rb
|
93
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/api_key.rb
|
94
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/api_key_list_result.rb
|
95
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/check_name_availability_parameters.rb
|
96
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/configuration_store.rb
|
97
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/configuration_store_list_result.rb
|
98
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/configuration_store_update_parameters.rb
|
99
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/error.rb
|
100
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/name_availability_status.rb
|
101
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/operation_definition.rb
|
102
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/operation_definition_display.rb
|
103
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/operation_definition_list_result.rb
|
104
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/provisioning_state.rb
|
105
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/regenerate_key_parameters.rb
|
106
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/resource.rb
|
107
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/module_definition.rb
|
108
|
+
- lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/operations.rb
|
109
|
+
- lib/azure_mgmt_appconfiguration.rb
|
110
|
+
- lib/module_definition.rb
|
111
|
+
- lib/profiles/latest/appconfiguration_latest_profile_client.rb
|
112
|
+
- lib/profiles/latest/appconfiguration_module_definition.rb
|
113
|
+
- lib/profiles/latest/modules/appconfiguration_profile_module.rb
|
114
|
+
- lib/version.rb
|
115
|
+
homepage: https://aka.ms/azure-sdk-for-ruby
|
116
|
+
licenses:
|
117
|
+
- MIT
|
118
|
+
metadata:
|
119
|
+
bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
|
120
|
+
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
121
|
+
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
122
|
+
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
123
|
+
post_install_message:
|
124
|
+
rdoc_options: []
|
125
|
+
require_paths:
|
126
|
+
- lib
|
127
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 2.0.0
|
132
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
requirements: []
|
138
|
+
rubyforge_project:
|
139
|
+
rubygems_version: 2.7.6
|
140
|
+
signing_key:
|
141
|
+
specification_version: 4
|
142
|
+
summary: Official Ruby client library to consume Appconfiguration
|
143
|
+
test_files: []
|