azure_sdk 0.62.0 → 0.67.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 +2 -1
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +31 -1
- data/lib/latest/modules/automanage_profile_module.rb +183 -0
- data/lib/latest/modules/cognitiveservices_profile_module.rb +68 -64
- data/lib/latest/modules/compute_profile_module.rb +961 -805
- data/lib/latest/modules/containerregistry_profile_module.rb +130 -74
- data/lib/latest/modules/containerservice_profile_module.rb +143 -139
- data/lib/latest/modules/datafactory_profile_module.rb +594 -490
- data/lib/latest/modules/digitaltwins_profile_module.rb +137 -0
- data/lib/latest/modules/eventhub_profile_module.rb +79 -57
- data/lib/latest/modules/hdinsight_profile_module.rb +9 -9
- data/lib/latest/modules/hybridcompute_profile_module.rb +177 -0
- data/lib/latest/modules/keyvault_profile_module.rb +426 -272
- data/lib/latest/modules/kusto_profile_module.rb +164 -160
- data/lib/latest/modules/mariadb_profile_module.rb +20 -4
- data/lib/latest/modules/monitor_profile_module.rb +226 -122
- data/lib/latest/modules/mysql_profile_module.rb +122 -12
- data/lib/latest/modules/netapp_profile_module.rb +229 -107
- data/lib/latest/modules/network_profile_module.rb +1733 -1633
- data/lib/latest/modules/operationalinsights_profile_module.rb +173 -173
- data/lib/latest/modules/policyinsights_profile_module.rb +8 -0
- data/lib/latest/modules/security_profile_module.rb +492 -224
- data/lib/latest/modules/storage_profile_module.rb +391 -377
- data/lib/latest/modules/subscriptions_profile_module.rb +92 -72
- 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 +1287 -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 +118 -56
@@ -0,0 +1,137 @@
|
|
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_digitaltwins'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module DigitalTwins
|
9
|
+
module Mgmt
|
10
|
+
DigitalTwins = Azure::DigitalTwins::Mgmt::V2020_10_31::DigitalTwins
|
11
|
+
DigitalTwinsEndpoint = Azure::DigitalTwins::Mgmt::V2020_10_31::DigitalTwinsEndpoint
|
12
|
+
Operations = Azure::DigitalTwins::Mgmt::V2020_10_31::Operations
|
13
|
+
|
14
|
+
module Models
|
15
|
+
CheckNameRequest = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::CheckNameRequest
|
16
|
+
Operation = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::Operation
|
17
|
+
DigitalTwinsPatchDescription = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::DigitalTwinsPatchDescription
|
18
|
+
OperationListResult = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::OperationListResult
|
19
|
+
ErrorDefinition = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::ErrorDefinition
|
20
|
+
DigitalTwinsDescriptionListResult = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::DigitalTwinsDescriptionListResult
|
21
|
+
CheckNameResult = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::CheckNameResult
|
22
|
+
DigitalTwinsResource = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::DigitalTwinsResource
|
23
|
+
ExternalResource = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::ExternalResource
|
24
|
+
OperationDisplay = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::OperationDisplay
|
25
|
+
DigitalTwinsEndpointResourceProperties = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::DigitalTwinsEndpointResourceProperties
|
26
|
+
ErrorResponse = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::ErrorResponse
|
27
|
+
DigitalTwinsEndpointResourceListResult = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::DigitalTwinsEndpointResourceListResult
|
28
|
+
DigitalTwinsDescription = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::DigitalTwinsDescription
|
29
|
+
DigitalTwinsEndpointResource = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::DigitalTwinsEndpointResource
|
30
|
+
ServiceBus = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::ServiceBus
|
31
|
+
EventHub = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::EventHub
|
32
|
+
EventGrid = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::EventGrid
|
33
|
+
ProvisioningState = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::ProvisioningState
|
34
|
+
Reason = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::Reason
|
35
|
+
EndpointProvisioningState = Azure::DigitalTwins::Mgmt::V2020_10_31::Models::EndpointProvisioningState
|
36
|
+
end
|
37
|
+
|
38
|
+
class DigitalTwinsManagementClass
|
39
|
+
attr_reader :digital_twins, :digital_twins_endpoint, :operations, :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::DigitalTwins::Mgmt::V2020_10_31::AzureDigitalTwinsManagementClient.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
|
+
@digital_twins = @client_0.digital_twins
|
50
|
+
@digital_twins_endpoint = @client_0.digital_twins_endpoint
|
51
|
+
@operations = @client_0.operations
|
52
|
+
|
53
|
+
@model_classes = ModelClasses.new
|
54
|
+
end
|
55
|
+
|
56
|
+
def add_telemetry(client)
|
57
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/DigitalTwins/Mgmt"
|
58
|
+
client.add_user_agent_information(profile_information)
|
59
|
+
end
|
60
|
+
|
61
|
+
def method_missing(method, *args)
|
62
|
+
if @client_0.respond_to?method
|
63
|
+
@client_0.send(method, *args)
|
64
|
+
else
|
65
|
+
super
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
class ModelClasses
|
70
|
+
def check_name_request
|
71
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::CheckNameRequest
|
72
|
+
end
|
73
|
+
def operation
|
74
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::Operation
|
75
|
+
end
|
76
|
+
def digital_twins_patch_description
|
77
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::DigitalTwinsPatchDescription
|
78
|
+
end
|
79
|
+
def operation_list_result
|
80
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::OperationListResult
|
81
|
+
end
|
82
|
+
def error_definition
|
83
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::ErrorDefinition
|
84
|
+
end
|
85
|
+
def digital_twins_description_list_result
|
86
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::DigitalTwinsDescriptionListResult
|
87
|
+
end
|
88
|
+
def check_name_result
|
89
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::CheckNameResult
|
90
|
+
end
|
91
|
+
def digital_twins_resource
|
92
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::DigitalTwinsResource
|
93
|
+
end
|
94
|
+
def external_resource
|
95
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::ExternalResource
|
96
|
+
end
|
97
|
+
def operation_display
|
98
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::OperationDisplay
|
99
|
+
end
|
100
|
+
def digital_twins_endpoint_resource_properties
|
101
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::DigitalTwinsEndpointResourceProperties
|
102
|
+
end
|
103
|
+
def error_response
|
104
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::ErrorResponse
|
105
|
+
end
|
106
|
+
def digital_twins_endpoint_resource_list_result
|
107
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::DigitalTwinsEndpointResourceListResult
|
108
|
+
end
|
109
|
+
def digital_twins_description
|
110
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::DigitalTwinsDescription
|
111
|
+
end
|
112
|
+
def digital_twins_endpoint_resource
|
113
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::DigitalTwinsEndpointResource
|
114
|
+
end
|
115
|
+
def service_bus
|
116
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::ServiceBus
|
117
|
+
end
|
118
|
+
def event_hub
|
119
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::EventHub
|
120
|
+
end
|
121
|
+
def event_grid
|
122
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::EventGrid
|
123
|
+
end
|
124
|
+
def provisioning_state
|
125
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::ProvisioningState
|
126
|
+
end
|
127
|
+
def reason
|
128
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::Reason
|
129
|
+
end
|
130
|
+
def endpoint_provisioning_state
|
131
|
+
Azure::DigitalTwins::Mgmt::V2020_10_31::Models::EndpointProvisioningState
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
@@ -7,64 +7,71 @@ require 'azure_mgmt_event_hub'
|
|
7
7
|
module Azure::Profiles::Latest
|
8
8
|
module EventHub
|
9
9
|
module Mgmt
|
10
|
-
Operations = Azure::EventHub::Mgmt::V2018_01_01_preview::Operations
|
11
10
|
Clusters = Azure::EventHub::Mgmt::V2018_01_01_preview::Clusters
|
12
|
-
Configuration = Azure::EventHub::Mgmt::V2018_01_01_preview::Configuration
|
13
11
|
Namespaces = Azure::EventHub::Mgmt::V2018_01_01_preview::Namespaces
|
12
|
+
PrivateEndpointConnections = Azure::EventHub::Mgmt::V2018_01_01_preview::PrivateEndpointConnections
|
13
|
+
PrivateLinkResources = Azure::EventHub::Mgmt::V2018_01_01_preview::PrivateLinkResources
|
14
|
+
Configuration = Azure::EventHub::Mgmt::V2018_01_01_preview::Configuration
|
14
15
|
|
15
16
|
module Models
|
16
|
-
|
17
|
-
OperationDisplay = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay
|
18
|
-
Identity = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
|
19
|
-
OperationListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult
|
17
|
+
Encryption = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
|
20
18
|
KeyVaultProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeyVaultProperties
|
21
|
-
|
19
|
+
AvailableClustersList = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableClustersList
|
22
20
|
AvailableCluster = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableCluster
|
23
21
|
ClusterSku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterSku
|
24
22
|
ClusterListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult
|
25
|
-
ErrorResponse = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse
|
26
|
-
Encryption = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
|
27
|
-
Resource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource
|
28
|
-
NWRuleSetVirtualNetworkRules = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetVirtualNetworkRules
|
29
|
-
EHNamespaceIdListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdListResult
|
30
23
|
EHNamespaceListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceListResult
|
31
|
-
|
24
|
+
EHNamespaceIdListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdListResult
|
25
|
+
PrivateEndpoint = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpoint
|
26
|
+
Resource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource
|
27
|
+
Subnet = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Subnet
|
32
28
|
NWRuleSetIpRules = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetIpRules
|
29
|
+
Sku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku
|
30
|
+
ConnectionState = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ConnectionState
|
31
|
+
ErrorResponse = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse
|
32
|
+
NWRuleSetVirtualNetworkRules = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetVirtualNetworkRules
|
33
33
|
EHNamespaceIdContainer = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdContainer
|
34
|
+
PrivateEndpointConnectionListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpointConnectionListResult
|
35
|
+
Identity = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
|
36
|
+
PrivateLinkResource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkResource
|
34
37
|
IpFilterRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult
|
38
|
+
PrivateLinkResourcesListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkResourcesListResult
|
35
39
|
VirtualNetworkRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult
|
36
|
-
|
37
|
-
Subnet = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Subnet
|
40
|
+
ClusterQuotaConfigurationProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties
|
38
41
|
TrackedResource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::TrackedResource
|
39
42
|
Cluster = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster
|
40
|
-
EHNamespace = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace
|
41
43
|
IpFilterRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule
|
44
|
+
EHNamespace = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace
|
45
|
+
PrivateEndpointConnection = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpointConnection
|
42
46
|
VirtualNetworkRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule
|
43
47
|
NetworkRuleSet = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleSet
|
48
|
+
IPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction
|
44
49
|
SkuName = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName
|
45
50
|
SkuTier = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier
|
46
51
|
IdentityType = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IdentityType
|
47
52
|
KeySource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeySource
|
48
|
-
|
53
|
+
PrivateLinkConnectionStatus = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkConnectionStatus
|
54
|
+
EndPointProvisioningState = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EndPointProvisioningState
|
49
55
|
NetworkRuleIPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleIPAction
|
50
56
|
DefaultAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::DefaultAction
|
51
57
|
end
|
52
58
|
|
53
59
|
class EventHubManagementClass
|
54
|
-
attr_reader :
|
60
|
+
attr_reader :clusters, :namespaces, :private_endpoint_connections, :private_link_resources, :configuration, :configurable, :base_url, :options, :model_classes
|
55
61
|
|
56
62
|
def initialize(configurable, base_url=nil, options=nil)
|
57
63
|
@configurable, @base_url, @options = configurable, base_url, options
|
58
64
|
|
59
|
-
@client_0 = Azure::EventHub::Mgmt::V2018_01_01_preview::
|
65
|
+
@client_0 = Azure::EventHub::Mgmt::V2018_01_01_preview::EventHubManagementClient.new(configurable.credentials, base_url, options)
|
60
66
|
if(@client_0.respond_to?(:subscription_id))
|
61
67
|
@client_0.subscription_id = configurable.subscription_id
|
62
68
|
end
|
63
69
|
add_telemetry(@client_0)
|
64
|
-
@operations = @client_0.operations
|
65
70
|
@clusters = @client_0.clusters
|
66
|
-
@configuration = @client_0.configuration
|
67
71
|
@namespaces = @client_0.namespaces
|
72
|
+
@private_endpoint_connections = @client_0.private_endpoint_connections
|
73
|
+
@private_link_resources = @client_0.private_link_resources
|
74
|
+
@configuration = @client_0.configuration
|
68
75
|
|
69
76
|
@model_classes = ModelClasses.new
|
70
77
|
end
|
@@ -83,23 +90,14 @@ module Azure::Profiles::Latest
|
|
83
90
|
end
|
84
91
|
|
85
92
|
class ModelClasses
|
86
|
-
def
|
87
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
88
|
-
end
|
89
|
-
def operation_display
|
90
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay
|
91
|
-
end
|
92
|
-
def identity
|
93
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
|
94
|
-
end
|
95
|
-
def operation_list_result
|
96
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult
|
93
|
+
def encryption
|
94
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
|
97
95
|
end
|
98
96
|
def key_vault_properties
|
99
97
|
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeyVaultProperties
|
100
98
|
end
|
101
|
-
def
|
102
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
99
|
+
def available_clusters_list
|
100
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableClustersList
|
103
101
|
end
|
104
102
|
def available_cluster
|
105
103
|
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableCluster
|
@@ -110,44 +108,59 @@ module Azure::Profiles::Latest
|
|
110
108
|
def cluster_list_result
|
111
109
|
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult
|
112
110
|
end
|
113
|
-
def
|
114
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
111
|
+
def ehnamespace_list_result
|
112
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceListResult
|
115
113
|
end
|
116
|
-
def
|
117
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
114
|
+
def ehnamespace_id_list_result
|
115
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdListResult
|
116
|
+
end
|
117
|
+
def private_endpoint
|
118
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpoint
|
118
119
|
end
|
119
120
|
def resource
|
120
121
|
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource
|
121
122
|
end
|
122
|
-
def
|
123
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
123
|
+
def subnet
|
124
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Subnet
|
124
125
|
end
|
125
|
-
def
|
126
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
126
|
+
def nwrule_set_ip_rules
|
127
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetIpRules
|
127
128
|
end
|
128
|
-
def
|
129
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
129
|
+
def sku
|
130
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku
|
130
131
|
end
|
131
|
-
def
|
132
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
132
|
+
def connection_state
|
133
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ConnectionState
|
133
134
|
end
|
134
|
-
def
|
135
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
135
|
+
def error_response
|
136
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse
|
137
|
+
end
|
138
|
+
def nwrule_set_virtual_network_rules
|
139
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetVirtualNetworkRules
|
136
140
|
end
|
137
141
|
def ehnamespace_id_container
|
138
142
|
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdContainer
|
139
143
|
end
|
144
|
+
def private_endpoint_connection_list_result
|
145
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpointConnectionListResult
|
146
|
+
end
|
147
|
+
def identity
|
148
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
|
149
|
+
end
|
150
|
+
def private_link_resource
|
151
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkResource
|
152
|
+
end
|
140
153
|
def ip_filter_rule_list_result
|
141
154
|
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult
|
142
155
|
end
|
156
|
+
def private_link_resources_list_result
|
157
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkResourcesListResult
|
158
|
+
end
|
143
159
|
def virtual_network_rule_list_result
|
144
160
|
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult
|
145
161
|
end
|
146
|
-
def
|
147
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
148
|
-
end
|
149
|
-
def subnet
|
150
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Subnet
|
162
|
+
def cluster_quota_configuration_properties
|
163
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties
|
151
164
|
end
|
152
165
|
def tracked_resource
|
153
166
|
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::TrackedResource
|
@@ -155,11 +168,14 @@ module Azure::Profiles::Latest
|
|
155
168
|
def cluster
|
156
169
|
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster
|
157
170
|
end
|
171
|
+
def ip_filter_rule
|
172
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule
|
173
|
+
end
|
158
174
|
def ehnamespace
|
159
175
|
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace
|
160
176
|
end
|
161
|
-
def
|
162
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
177
|
+
def private_endpoint_connection
|
178
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpointConnection
|
163
179
|
end
|
164
180
|
def virtual_network_rule
|
165
181
|
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule
|
@@ -167,6 +183,9 @@ module Azure::Profiles::Latest
|
|
167
183
|
def network_rule_set
|
168
184
|
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleSet
|
169
185
|
end
|
186
|
+
def ipaction
|
187
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction
|
188
|
+
end
|
170
189
|
def sku_name
|
171
190
|
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName
|
172
191
|
end
|
@@ -179,8 +198,11 @@ module Azure::Profiles::Latest
|
|
179
198
|
def key_source
|
180
199
|
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeySource
|
181
200
|
end
|
182
|
-
def
|
183
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
201
|
+
def private_link_connection_status
|
202
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkConnectionStatus
|
203
|
+
end
|
204
|
+
def end_point_provisioning_state
|
205
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EndPointProvisioningState
|
184
206
|
end
|
185
207
|
def network_rule_ipaction
|
186
208
|
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleIPAction
|
@@ -69,7 +69,7 @@ module Azure::Profiles::Latest
|
|
69
69
|
CapabilitiesResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::CapabilitiesResult
|
70
70
|
Role = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Role
|
71
71
|
LocalizedName = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::LocalizedName
|
72
|
-
|
72
|
+
NetworkProperties = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::NetworkProperties
|
73
73
|
Usage = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Usage
|
74
74
|
ClusterIdentityUserAssignedIdentitiesValue = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterIdentityUserAssignedIdentitiesValue
|
75
75
|
UsagesListResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::UsagesListResult
|
@@ -103,8 +103,8 @@ module Azure::Profiles::Latest
|
|
103
103
|
Application = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Application
|
104
104
|
DirectoryType = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DirectoryType
|
105
105
|
DaysOfWeek = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DaysOfWeek
|
106
|
-
|
107
|
-
|
106
|
+
ResourceProviderConnection = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ResourceProviderConnection
|
107
|
+
PrivateLink = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::PrivateLink
|
108
108
|
OSType = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OSType
|
109
109
|
Tier = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Tier
|
110
110
|
JsonWebKeyEncryptionAlgorithm = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::JsonWebKeyEncryptionAlgorithm
|
@@ -305,8 +305,8 @@ module Azure::Profiles::Latest
|
|
305
305
|
def localized_name
|
306
306
|
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::LocalizedName
|
307
307
|
end
|
308
|
-
def
|
309
|
-
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::
|
308
|
+
def network_properties
|
309
|
+
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::NetworkProperties
|
310
310
|
end
|
311
311
|
def usage
|
312
312
|
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Usage
|
@@ -407,11 +407,11 @@ module Azure::Profiles::Latest
|
|
407
407
|
def days_of_week
|
408
408
|
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DaysOfWeek
|
409
409
|
end
|
410
|
-
def
|
411
|
-
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::
|
410
|
+
def resource_provider_connection
|
411
|
+
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ResourceProviderConnection
|
412
412
|
end
|
413
|
-
def
|
414
|
-
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::
|
413
|
+
def private_link
|
414
|
+
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::PrivateLink
|
415
415
|
end
|
416
416
|
def ostype
|
417
417
|
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OSType
|
@@ -0,0 +1,177 @@
|
|
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_hybrid_compute'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module HybridCompute
|
9
|
+
module Mgmt
|
10
|
+
Machines = Azure::HybridCompute::Mgmt::V2020_08_02::Machines
|
11
|
+
MachineExtensions = Azure::HybridCompute::Mgmt::V2020_08_02::MachineExtensions
|
12
|
+
Operations = Azure::HybridCompute::Mgmt::V2020_08_02::Operations
|
13
|
+
|
14
|
+
module Models
|
15
|
+
MachineListResult = Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineListResult
|
16
|
+
OperationValue = Azure::HybridCompute::Mgmt::V2020_08_02::Models::OperationValue
|
17
|
+
UpdateResource = Azure::HybridCompute::Mgmt::V2020_08_02::Models::UpdateResource
|
18
|
+
OperationValueDisplayModel = Azure::HybridCompute::Mgmt::V2020_08_02::Models::OperationValueDisplayModel
|
19
|
+
ErrorResponse = Azure::HybridCompute::Mgmt::V2020_08_02::Models::ErrorResponse
|
20
|
+
LocationData = Azure::HybridCompute::Mgmt::V2020_08_02::Models::LocationData
|
21
|
+
Identity = Azure::HybridCompute::Mgmt::V2020_08_02::Models::Identity
|
22
|
+
ErrorDetail = Azure::HybridCompute::Mgmt::V2020_08_02::Models::ErrorDetail
|
23
|
+
OSProfile = Azure::HybridCompute::Mgmt::V2020_08_02::Models::OSProfile
|
24
|
+
MachineExtensionPropertiesModel = Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtensionPropertiesModel
|
25
|
+
OperationListResult = Azure::HybridCompute::Mgmt::V2020_08_02::Models::OperationListResult
|
26
|
+
MachineUpdateProperties = Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineUpdateProperties
|
27
|
+
MachineExtensionInstanceView = Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtensionInstanceView
|
28
|
+
MachineExtensionUpdatePropertiesModel = Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtensionUpdatePropertiesModel
|
29
|
+
Resource = Azure::HybridCompute::Mgmt::V2020_08_02::Models::Resource
|
30
|
+
MachineExtensionsListResult = Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtensionsListResult
|
31
|
+
MachineExtensionInstanceViewStatus = Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtensionInstanceViewStatus
|
32
|
+
MachineProperties = Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineProperties
|
33
|
+
MachinePropertiesOsProfile = Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachinePropertiesOsProfile
|
34
|
+
MachineIdentity = Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineIdentity
|
35
|
+
Machine = Azure::HybridCompute::Mgmt::V2020_08_02::Models::Machine
|
36
|
+
MachineUpdate = Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineUpdate
|
37
|
+
TrackedResource = Azure::HybridCompute::Mgmt::V2020_08_02::Models::TrackedResource
|
38
|
+
MachineExtension = Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtension
|
39
|
+
MachineExtensionUpdate = Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtensionUpdate
|
40
|
+
MachineExtensionPropertiesInstanceView = Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtensionPropertiesInstanceView
|
41
|
+
ProxyResource = Azure::HybridCompute::Mgmt::V2020_08_02::Models::ProxyResource
|
42
|
+
AzureEntityResource = Azure::HybridCompute::Mgmt::V2020_08_02::Models::AzureEntityResource
|
43
|
+
StatusTypes = Azure::HybridCompute::Mgmt::V2020_08_02::Models::StatusTypes
|
44
|
+
StatusLevelTypes = Azure::HybridCompute::Mgmt::V2020_08_02::Models::StatusLevelTypes
|
45
|
+
InstanceViewTypes = Azure::HybridCompute::Mgmt::V2020_08_02::Models::InstanceViewTypes
|
46
|
+
end
|
47
|
+
|
48
|
+
class HybridComputeManagementClass
|
49
|
+
attr_reader :machines, :machine_extensions, :operations, :configurable, :base_url, :options, :model_classes
|
50
|
+
|
51
|
+
def initialize(configurable, base_url=nil, options=nil)
|
52
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
53
|
+
|
54
|
+
@client_0 = Azure::HybridCompute::Mgmt::V2020_08_02::HybridComputeManagementClient.new(configurable.credentials, base_url, options)
|
55
|
+
if(@client_0.respond_to?(:subscription_id))
|
56
|
+
@client_0.subscription_id = configurable.subscription_id
|
57
|
+
end
|
58
|
+
add_telemetry(@client_0)
|
59
|
+
@machines = @client_0.machines
|
60
|
+
@machine_extensions = @client_0.machine_extensions
|
61
|
+
@operations = @client_0.operations
|
62
|
+
|
63
|
+
@model_classes = ModelClasses.new
|
64
|
+
end
|
65
|
+
|
66
|
+
def add_telemetry(client)
|
67
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/HybridCompute/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
|
+
class ModelClasses
|
80
|
+
def machine_list_result
|
81
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineListResult
|
82
|
+
end
|
83
|
+
def operation_value
|
84
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::OperationValue
|
85
|
+
end
|
86
|
+
def update_resource
|
87
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::UpdateResource
|
88
|
+
end
|
89
|
+
def operation_value_display_model
|
90
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::OperationValueDisplayModel
|
91
|
+
end
|
92
|
+
def error_response
|
93
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::ErrorResponse
|
94
|
+
end
|
95
|
+
def location_data
|
96
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::LocationData
|
97
|
+
end
|
98
|
+
def identity
|
99
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::Identity
|
100
|
+
end
|
101
|
+
def error_detail
|
102
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::ErrorDetail
|
103
|
+
end
|
104
|
+
def osprofile
|
105
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::OSProfile
|
106
|
+
end
|
107
|
+
def machine_extension_properties_model
|
108
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtensionPropertiesModel
|
109
|
+
end
|
110
|
+
def operation_list_result
|
111
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::OperationListResult
|
112
|
+
end
|
113
|
+
def machine_update_properties
|
114
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineUpdateProperties
|
115
|
+
end
|
116
|
+
def machine_extension_instance_view
|
117
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtensionInstanceView
|
118
|
+
end
|
119
|
+
def machine_extension_update_properties_model
|
120
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtensionUpdatePropertiesModel
|
121
|
+
end
|
122
|
+
def resource
|
123
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::Resource
|
124
|
+
end
|
125
|
+
def machine_extensions_list_result
|
126
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtensionsListResult
|
127
|
+
end
|
128
|
+
def machine_extension_instance_view_status
|
129
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtensionInstanceViewStatus
|
130
|
+
end
|
131
|
+
def machine_properties
|
132
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineProperties
|
133
|
+
end
|
134
|
+
def machine_properties_os_profile
|
135
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachinePropertiesOsProfile
|
136
|
+
end
|
137
|
+
def machine_identity
|
138
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineIdentity
|
139
|
+
end
|
140
|
+
def machine
|
141
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::Machine
|
142
|
+
end
|
143
|
+
def machine_update
|
144
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineUpdate
|
145
|
+
end
|
146
|
+
def tracked_resource
|
147
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::TrackedResource
|
148
|
+
end
|
149
|
+
def machine_extension
|
150
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtension
|
151
|
+
end
|
152
|
+
def machine_extension_update
|
153
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtensionUpdate
|
154
|
+
end
|
155
|
+
def machine_extension_properties_instance_view
|
156
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineExtensionPropertiesInstanceView
|
157
|
+
end
|
158
|
+
def proxy_resource
|
159
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::ProxyResource
|
160
|
+
end
|
161
|
+
def azure_entity_resource
|
162
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::AzureEntityResource
|
163
|
+
end
|
164
|
+
def status_types
|
165
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::StatusTypes
|
166
|
+
end
|
167
|
+
def status_level_types
|
168
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::StatusLevelTypes
|
169
|
+
end
|
170
|
+
def instance_view_types
|
171
|
+
Azure::HybridCompute::Mgmt::V2020_08_02::Models::InstanceViewTypes
|
172
|
+
end
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|
176
|
+
end
|
177
|
+
end
|