azure_sdk 0.51.1 → 0.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +20 -20
- data/lib/azure_sdk.rb +9 -9
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +0 -0
- data/lib/latest/module_definition.rb +6 -6
- data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -481
- data/lib/latest/modules/advisor_profile_module.rb +119 -119
- data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -259
- data/lib/latest/modules/analysisservices_profile_module.rb +159 -159
- data/lib/latest/modules/anomalydetector_profile_module.rb +69 -69
- data/lib/latest/modules/apimanagement_profile_module.rb +1069 -1069
- data/lib/latest/modules/appconfiguration_profile_module.rb +175 -107
- data/lib/latest/modules/attestation_profile_module.rb +95 -95
- data/lib/latest/modules/authorization_profile_module.rb +167 -167
- data/lib/latest/modules/automation_profile_module.rb +663 -663
- data/lib/latest/modules/autosuggest_profile_module.rb +121 -121
- data/lib/latest/modules/azurestack_profile_module.rb +0 -0
- data/lib/latest/modules/batch_profile_module.rb +417 -417
- data/lib/latest/modules/batchai_profile_module.rb +425 -425
- data/lib/latest/modules/billing_profile_module.rb +107 -107
- data/lib/latest/modules/botservice_profile_module.rb +293 -293
- data/lib/latest/modules/cdn_profile_module.rb +325 -325
- data/lib/latest/modules/cognitiveservices_profile_module.rb +201 -207
- data/lib/latest/modules/commerce_profile_module.rb +99 -99
- data/lib/latest/modules/compute_profile_module.rb +1235 -1235
- data/lib/latest/modules/computervision_profile_module.rb +233 -233
- data/lib/latest/modules/consumption_profile_module.rb +345 -345
- data/lib/latest/modules/containerinstance_profile_module.rb +253 -253
- data/lib/latest/modules/containerregistry_profile_module.rb +575 -575
- data/lib/latest/modules/containerservice_profile_module.rb +385 -385
- data/lib/latest/modules/contentmoderator_profile_module.rb +287 -287
- data/lib/latest/modules/cosmosdb_profile_module.rb +679 -679
- data/lib/latest/modules/costmanagement_profile_module.rb +207 -207
- data/lib/latest/modules/customerinsights_profile_module.rb +497 -497
- data/lib/latest/modules/customimagesearch_profile_module.rb +143 -143
- data/lib/latest/modules/customsearch_profile_module.rb +123 -123
- data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -69
- data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -241
- data/lib/latest/modules/databox_profile_module.rb +309 -309
- data/lib/latest/modules/datafactory_profile_module.rb +2701 -2159
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -253
- data/lib/latest/modules/datalakestore_profile_module.rb +247 -247
- data/lib/latest/modules/datamigration_profile_module.rb +1307 -1307
- data/lib/latest/modules/datashare_profile_module.rb +383 -383
- data/lib/latest/modules/deploymentmanager_profile_module.rb +261 -261
- data/lib/latest/modules/devspaces_profile_module.rb +119 -119
- data/lib/latest/modules/devtestlabs_profile_module.rb +849 -849
- data/lib/latest/modules/dns_profile_module.rb +143 -143
- data/lib/latest/modules/edgegateway_profile_module.rb +463 -463
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -231
- data/lib/latest/modules/eventgrid_profile_module.rb +679 -679
- data/lib/latest/modules/eventhub_profile_module.rb +195 -195
- data/lib/latest/modules/face_profile_module.rb +297 -297
- data/lib/latest/modules/features_profile_module.rb +73 -73
- data/lib/latest/modules/formrecognizer_profile_module.rb +169 -169
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -225
- data/lib/latest/modules/hanaonazure_profile_module.rb +137 -137
- data/lib/latest/modules/hdinsight_profile_module.rb +415 -415
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -279
- data/lib/latest/modules/importexport_profile_module.rb +135 -135
- data/lib/latest/modules/iotcentral_profile_module.rb +111 -111
- data/lib/latest/modules/iothub_profile_module.rb +377 -377
- data/lib/latest/modules/keyvault_profile_module.rb +623 -623
- data/lib/latest/modules/kusto_profile_module.rb +349 -297
- data/lib/latest/modules/labservices_profile_module.rb +357 -357
- data/lib/latest/modules/links_profile_module.rb +83 -83
- data/lib/latest/modules/localsearch_profile_module.rb +151 -151
- data/lib/latest/modules/locks_profile_module.rb +79 -79
- data/lib/latest/modules/logic_profile_module.rb +787 -787
- data/lib/latest/modules/luisauthoring_profile_module.rb +497 -497
- data/lib/latest/modules/luisruntime_profile_module.rb +91 -91
- data/lib/latest/modules/machinelearning_profile_module.rb +211 -211
- data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -293
- data/lib/latest/modules/maintenance_profile_module.rb +121 -121
- data/lib/latest/modules/managedapplications_profile_module.rb +123 -123
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -75
- data/lib/latest/modules/mariadb_profile_module.rb +233 -233
- data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -79
- data/lib/latest/modules/mediaservices_profile_module.rb +871 -871
- data/lib/latest/modules/migrate_profile_module.rb +243 -243
- data/lib/latest/modules/mixedreality_profile_module.rb +125 -125
- data/lib/latest/modules/monitor_profile_module.rb +723 -723
- data/lib/latest/modules/mysql_profile_module.rb +233 -233
- data/lib/latest/modules/netapp_profile_module.rb +209 -209
- data/lib/latest/modules/network_profile_module.rb +2489 -2489
- data/lib/latest/modules/newssearch_profile_module.rb +143 -143
- data/lib/latest/modules/notificationhubs_profile_module.rb +189 -189
- data/lib/latest/modules/operationalinsights_profile_module.rb +259 -259
- data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -123
- data/lib/latest/modules/peering_profile_module.rb +259 -259
- data/lib/latest/modules/personalizer_profile_module.rb +83 -83
- data/lib/latest/modules/policy_profile_module.rb +105 -105
- data/lib/latest/modules/policyinsights_profile_module.rb +223 -223
- data/lib/latest/modules/portal_profile_module.rb +95 -95
- data/lib/latest/modules/postgresql_profile_module.rb +233 -233
- data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -123
- data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -127
- data/lib/latest/modules/privatedns_profile_module.rb +137 -137
- data/lib/latest/modules/qnamaker_profile_module.rb +215 -219
- data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -123
- data/lib/latest/modules/recoveryservices_profile_module.rb +211 -211
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1301 -1301
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -1465
- data/lib/latest/modules/redis_profile_module.rb +209 -209
- data/lib/latest/modules/relay_profile_module.rb +163 -163
- data/lib/latest/modules/reservations_profile_module.rb +359 -237
- data/lib/latest/modules/resourcegraph_profile_module.rb +129 -129
- data/lib/latest/modules/resourcehealth_profile_module.rb +111 -111
- data/lib/latest/modules/resources_profile_module.rb +321 -321
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -163
- data/lib/latest/modules/scheduler_profile_module.rb +227 -227
- data/lib/latest/modules/search_profile_module.rb +127 -127
- data/lib/latest/modules/security_profile_module.rb +733 -733
- data/lib/latest/modules/serialconsole_profile_module.rb +73 -73
- data/lib/latest/modules/servicebus_profile_module.rb +309 -309
- data/lib/latest/modules/servicefabric_profile_module.rb +2711 -2711
- data/lib/latest/modules/signalr_profile_module.rb +161 -161
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -101
- data/lib/latest/modules/sql_profile_module.rb +1765 -1765
- data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +235 -235
- data/lib/latest/modules/storage_profile_module.rb +569 -549
- data/lib/latest/modules/storagecache_profile_module.rb +173 -173
- data/lib/latest/modules/storagesync_profile_module.rb +275 -275
- data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -715
- data/lib/latest/modules/streamanalytics_profile_module.rb +349 -349
- data/lib/latest/modules/subscriptions_profile_module.rb +207 -207
- data/lib/latest/modules/textanalytics_profile_module.rb +125 -125
- data/lib/latest/modules/timeseriesinsights_profile_module.rb +0 -0
- data/lib/latest/modules/trafficmanager_profile_module.rb +173 -173
- data/lib/latest/modules/videosearch_profile_module.rb +175 -175
- data/lib/latest/modules/visualsearch_profile_module.rb +235 -235
- data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -247
- data/lib/latest/modules/web_profile_module.rb +1419 -1419
- data/lib/latest/modules/websearch_profile_module.rb +211 -211
- data/lib/v2017_03_09/module_definition.rb +6 -6
- data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -141
- data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -469
- data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -139
- data/lib/v2017_03_09/modules/features_profile_module.rb +73 -73
- data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2017_03_09/modules/links_profile_module.rb +83 -83
- data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -61
- data/lib/v2017_03_09/modules/network_profile_module.rb +555 -555
- data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -71
- data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -255
- data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -163
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -170
- data/lib/v2018_03_01/module_definition.rb +6 -6
- data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -133
- data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -755
- data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -139
- data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -79
- data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -1321
- data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -75
- data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -271
- data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -163
- data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -1223
- data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -160
- data/lib/v2019_03_01_hybrid/module_definition.rb +6 -6
- data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -133
- data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -855
- data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -139
- data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -79
- data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -285
- data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -1261
- data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -75
- data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -289
- data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -283
- data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -1457
- data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -170
- metadata +27 -26
@@ -1,163 +1,163 @@
|
|
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_resources_management'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module ResourcesManagement
|
9
|
-
module Mgmt
|
10
|
-
ManagementGroups = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroups
|
11
|
-
ManagementGroupSubscriptions = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroupSubscriptions
|
12
|
-
Operations = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Operations
|
13
|
-
Entities = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Entities
|
14
|
-
|
15
|
-
module Models
|
16
|
-
ManagementGroup = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup
|
17
|
-
ErrorDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorDetails
|
18
|
-
OperationResults = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults
|
19
|
-
OperationDisplayProperties = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties
|
20
|
-
EntityParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityParentGroupInfo
|
21
|
-
OperationListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult
|
22
|
-
EntityInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo
|
23
|
-
TenantBackfillStatusResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult
|
24
|
-
EntityListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult
|
25
|
-
ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult
|
26
|
-
EntityHierarchyItem = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityHierarchyItem
|
27
|
-
ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails
|
28
|
-
PatchManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest
|
29
|
-
ErrorResponse = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse
|
30
|
-
CreateParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo
|
31
|
-
CheckNameAvailabilityResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult
|
32
|
-
CreateManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails
|
33
|
-
ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo
|
34
|
-
CreateManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo
|
35
|
-
Operation = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation
|
36
|
-
CreateManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupRequest
|
37
|
-
ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo
|
38
|
-
CheckNameAvailabilityRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest
|
39
|
-
ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo
|
40
|
-
Reason = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason
|
41
|
-
Status = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status
|
42
|
-
Type = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type
|
43
|
-
end
|
44
|
-
|
45
|
-
class ResourcesManagementManagementClass
|
46
|
-
attr_reader :management_groups, :management_group_subscriptions, :operations, :entities, :configurable, :base_url, :options, :model_classes
|
47
|
-
|
48
|
-
def initialize(configurable, base_url=nil, options=nil)
|
49
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
50
|
-
|
51
|
-
@client_0 = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroupsAPI.new(configurable.credentials, base_url, options)
|
52
|
-
if(@client_0.respond_to?(:subscription_id))
|
53
|
-
@client_0.subscription_id = configurable.subscription_id
|
54
|
-
end
|
55
|
-
add_telemetry(@client_0)
|
56
|
-
@management_groups = @client_0.management_groups
|
57
|
-
@management_group_subscriptions = @client_0.management_group_subscriptions
|
58
|
-
@operations = @client_0.operations
|
59
|
-
@entities = @client_0.entities
|
60
|
-
|
61
|
-
@model_classes = ModelClasses.new
|
62
|
-
end
|
63
|
-
|
64
|
-
def add_telemetry(client)
|
65
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ResourcesManagement/Mgmt"
|
66
|
-
client.add_user_agent_information(profile_information)
|
67
|
-
end
|
68
|
-
|
69
|
-
def method_missing(method, *args)
|
70
|
-
if @client_0.respond_to?method
|
71
|
-
@client_0.send(method, *args)
|
72
|
-
else
|
73
|
-
super
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
class ModelClasses
|
78
|
-
def management_group
|
79
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup
|
80
|
-
end
|
81
|
-
def error_details
|
82
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorDetails
|
83
|
-
end
|
84
|
-
def operation_results
|
85
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults
|
86
|
-
end
|
87
|
-
def operation_display_properties
|
88
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties
|
89
|
-
end
|
90
|
-
def entity_parent_group_info
|
91
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityParentGroupInfo
|
92
|
-
end
|
93
|
-
def operation_list_result
|
94
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult
|
95
|
-
end
|
96
|
-
def entity_info
|
97
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo
|
98
|
-
end
|
99
|
-
def tenant_backfill_status_result
|
100
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult
|
101
|
-
end
|
102
|
-
def entity_list_result
|
103
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult
|
104
|
-
end
|
105
|
-
def management_group_list_result
|
106
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult
|
107
|
-
end
|
108
|
-
def entity_hierarchy_item
|
109
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityHierarchyItem
|
110
|
-
end
|
111
|
-
def management_group_details
|
112
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails
|
113
|
-
end
|
114
|
-
def patch_management_group_request
|
115
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest
|
116
|
-
end
|
117
|
-
def error_response
|
118
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse
|
119
|
-
end
|
120
|
-
def create_parent_group_info
|
121
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo
|
122
|
-
end
|
123
|
-
def check_name_availability_result
|
124
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult
|
125
|
-
end
|
126
|
-
def create_management_group_details
|
127
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails
|
128
|
-
end
|
129
|
-
def parent_group_info
|
130
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo
|
131
|
-
end
|
132
|
-
def create_management_group_child_info
|
133
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo
|
134
|
-
end
|
135
|
-
def operation
|
136
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation
|
137
|
-
end
|
138
|
-
def create_management_group_request
|
139
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupRequest
|
140
|
-
end
|
141
|
-
def management_group_child_info
|
142
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo
|
143
|
-
end
|
144
|
-
def check_name_availability_request
|
145
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest
|
146
|
-
end
|
147
|
-
def management_group_info
|
148
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo
|
149
|
-
end
|
150
|
-
def reason
|
151
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason
|
152
|
-
end
|
153
|
-
def status
|
154
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status
|
155
|
-
end
|
156
|
-
def type
|
157
|
-
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type
|
158
|
-
end
|
159
|
-
end
|
160
|
-
end
|
161
|
-
end
|
162
|
-
end
|
163
|
-
end
|
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_resources_management'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module ResourcesManagement
|
9
|
+
module Mgmt
|
10
|
+
ManagementGroups = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroups
|
11
|
+
ManagementGroupSubscriptions = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroupSubscriptions
|
12
|
+
Operations = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Operations
|
13
|
+
Entities = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Entities
|
14
|
+
|
15
|
+
module Models
|
16
|
+
ManagementGroup = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup
|
17
|
+
ErrorDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorDetails
|
18
|
+
OperationResults = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults
|
19
|
+
OperationDisplayProperties = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties
|
20
|
+
EntityParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityParentGroupInfo
|
21
|
+
OperationListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult
|
22
|
+
EntityInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo
|
23
|
+
TenantBackfillStatusResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult
|
24
|
+
EntityListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult
|
25
|
+
ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult
|
26
|
+
EntityHierarchyItem = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityHierarchyItem
|
27
|
+
ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails
|
28
|
+
PatchManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest
|
29
|
+
ErrorResponse = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse
|
30
|
+
CreateParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo
|
31
|
+
CheckNameAvailabilityResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult
|
32
|
+
CreateManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails
|
33
|
+
ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo
|
34
|
+
CreateManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo
|
35
|
+
Operation = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation
|
36
|
+
CreateManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupRequest
|
37
|
+
ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo
|
38
|
+
CheckNameAvailabilityRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest
|
39
|
+
ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo
|
40
|
+
Reason = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason
|
41
|
+
Status = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status
|
42
|
+
Type = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type
|
43
|
+
end
|
44
|
+
|
45
|
+
class ResourcesManagementManagementClass
|
46
|
+
attr_reader :management_groups, :management_group_subscriptions, :operations, :entities, :configurable, :base_url, :options, :model_classes
|
47
|
+
|
48
|
+
def initialize(configurable, base_url=nil, options=nil)
|
49
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
50
|
+
|
51
|
+
@client_0 = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroupsAPI.new(configurable.credentials, base_url, options)
|
52
|
+
if(@client_0.respond_to?(:subscription_id))
|
53
|
+
@client_0.subscription_id = configurable.subscription_id
|
54
|
+
end
|
55
|
+
add_telemetry(@client_0)
|
56
|
+
@management_groups = @client_0.management_groups
|
57
|
+
@management_group_subscriptions = @client_0.management_group_subscriptions
|
58
|
+
@operations = @client_0.operations
|
59
|
+
@entities = @client_0.entities
|
60
|
+
|
61
|
+
@model_classes = ModelClasses.new
|
62
|
+
end
|
63
|
+
|
64
|
+
def add_telemetry(client)
|
65
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ResourcesManagement/Mgmt"
|
66
|
+
client.add_user_agent_information(profile_information)
|
67
|
+
end
|
68
|
+
|
69
|
+
def method_missing(method, *args)
|
70
|
+
if @client_0.respond_to?method
|
71
|
+
@client_0.send(method, *args)
|
72
|
+
else
|
73
|
+
super
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
class ModelClasses
|
78
|
+
def management_group
|
79
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup
|
80
|
+
end
|
81
|
+
def error_details
|
82
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorDetails
|
83
|
+
end
|
84
|
+
def operation_results
|
85
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults
|
86
|
+
end
|
87
|
+
def operation_display_properties
|
88
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties
|
89
|
+
end
|
90
|
+
def entity_parent_group_info
|
91
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityParentGroupInfo
|
92
|
+
end
|
93
|
+
def operation_list_result
|
94
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult
|
95
|
+
end
|
96
|
+
def entity_info
|
97
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo
|
98
|
+
end
|
99
|
+
def tenant_backfill_status_result
|
100
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult
|
101
|
+
end
|
102
|
+
def entity_list_result
|
103
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult
|
104
|
+
end
|
105
|
+
def management_group_list_result
|
106
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult
|
107
|
+
end
|
108
|
+
def entity_hierarchy_item
|
109
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityHierarchyItem
|
110
|
+
end
|
111
|
+
def management_group_details
|
112
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails
|
113
|
+
end
|
114
|
+
def patch_management_group_request
|
115
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest
|
116
|
+
end
|
117
|
+
def error_response
|
118
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse
|
119
|
+
end
|
120
|
+
def create_parent_group_info
|
121
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo
|
122
|
+
end
|
123
|
+
def check_name_availability_result
|
124
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult
|
125
|
+
end
|
126
|
+
def create_management_group_details
|
127
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails
|
128
|
+
end
|
129
|
+
def parent_group_info
|
130
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo
|
131
|
+
end
|
132
|
+
def create_management_group_child_info
|
133
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo
|
134
|
+
end
|
135
|
+
def operation
|
136
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation
|
137
|
+
end
|
138
|
+
def create_management_group_request
|
139
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupRequest
|
140
|
+
end
|
141
|
+
def management_group_child_info
|
142
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo
|
143
|
+
end
|
144
|
+
def check_name_availability_request
|
145
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest
|
146
|
+
end
|
147
|
+
def management_group_info
|
148
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo
|
149
|
+
end
|
150
|
+
def reason
|
151
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason
|
152
|
+
end
|
153
|
+
def status
|
154
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status
|
155
|
+
end
|
156
|
+
def type
|
157
|
+
Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|
161
|
+
end
|
162
|
+
end
|
163
|
+
end
|
@@ -1,227 +1,227 @@
|
|
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_scheduler'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module Scheduler
|
9
|
-
module Mgmt
|
10
|
-
JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections
|
11
|
-
Jobs = Azure::Scheduler::Mgmt::V2016_03_01::Jobs
|
12
|
-
|
13
|
-
module Models
|
14
|
-
JobRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence
|
15
|
-
Sku = Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku
|
16
|
-
JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus
|
17
|
-
JobCollectionQuota = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota
|
18
|
-
JobProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties
|
19
|
-
JobCollectionDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition
|
20
|
-
JobDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition
|
21
|
-
HttpAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication
|
22
|
-
JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult
|
23
|
-
StorageQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage
|
24
|
-
JobHistoryDefinitionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties
|
25
|
-
HttpRequest = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest
|
26
|
-
RetryPolicy = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy
|
27
|
-
ServiceBusBrokeredMessageProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties
|
28
|
-
JobAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction
|
29
|
-
JobRecurrenceSchedule = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule
|
30
|
-
JobHistoryDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition
|
31
|
-
JobCollectionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties
|
32
|
-
JobHistoryListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult
|
33
|
-
JobErrorAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction
|
34
|
-
JobHistoryFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryFilter
|
35
|
-
JobMaxRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence
|
36
|
-
JobStateFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter
|
37
|
-
JobRecurrenceScheduleMonthlyOccurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence
|
38
|
-
ServiceBusMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage
|
39
|
-
JobCollectionListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult
|
40
|
-
ServiceBusAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthentication
|
41
|
-
ServiceBusQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage
|
42
|
-
ServiceBusTopicMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage
|
43
|
-
ClientCertAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication
|
44
|
-
BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication
|
45
|
-
OAuthAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication
|
46
|
-
SkuDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition
|
47
|
-
JobCollectionState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState
|
48
|
-
RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency
|
49
|
-
JobActionType = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType
|
50
|
-
RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType
|
51
|
-
DayOfWeek = Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek
|
52
|
-
JobScheduleDay = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay
|
53
|
-
JobState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState
|
54
|
-
JobHistoryActionName = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName
|
55
|
-
JobExecutionStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus
|
56
|
-
ServiceBusAuthenticationType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType
|
57
|
-
ServiceBusTransportType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType
|
58
|
-
end
|
59
|
-
|
60
|
-
class SchedulerManagementClass
|
61
|
-
attr_reader :job_collections, :jobs, :configurable, :base_url, :options, :model_classes
|
62
|
-
|
63
|
-
def initialize(configurable, base_url=nil, options=nil)
|
64
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
65
|
-
|
66
|
-
@client_0 = Azure::Scheduler::Mgmt::V2016_03_01::SchedulerManagementClient.new(configurable.credentials, base_url, options)
|
67
|
-
if(@client_0.respond_to?(:subscription_id))
|
68
|
-
@client_0.subscription_id = configurable.subscription_id
|
69
|
-
end
|
70
|
-
add_telemetry(@client_0)
|
71
|
-
@job_collections = @client_0.job_collections
|
72
|
-
@jobs = @client_0.jobs
|
73
|
-
|
74
|
-
@model_classes = ModelClasses.new
|
75
|
-
end
|
76
|
-
|
77
|
-
def add_telemetry(client)
|
78
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Scheduler/Mgmt"
|
79
|
-
client.add_user_agent_information(profile_information)
|
80
|
-
end
|
81
|
-
|
82
|
-
def method_missing(method, *args)
|
83
|
-
if @client_0.respond_to?method
|
84
|
-
@client_0.send(method, *args)
|
85
|
-
else
|
86
|
-
super
|
87
|
-
end
|
88
|
-
end
|
89
|
-
|
90
|
-
class ModelClasses
|
91
|
-
def job_recurrence
|
92
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence
|
93
|
-
end
|
94
|
-
def sku
|
95
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku
|
96
|
-
end
|
97
|
-
def job_status
|
98
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus
|
99
|
-
end
|
100
|
-
def job_collection_quota
|
101
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota
|
102
|
-
end
|
103
|
-
def job_properties
|
104
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties
|
105
|
-
end
|
106
|
-
def job_collection_definition
|
107
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition
|
108
|
-
end
|
109
|
-
def job_definition
|
110
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition
|
111
|
-
end
|
112
|
-
def http_authentication
|
113
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication
|
114
|
-
end
|
115
|
-
def job_list_result
|
116
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult
|
117
|
-
end
|
118
|
-
def storage_queue_message
|
119
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage
|
120
|
-
end
|
121
|
-
def job_history_definition_properties
|
122
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties
|
123
|
-
end
|
124
|
-
def http_request
|
125
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest
|
126
|
-
end
|
127
|
-
def retry_policy
|
128
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy
|
129
|
-
end
|
130
|
-
def service_bus_brokered_message_properties
|
131
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties
|
132
|
-
end
|
133
|
-
def job_action
|
134
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction
|
135
|
-
end
|
136
|
-
def job_recurrence_schedule
|
137
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule
|
138
|
-
end
|
139
|
-
def job_history_definition
|
140
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition
|
141
|
-
end
|
142
|
-
def job_collection_properties
|
143
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties
|
144
|
-
end
|
145
|
-
def job_history_list_result
|
146
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult
|
147
|
-
end
|
148
|
-
def job_error_action
|
149
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction
|
150
|
-
end
|
151
|
-
def job_history_filter
|
152
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryFilter
|
153
|
-
end
|
154
|
-
def job_max_recurrence
|
155
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence
|
156
|
-
end
|
157
|
-
def job_state_filter
|
158
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter
|
159
|
-
end
|
160
|
-
def job_recurrence_schedule_monthly_occurrence
|
161
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence
|
162
|
-
end
|
163
|
-
def service_bus_message
|
164
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage
|
165
|
-
end
|
166
|
-
def job_collection_list_result
|
167
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult
|
168
|
-
end
|
169
|
-
def service_bus_authentication
|
170
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthentication
|
171
|
-
end
|
172
|
-
def service_bus_queue_message
|
173
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage
|
174
|
-
end
|
175
|
-
def service_bus_topic_message
|
176
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage
|
177
|
-
end
|
178
|
-
def client_cert_authentication
|
179
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication
|
180
|
-
end
|
181
|
-
def basic_authentication
|
182
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication
|
183
|
-
end
|
184
|
-
def oauth_authentication
|
185
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication
|
186
|
-
end
|
187
|
-
def sku_definition
|
188
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition
|
189
|
-
end
|
190
|
-
def job_collection_state
|
191
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState
|
192
|
-
end
|
193
|
-
def recurrence_frequency
|
194
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency
|
195
|
-
end
|
196
|
-
def job_action_type
|
197
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType
|
198
|
-
end
|
199
|
-
def retry_type
|
200
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType
|
201
|
-
end
|
202
|
-
def day_of_week
|
203
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek
|
204
|
-
end
|
205
|
-
def job_schedule_day
|
206
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay
|
207
|
-
end
|
208
|
-
def job_state
|
209
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState
|
210
|
-
end
|
211
|
-
def job_history_action_name
|
212
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName
|
213
|
-
end
|
214
|
-
def job_execution_status
|
215
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus
|
216
|
-
end
|
217
|
-
def service_bus_authentication_type
|
218
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType
|
219
|
-
end
|
220
|
-
def service_bus_transport_type
|
221
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType
|
222
|
-
end
|
223
|
-
end
|
224
|
-
end
|
225
|
-
end
|
226
|
-
end
|
227
|
-
end
|
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_scheduler'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module Scheduler
|
9
|
+
module Mgmt
|
10
|
+
JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections
|
11
|
+
Jobs = Azure::Scheduler::Mgmt::V2016_03_01::Jobs
|
12
|
+
|
13
|
+
module Models
|
14
|
+
JobRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence
|
15
|
+
Sku = Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku
|
16
|
+
JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus
|
17
|
+
JobCollectionQuota = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota
|
18
|
+
JobProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties
|
19
|
+
JobCollectionDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition
|
20
|
+
JobDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition
|
21
|
+
HttpAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication
|
22
|
+
JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult
|
23
|
+
StorageQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage
|
24
|
+
JobHistoryDefinitionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties
|
25
|
+
HttpRequest = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest
|
26
|
+
RetryPolicy = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy
|
27
|
+
ServiceBusBrokeredMessageProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties
|
28
|
+
JobAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction
|
29
|
+
JobRecurrenceSchedule = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule
|
30
|
+
JobHistoryDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition
|
31
|
+
JobCollectionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties
|
32
|
+
JobHistoryListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult
|
33
|
+
JobErrorAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction
|
34
|
+
JobHistoryFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryFilter
|
35
|
+
JobMaxRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence
|
36
|
+
JobStateFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter
|
37
|
+
JobRecurrenceScheduleMonthlyOccurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence
|
38
|
+
ServiceBusMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage
|
39
|
+
JobCollectionListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult
|
40
|
+
ServiceBusAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthentication
|
41
|
+
ServiceBusQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage
|
42
|
+
ServiceBusTopicMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage
|
43
|
+
ClientCertAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication
|
44
|
+
BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication
|
45
|
+
OAuthAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication
|
46
|
+
SkuDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition
|
47
|
+
JobCollectionState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState
|
48
|
+
RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency
|
49
|
+
JobActionType = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType
|
50
|
+
RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType
|
51
|
+
DayOfWeek = Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek
|
52
|
+
JobScheduleDay = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay
|
53
|
+
JobState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState
|
54
|
+
JobHistoryActionName = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName
|
55
|
+
JobExecutionStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus
|
56
|
+
ServiceBusAuthenticationType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType
|
57
|
+
ServiceBusTransportType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType
|
58
|
+
end
|
59
|
+
|
60
|
+
class SchedulerManagementClass
|
61
|
+
attr_reader :job_collections, :jobs, :configurable, :base_url, :options, :model_classes
|
62
|
+
|
63
|
+
def initialize(configurable, base_url=nil, options=nil)
|
64
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
65
|
+
|
66
|
+
@client_0 = Azure::Scheduler::Mgmt::V2016_03_01::SchedulerManagementClient.new(configurable.credentials, base_url, options)
|
67
|
+
if(@client_0.respond_to?(:subscription_id))
|
68
|
+
@client_0.subscription_id = configurable.subscription_id
|
69
|
+
end
|
70
|
+
add_telemetry(@client_0)
|
71
|
+
@job_collections = @client_0.job_collections
|
72
|
+
@jobs = @client_0.jobs
|
73
|
+
|
74
|
+
@model_classes = ModelClasses.new
|
75
|
+
end
|
76
|
+
|
77
|
+
def add_telemetry(client)
|
78
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Scheduler/Mgmt"
|
79
|
+
client.add_user_agent_information(profile_information)
|
80
|
+
end
|
81
|
+
|
82
|
+
def method_missing(method, *args)
|
83
|
+
if @client_0.respond_to?method
|
84
|
+
@client_0.send(method, *args)
|
85
|
+
else
|
86
|
+
super
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
class ModelClasses
|
91
|
+
def job_recurrence
|
92
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence
|
93
|
+
end
|
94
|
+
def sku
|
95
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku
|
96
|
+
end
|
97
|
+
def job_status
|
98
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus
|
99
|
+
end
|
100
|
+
def job_collection_quota
|
101
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota
|
102
|
+
end
|
103
|
+
def job_properties
|
104
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties
|
105
|
+
end
|
106
|
+
def job_collection_definition
|
107
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition
|
108
|
+
end
|
109
|
+
def job_definition
|
110
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition
|
111
|
+
end
|
112
|
+
def http_authentication
|
113
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication
|
114
|
+
end
|
115
|
+
def job_list_result
|
116
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult
|
117
|
+
end
|
118
|
+
def storage_queue_message
|
119
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage
|
120
|
+
end
|
121
|
+
def job_history_definition_properties
|
122
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties
|
123
|
+
end
|
124
|
+
def http_request
|
125
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest
|
126
|
+
end
|
127
|
+
def retry_policy
|
128
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy
|
129
|
+
end
|
130
|
+
def service_bus_brokered_message_properties
|
131
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties
|
132
|
+
end
|
133
|
+
def job_action
|
134
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction
|
135
|
+
end
|
136
|
+
def job_recurrence_schedule
|
137
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule
|
138
|
+
end
|
139
|
+
def job_history_definition
|
140
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition
|
141
|
+
end
|
142
|
+
def job_collection_properties
|
143
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties
|
144
|
+
end
|
145
|
+
def job_history_list_result
|
146
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult
|
147
|
+
end
|
148
|
+
def job_error_action
|
149
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction
|
150
|
+
end
|
151
|
+
def job_history_filter
|
152
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryFilter
|
153
|
+
end
|
154
|
+
def job_max_recurrence
|
155
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence
|
156
|
+
end
|
157
|
+
def job_state_filter
|
158
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter
|
159
|
+
end
|
160
|
+
def job_recurrence_schedule_monthly_occurrence
|
161
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence
|
162
|
+
end
|
163
|
+
def service_bus_message
|
164
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage
|
165
|
+
end
|
166
|
+
def job_collection_list_result
|
167
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult
|
168
|
+
end
|
169
|
+
def service_bus_authentication
|
170
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthentication
|
171
|
+
end
|
172
|
+
def service_bus_queue_message
|
173
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage
|
174
|
+
end
|
175
|
+
def service_bus_topic_message
|
176
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage
|
177
|
+
end
|
178
|
+
def client_cert_authentication
|
179
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication
|
180
|
+
end
|
181
|
+
def basic_authentication
|
182
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication
|
183
|
+
end
|
184
|
+
def oauth_authentication
|
185
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication
|
186
|
+
end
|
187
|
+
def sku_definition
|
188
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition
|
189
|
+
end
|
190
|
+
def job_collection_state
|
191
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState
|
192
|
+
end
|
193
|
+
def recurrence_frequency
|
194
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency
|
195
|
+
end
|
196
|
+
def job_action_type
|
197
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType
|
198
|
+
end
|
199
|
+
def retry_type
|
200
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType
|
201
|
+
end
|
202
|
+
def day_of_week
|
203
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek
|
204
|
+
end
|
205
|
+
def job_schedule_day
|
206
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay
|
207
|
+
end
|
208
|
+
def job_state
|
209
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState
|
210
|
+
end
|
211
|
+
def job_history_action_name
|
212
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName
|
213
|
+
end
|
214
|
+
def job_execution_status
|
215
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus
|
216
|
+
end
|
217
|
+
def service_bus_authentication_type
|
218
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType
|
219
|
+
end
|
220
|
+
def service_bus_transport_type
|
221
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType
|
222
|
+
end
|
223
|
+
end
|
224
|
+
end
|
225
|
+
end
|
226
|
+
end
|
227
|
+
end
|