azure_sdk 0.65.0 → 0.70.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/azure_sdk.rb +1 -0
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/modules/cognitiveservices_profile_module.rb +68 -64
- data/lib/latest/modules/compute_profile_module.rb +380 -338
- data/lib/latest/modules/containerregistry_profile_module.rb +130 -74
- data/lib/latest/modules/datafactory_profile_module.rb +510 -398
- data/lib/latest/modules/eventhub_profile_module.rb +79 -57
- data/lib/latest/modules/hdinsight_profile_module.rb +163 -135
- data/lib/latest/modules/iotcentral_profile_module.rb +21 -17
- data/lib/latest/modules/kusto_profile_module.rb +164 -160
- data/lib/latest/modules/monitor_profile_module.rb +226 -122
- data/lib/latest/modules/policyinsights_profile_module.rb +8 -0
- data/lib/latest/modules/security_profile_module.rb +492 -224
- data/lib/latest/modules/synapse_profile_module.rb +404 -208
- data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +65 -35
- data/lib/v2020_09_01_hybrid/module_definition.rb +7 -0
- data/lib/v2020_09_01_hybrid/modules/authorization_profile_module.rb +133 -0
- data/lib/v2020_09_01_hybrid/modules/commerce_profile_module.rb +99 -0
- data/lib/v2020_09_01_hybrid/modules/compute_profile_module.rb +1325 -0
- data/lib/v2020_09_01_hybrid/modules/databoxedge_profile_module.rb +539 -0
- data/lib/v2020_09_01_hybrid/modules/dns_profile_module.rb +139 -0
- data/lib/v2020_09_01_hybrid/modules/eventhub_profile_module.rb +411 -0
- data/lib/v2020_09_01_hybrid/modules/iothub_profile_module.rb +385 -0
- data/lib/v2020_09_01_hybrid/modules/keyvault_profile_module.rb +657 -0
- data/lib/v2020_09_01_hybrid/modules/locks_profile_module.rb +79 -0
- data/lib/v2020_09_01_hybrid/modules/monitor_profile_module.rb +315 -0
- data/lib/v2020_09_01_hybrid/modules/network_profile_module.rb +1925 -0
- data/lib/v2020_09_01_hybrid/modules/policy_profile_module.rb +75 -0
- data/lib/v2020_09_01_hybrid/modules/resources_profile_module.rb +387 -0
- data/lib/v2020_09_01_hybrid/modules/storage_profile_module.rb +693 -0
- data/lib/v2020_09_01_hybrid/modules/web_profile_module.rb +1445 -0
- data/lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb +200 -0
- metadata +80 -63
@@ -0,0 +1,139 @@
|
|
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_dns'
|
6
|
+
|
7
|
+
module Azure::Profiles::V2020_09_01_Hybrid
|
8
|
+
module Dns
|
9
|
+
module Mgmt
|
10
|
+
RecordSets = Azure::Dns::Mgmt::V2016_04_01::RecordSets
|
11
|
+
Zones = Azure::Dns::Mgmt::V2016_04_01::Zones
|
12
|
+
|
13
|
+
module Models
|
14
|
+
RecordSetUpdateParameters = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetUpdateParameters
|
15
|
+
RecordSetListResult = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetListResult
|
16
|
+
AaaaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord
|
17
|
+
ARecord = Azure::Dns::Mgmt::V2016_04_01::Models::ARecord
|
18
|
+
MxRecord = Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord
|
19
|
+
PtrRecord = Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord
|
20
|
+
SrvRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord
|
21
|
+
Resource = Azure::Dns::Mgmt::V2016_04_01::Models::Resource
|
22
|
+
CnameRecord = Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord
|
23
|
+
ZoneDeleteResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult
|
24
|
+
RecordSet = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet
|
25
|
+
ZoneListResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult
|
26
|
+
TxtRecord = Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord
|
27
|
+
NsRecord = Azure::Dns::Mgmt::V2016_04_01::Models::NsRecord
|
28
|
+
SoaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SoaRecord
|
29
|
+
TrackedResource = Azure::Dns::Mgmt::V2016_04_01::Models::TrackedResource
|
30
|
+
Zone = Azure::Dns::Mgmt::V2016_04_01::Models::Zone
|
31
|
+
ProxyResource = Azure::Dns::Mgmt::V2016_04_01::Models::ProxyResource
|
32
|
+
AzureEntityResource = Azure::Dns::Mgmt::V2016_04_01::Models::AzureEntityResource
|
33
|
+
OperationStatus = Azure::Dns::Mgmt::V2016_04_01::Models::OperationStatus
|
34
|
+
HttpStatusCode = Azure::Dns::Mgmt::V2016_04_01::Models::HttpStatusCode
|
35
|
+
RecordType = Azure::Dns::Mgmt::V2016_04_01::Models::RecordType
|
36
|
+
end
|
37
|
+
|
38
|
+
class DnsManagementClass
|
39
|
+
attr_reader :record_sets, :zones, :configurable, :base_url, :options, :model_classes
|
40
|
+
|
41
|
+
def initialize(configurable, base_url=nil, options=nil)
|
42
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
43
|
+
|
44
|
+
@client_0 = Azure::Dns::Mgmt::V2016_04_01::DnsManagementClient.new(configurable.credentials, base_url, options)
|
45
|
+
if(@client_0.respond_to?(:subscription_id))
|
46
|
+
@client_0.subscription_id = configurable.subscription_id
|
47
|
+
end
|
48
|
+
add_telemetry(@client_0)
|
49
|
+
@record_sets = @client_0.record_sets
|
50
|
+
@zones = @client_0.zones
|
51
|
+
|
52
|
+
@model_classes = ModelClasses.new
|
53
|
+
end
|
54
|
+
|
55
|
+
def add_telemetry(client)
|
56
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/Dns/Mgmt"
|
57
|
+
client.add_user_agent_information(profile_information)
|
58
|
+
end
|
59
|
+
|
60
|
+
def method_missing(method, *args)
|
61
|
+
if @client_0.respond_to?method
|
62
|
+
@client_0.send(method, *args)
|
63
|
+
else
|
64
|
+
super
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
class ModelClasses
|
69
|
+
def record_set_update_parameters
|
70
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetUpdateParameters
|
71
|
+
end
|
72
|
+
def record_set_list_result
|
73
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetListResult
|
74
|
+
end
|
75
|
+
def aaaa_record
|
76
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord
|
77
|
+
end
|
78
|
+
def arecord
|
79
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::ARecord
|
80
|
+
end
|
81
|
+
def mx_record
|
82
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord
|
83
|
+
end
|
84
|
+
def ptr_record
|
85
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord
|
86
|
+
end
|
87
|
+
def srv_record
|
88
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord
|
89
|
+
end
|
90
|
+
def resource
|
91
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::Resource
|
92
|
+
end
|
93
|
+
def cname_record
|
94
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord
|
95
|
+
end
|
96
|
+
def zone_delete_result
|
97
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult
|
98
|
+
end
|
99
|
+
def record_set
|
100
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet
|
101
|
+
end
|
102
|
+
def zone_list_result
|
103
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult
|
104
|
+
end
|
105
|
+
def txt_record
|
106
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord
|
107
|
+
end
|
108
|
+
def ns_record
|
109
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::NsRecord
|
110
|
+
end
|
111
|
+
def soa_record
|
112
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::SoaRecord
|
113
|
+
end
|
114
|
+
def tracked_resource
|
115
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::TrackedResource
|
116
|
+
end
|
117
|
+
def zone
|
118
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::Zone
|
119
|
+
end
|
120
|
+
def proxy_resource
|
121
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::ProxyResource
|
122
|
+
end
|
123
|
+
def azure_entity_resource
|
124
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::AzureEntityResource
|
125
|
+
end
|
126
|
+
def operation_status
|
127
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::OperationStatus
|
128
|
+
end
|
129
|
+
def http_status_code
|
130
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::HttpStatusCode
|
131
|
+
end
|
132
|
+
def record_type
|
133
|
+
Azure::Dns::Mgmt::V2016_04_01::Models::RecordType
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
@@ -0,0 +1,411 @@
|
|
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_event_hub'
|
6
|
+
|
7
|
+
module Azure::Profiles::V2020_09_01_Hybrid
|
8
|
+
module EventHub
|
9
|
+
module Mgmt
|
10
|
+
DisasterRecoveryConfigs = Azure::EventHub::Mgmt::V2017_04_01::DisasterRecoveryConfigs
|
11
|
+
EventHubs = Azure::EventHub::Mgmt::V2017_04_01::EventHubs
|
12
|
+
ConsumerGroups = Azure::EventHub::Mgmt::V2017_04_01::ConsumerGroups
|
13
|
+
Operations = Azure::EventHub::Mgmt::V2017_04_01::Operations
|
14
|
+
Regions = Azure::EventHub::Mgmt::V2017_04_01::Regions
|
15
|
+
Clusters = Azure::EventHub::Mgmt::V2018_01_01_preview::Clusters
|
16
|
+
Namespaces = Azure::EventHub::Mgmt::V2018_01_01_preview::Namespaces
|
17
|
+
PrivateEndpointConnections = Azure::EventHub::Mgmt::V2018_01_01_preview::PrivateEndpointConnections
|
18
|
+
PrivateLinkResources = Azure::EventHub::Mgmt::V2018_01_01_preview::PrivateLinkResources
|
19
|
+
Configuration = Azure::EventHub::Mgmt::V2018_01_01_preview::Configuration
|
20
|
+
|
21
|
+
module Models
|
22
|
+
SharedAccessAuthorizationRuleListResult = Azure::EventHub::Mgmt::V2015_08_01::Models::SharedAccessAuthorizationRuleListResult
|
23
|
+
ResourceListKeys = Azure::EventHub::Mgmt::V2015_08_01::Models::ResourceListKeys
|
24
|
+
RegenerateKeysParameters = Azure::EventHub::Mgmt::V2015_08_01::Models::RegenerateKeysParameters
|
25
|
+
NamespaceCreateOrUpdateParameters = Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceCreateOrUpdateParameters
|
26
|
+
NamespaceListResult = Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceListResult
|
27
|
+
EventHubCreateOrUpdateParameters = Azure::EventHub::Mgmt::V2015_08_01::Models::EventHubCreateOrUpdateParameters
|
28
|
+
NamespaceUpdateParameter = Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceUpdateParameter
|
29
|
+
ConsumerGroupCreateOrUpdateParameters = Azure::EventHub::Mgmt::V2015_08_01::Models::ConsumerGroupCreateOrUpdateParameters
|
30
|
+
SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::EventHub::Mgmt::V2015_08_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
|
31
|
+
NamespaceResource = Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceResource
|
32
|
+
SharedAccessAuthorizationRuleResource = Azure::EventHub::Mgmt::V2015_08_01::Models::SharedAccessAuthorizationRuleResource
|
33
|
+
EventHubResource = Azure::EventHub::Mgmt::V2015_08_01::Models::EventHubResource
|
34
|
+
ConsumerGroupResource = Azure::EventHub::Mgmt::V2015_08_01::Models::ConsumerGroupResource
|
35
|
+
NamespaceState = Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceState
|
36
|
+
Policykey = Azure::EventHub::Mgmt::V2015_08_01::Models::Policykey
|
37
|
+
ConsumerGroupListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroupListResult
|
38
|
+
EventHubListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::EventHubListResult
|
39
|
+
AuthorizationRuleListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult
|
40
|
+
MessagingRegionsListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegionsListResult
|
41
|
+
RegenerateAccessKeyParameters = Azure::EventHub::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
|
42
|
+
ArmDisasterRecoveryListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
|
43
|
+
CheckNameAvailabilityParameter = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityParameter
|
44
|
+
OperationDisplay = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationDisplay
|
45
|
+
AccessKeys = Azure::EventHub::Mgmt::V2017_04_01::Models::AccessKeys
|
46
|
+
Operation = Azure::EventHub::Mgmt::V2017_04_01::Models::Operation
|
47
|
+
OperationListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult
|
48
|
+
MessagingRegionsProperties = Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegionsProperties
|
49
|
+
Destination = Azure::EventHub::Mgmt::V2017_04_01::Models::Destination
|
50
|
+
CheckNameAvailabilityResult = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
|
51
|
+
CaptureDescription = Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription
|
52
|
+
AuthorizationRule = Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRule
|
53
|
+
ConsumerGroup = Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroup
|
54
|
+
ArmDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery
|
55
|
+
Eventhub = Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub
|
56
|
+
MessagingRegions = Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegions
|
57
|
+
AccessRights = Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights
|
58
|
+
KeyType = Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType
|
59
|
+
UnavailableReason = Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason
|
60
|
+
ProvisioningStateDR = Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR
|
61
|
+
RoleDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery
|
62
|
+
EncodingCaptureDescription = Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription
|
63
|
+
EntityStatus = Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus
|
64
|
+
Encryption = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
|
65
|
+
KeyVaultProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeyVaultProperties
|
66
|
+
AvailableClustersList = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableClustersList
|
67
|
+
AvailableCluster = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableCluster
|
68
|
+
ClusterSku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterSku
|
69
|
+
ClusterListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult
|
70
|
+
EHNamespaceListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceListResult
|
71
|
+
EHNamespaceIdListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdListResult
|
72
|
+
PrivateEndpoint = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpoint
|
73
|
+
Resource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource
|
74
|
+
Subnet = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Subnet
|
75
|
+
NWRuleSetIpRules = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetIpRules
|
76
|
+
Sku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku
|
77
|
+
ConnectionState = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ConnectionState
|
78
|
+
ErrorResponse = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse
|
79
|
+
NWRuleSetVirtualNetworkRules = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetVirtualNetworkRules
|
80
|
+
EHNamespaceIdContainer = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdContainer
|
81
|
+
PrivateEndpointConnectionListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpointConnectionListResult
|
82
|
+
Identity = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
|
83
|
+
PrivateLinkResource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkResource
|
84
|
+
IpFilterRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult
|
85
|
+
PrivateLinkResourcesListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkResourcesListResult
|
86
|
+
VirtualNetworkRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult
|
87
|
+
ClusterQuotaConfigurationProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties
|
88
|
+
TrackedResource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::TrackedResource
|
89
|
+
Cluster = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster
|
90
|
+
IpFilterRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule
|
91
|
+
EHNamespace = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace
|
92
|
+
PrivateEndpointConnection = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpointConnection
|
93
|
+
VirtualNetworkRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule
|
94
|
+
NetworkRuleSet = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleSet
|
95
|
+
IPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction
|
96
|
+
SkuName = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName
|
97
|
+
SkuTier = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier
|
98
|
+
IdentityType = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IdentityType
|
99
|
+
KeySource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeySource
|
100
|
+
PrivateLinkConnectionStatus = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkConnectionStatus
|
101
|
+
EndPointProvisioningState = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EndPointProvisioningState
|
102
|
+
NetworkRuleIPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleIPAction
|
103
|
+
DefaultAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::DefaultAction
|
104
|
+
end
|
105
|
+
|
106
|
+
class EventHubManagementClass
|
107
|
+
attr_reader :disaster_recovery_configs, :event_hubs, :consumer_groups, :operations, :regions, :clusters, :namespaces, :private_endpoint_connections, :private_link_resources, :configuration, :configurable, :base_url, :options, :model_classes
|
108
|
+
|
109
|
+
def initialize(configurable, base_url=nil, options=nil)
|
110
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
111
|
+
|
112
|
+
@client_0 = Azure::EventHub::Mgmt::V2015_08_01::EventHubManagementClient.new(configurable.credentials, base_url, options)
|
113
|
+
if(@client_0.respond_to?(:subscription_id))
|
114
|
+
@client_0.subscription_id = configurable.subscription_id
|
115
|
+
end
|
116
|
+
add_telemetry(@client_0)
|
117
|
+
|
118
|
+
@client_1 = Azure::EventHub::Mgmt::V2017_04_01::EventHubManagementClient.new(configurable.credentials, base_url, options)
|
119
|
+
if(@client_1.respond_to?(:subscription_id))
|
120
|
+
@client_1.subscription_id = configurable.subscription_id
|
121
|
+
end
|
122
|
+
add_telemetry(@client_1)
|
123
|
+
@disaster_recovery_configs = @client_1.disaster_recovery_configs
|
124
|
+
@event_hubs = @client_1.event_hubs
|
125
|
+
@consumer_groups = @client_1.consumer_groups
|
126
|
+
@operations = @client_1.operations
|
127
|
+
@regions = @client_1.regions
|
128
|
+
|
129
|
+
@client_2 = Azure::EventHub::Mgmt::V2018_01_01_preview::EventHubManagementClient.new(configurable.credentials, base_url, options)
|
130
|
+
if(@client_2.respond_to?(:subscription_id))
|
131
|
+
@client_2.subscription_id = configurable.subscription_id
|
132
|
+
end
|
133
|
+
add_telemetry(@client_2)
|
134
|
+
@clusters = @client_2.clusters
|
135
|
+
@namespaces = @client_2.namespaces
|
136
|
+
@private_endpoint_connections = @client_2.private_endpoint_connections
|
137
|
+
@private_link_resources = @client_2.private_link_resources
|
138
|
+
@configuration = @client_2.configuration
|
139
|
+
|
140
|
+
@model_classes = ModelClasses.new
|
141
|
+
end
|
142
|
+
|
143
|
+
def add_telemetry(client)
|
144
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/EventHub/Mgmt"
|
145
|
+
client.add_user_agent_information(profile_information)
|
146
|
+
end
|
147
|
+
|
148
|
+
def method_missing(method, *args)
|
149
|
+
if @client_2.respond_to?method
|
150
|
+
@client_2.send(method, *args)
|
151
|
+
elsif @client_1.respond_to?method
|
152
|
+
@client_1.send(method, *args)
|
153
|
+
elsif @client_0.respond_to?method
|
154
|
+
@client_0.send(method, *args)
|
155
|
+
else
|
156
|
+
super
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
class ModelClasses
|
161
|
+
def shared_access_authorization_rule_list_result
|
162
|
+
Azure::EventHub::Mgmt::V2015_08_01::Models::SharedAccessAuthorizationRuleListResult
|
163
|
+
end
|
164
|
+
def resource_list_keys
|
165
|
+
Azure::EventHub::Mgmt::V2015_08_01::Models::ResourceListKeys
|
166
|
+
end
|
167
|
+
def regenerate_keys_parameters
|
168
|
+
Azure::EventHub::Mgmt::V2015_08_01::Models::RegenerateKeysParameters
|
169
|
+
end
|
170
|
+
def namespace_create_or_update_parameters
|
171
|
+
Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceCreateOrUpdateParameters
|
172
|
+
end
|
173
|
+
def namespace_list_result
|
174
|
+
Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceListResult
|
175
|
+
end
|
176
|
+
def event_hub_create_or_update_parameters
|
177
|
+
Azure::EventHub::Mgmt::V2015_08_01::Models::EventHubCreateOrUpdateParameters
|
178
|
+
end
|
179
|
+
def namespace_update_parameter
|
180
|
+
Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceUpdateParameter
|
181
|
+
end
|
182
|
+
def consumer_group_create_or_update_parameters
|
183
|
+
Azure::EventHub::Mgmt::V2015_08_01::Models::ConsumerGroupCreateOrUpdateParameters
|
184
|
+
end
|
185
|
+
def shared_access_authorization_rule_create_or_update_parameters
|
186
|
+
Azure::EventHub::Mgmt::V2015_08_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
|
187
|
+
end
|
188
|
+
def namespace_resource
|
189
|
+
Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceResource
|
190
|
+
end
|
191
|
+
def shared_access_authorization_rule_resource
|
192
|
+
Azure::EventHub::Mgmt::V2015_08_01::Models::SharedAccessAuthorizationRuleResource
|
193
|
+
end
|
194
|
+
def event_hub_resource
|
195
|
+
Azure::EventHub::Mgmt::V2015_08_01::Models::EventHubResource
|
196
|
+
end
|
197
|
+
def consumer_group_resource
|
198
|
+
Azure::EventHub::Mgmt::V2015_08_01::Models::ConsumerGroupResource
|
199
|
+
end
|
200
|
+
def namespace_state
|
201
|
+
Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceState
|
202
|
+
end
|
203
|
+
def policykey
|
204
|
+
Azure::EventHub::Mgmt::V2015_08_01::Models::Policykey
|
205
|
+
end
|
206
|
+
def consumer_group_list_result
|
207
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroupListResult
|
208
|
+
end
|
209
|
+
def event_hub_list_result
|
210
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::EventHubListResult
|
211
|
+
end
|
212
|
+
def authorization_rule_list_result
|
213
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult
|
214
|
+
end
|
215
|
+
def messaging_regions_list_result
|
216
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegionsListResult
|
217
|
+
end
|
218
|
+
def regenerate_access_key_parameters
|
219
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
|
220
|
+
end
|
221
|
+
def arm_disaster_recovery_list_result
|
222
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
|
223
|
+
end
|
224
|
+
def check_name_availability_parameter
|
225
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityParameter
|
226
|
+
end
|
227
|
+
def operation_display
|
228
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::OperationDisplay
|
229
|
+
end
|
230
|
+
def access_keys
|
231
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::AccessKeys
|
232
|
+
end
|
233
|
+
def operation
|
234
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::Operation
|
235
|
+
end
|
236
|
+
def operation_list_result
|
237
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult
|
238
|
+
end
|
239
|
+
def messaging_regions_properties
|
240
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegionsProperties
|
241
|
+
end
|
242
|
+
def destination
|
243
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::Destination
|
244
|
+
end
|
245
|
+
def check_name_availability_result
|
246
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
|
247
|
+
end
|
248
|
+
def capture_description
|
249
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription
|
250
|
+
end
|
251
|
+
def authorization_rule
|
252
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRule
|
253
|
+
end
|
254
|
+
def consumer_group
|
255
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroup
|
256
|
+
end
|
257
|
+
def arm_disaster_recovery
|
258
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery
|
259
|
+
end
|
260
|
+
def eventhub
|
261
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub
|
262
|
+
end
|
263
|
+
def messaging_regions
|
264
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegions
|
265
|
+
end
|
266
|
+
def access_rights
|
267
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights
|
268
|
+
end
|
269
|
+
def key_type
|
270
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType
|
271
|
+
end
|
272
|
+
def unavailable_reason
|
273
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason
|
274
|
+
end
|
275
|
+
def provisioning_state_dr
|
276
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR
|
277
|
+
end
|
278
|
+
def role_disaster_recovery
|
279
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery
|
280
|
+
end
|
281
|
+
def encoding_capture_description
|
282
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription
|
283
|
+
end
|
284
|
+
def entity_status
|
285
|
+
Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus
|
286
|
+
end
|
287
|
+
def encryption
|
288
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
|
289
|
+
end
|
290
|
+
def key_vault_properties
|
291
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeyVaultProperties
|
292
|
+
end
|
293
|
+
def available_clusters_list
|
294
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableClustersList
|
295
|
+
end
|
296
|
+
def available_cluster
|
297
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableCluster
|
298
|
+
end
|
299
|
+
def cluster_sku
|
300
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterSku
|
301
|
+
end
|
302
|
+
def cluster_list_result
|
303
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult
|
304
|
+
end
|
305
|
+
def ehnamespace_list_result
|
306
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceListResult
|
307
|
+
end
|
308
|
+
def ehnamespace_id_list_result
|
309
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdListResult
|
310
|
+
end
|
311
|
+
def private_endpoint
|
312
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpoint
|
313
|
+
end
|
314
|
+
def resource
|
315
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource
|
316
|
+
end
|
317
|
+
def subnet
|
318
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Subnet
|
319
|
+
end
|
320
|
+
def nwrule_set_ip_rules
|
321
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetIpRules
|
322
|
+
end
|
323
|
+
def sku
|
324
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku
|
325
|
+
end
|
326
|
+
def connection_state
|
327
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ConnectionState
|
328
|
+
end
|
329
|
+
def error_response
|
330
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse
|
331
|
+
end
|
332
|
+
def nwrule_set_virtual_network_rules
|
333
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetVirtualNetworkRules
|
334
|
+
end
|
335
|
+
def ehnamespace_id_container
|
336
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdContainer
|
337
|
+
end
|
338
|
+
def private_endpoint_connection_list_result
|
339
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpointConnectionListResult
|
340
|
+
end
|
341
|
+
def identity
|
342
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
|
343
|
+
end
|
344
|
+
def private_link_resource
|
345
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkResource
|
346
|
+
end
|
347
|
+
def ip_filter_rule_list_result
|
348
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult
|
349
|
+
end
|
350
|
+
def private_link_resources_list_result
|
351
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkResourcesListResult
|
352
|
+
end
|
353
|
+
def virtual_network_rule_list_result
|
354
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult
|
355
|
+
end
|
356
|
+
def cluster_quota_configuration_properties
|
357
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties
|
358
|
+
end
|
359
|
+
def tracked_resource
|
360
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::TrackedResource
|
361
|
+
end
|
362
|
+
def cluster
|
363
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster
|
364
|
+
end
|
365
|
+
def ip_filter_rule
|
366
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule
|
367
|
+
end
|
368
|
+
def ehnamespace
|
369
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace
|
370
|
+
end
|
371
|
+
def private_endpoint_connection
|
372
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpointConnection
|
373
|
+
end
|
374
|
+
def virtual_network_rule
|
375
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule
|
376
|
+
end
|
377
|
+
def network_rule_set
|
378
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleSet
|
379
|
+
end
|
380
|
+
def ipaction
|
381
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction
|
382
|
+
end
|
383
|
+
def sku_name
|
384
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName
|
385
|
+
end
|
386
|
+
def sku_tier
|
387
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier
|
388
|
+
end
|
389
|
+
def identity_type
|
390
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IdentityType
|
391
|
+
end
|
392
|
+
def key_source
|
393
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeySource
|
394
|
+
end
|
395
|
+
def private_link_connection_status
|
396
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkConnectionStatus
|
397
|
+
end
|
398
|
+
def end_point_provisioning_state
|
399
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EndPointProvisioningState
|
400
|
+
end
|
401
|
+
def network_rule_ipaction
|
402
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleIPAction
|
403
|
+
end
|
404
|
+
def default_action
|
405
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::DefaultAction
|
406
|
+
end
|
407
|
+
end
|
408
|
+
end
|
409
|
+
end
|
410
|
+
end
|
411
|
+
end
|