azure_sdk 0.15.2 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +5 -5
  2. data/lib/azure_sdk/version.rb +1 -1
  3. data/lib/latest/latest_profile_client.rb +645 -61
  4. data/lib/latest/module_definition.rb +1 -118
  5. data/lib/latest/modules/analysisservices_profile_module.rb +139 -84
  6. data/lib/latest/modules/authorization_profile_module.rb +113 -100
  7. data/lib/latest/modules/automation_profile_module.rb +597 -580
  8. data/lib/latest/modules/batch_profile_module.rb +357 -132
  9. data/lib/latest/modules/billing_profile_module.rb +77 -64
  10. data/lib/latest/modules/cdn_profile_module.rb +277 -216
  11. data/lib/latest/modules/cognitiveservices_profile_module.rb +121 -108
  12. data/lib/latest/modules/commerce_profile_module.rb +79 -66
  13. data/lib/latest/modules/compute_profile_module.rb +783 -730
  14. data/lib/latest/modules/computervision_profile_module.rb +189 -0
  15. data/lib/latest/modules/consumption_profile_module.rb +153 -54
  16. data/lib/latest/modules/containerinstance_profile_module.rb +163 -106
  17. data/lib/latest/modules/containerregistry_profile_module.rb +203 -190
  18. data/lib/latest/modules/containerservice_profile_module.rb +93 -80
  19. data/lib/latest/modules/contentmoderator_profile_module.rb +295 -0
  20. data/lib/latest/modules/customerinsights_profile_module.rb +477 -464
  21. data/lib/latest/modules/customsearch_profile_module.rb +123 -0
  22. data/lib/latest/modules/datalakeanalytics_profile_module.rb +233 -152
  23. data/lib/latest/modules/datalakestore_profile_module.rb +201 -128
  24. data/lib/latest/modules/devtestlabs_profile_module.rb +697 -656
  25. data/lib/latest/modules/dns_profile_module.rb +99 -94
  26. data/lib/latest/modules/entitysearch_profile_module.rb +231 -0
  27. data/lib/latest/modules/eventgrid_profile_module.rb +220 -99
  28. data/lib/latest/modules/eventhub_profile_module.rb +165 -152
  29. data/lib/latest/modules/face_profile_module.rb +241 -0
  30. data/lib/latest/modules/features_profile_module.rb +41 -28
  31. data/lib/latest/modules/graphrbac_profile_module.rb +225 -0
  32. data/lib/latest/modules/imagesearch_profile_module.rb +279 -0
  33. data/lib/latest/modules/iothub_profile_module.rb +265 -252
  34. data/lib/latest/modules/keyvault_profile_module.rb +155 -88
  35. data/lib/latest/modules/links_profile_module.rb +49 -36
  36. data/lib/latest/modules/locks_profile_module.rb +45 -32
  37. data/lib/latest/modules/logic_profile_module.rb +593 -580
  38. data/lib/latest/modules/machinelearning_profile_module.rb +177 -164
  39. data/lib/latest/modules/managedapplications_profile_module.rb +103 -90
  40. data/lib/latest/modules/managedserviceidentity_profile_module.rb +55 -42
  41. data/lib/latest/modules/marketplaceordering_profile_module.rb +59 -46
  42. data/lib/latest/modules/mediaservices_profile_module.rb +103 -90
  43. data/lib/latest/modules/mobileengagement_profile_module.rb +397 -384
  44. data/lib/latest/modules/monitor_profile_module.rb +403 -323
  45. data/lib/latest/modules/network_profile_module.rb +1245 -1148
  46. data/lib/latest/modules/newssearch_profile_module.rb +143 -0
  47. data/lib/latest/modules/notificationhubs_profile_module.rb +155 -142
  48. data/lib/latest/modules/operationalinsights_profile_module.rb +218 -188
  49. data/lib/latest/modules/policy_profile_module.rb +84 -68
  50. data/lib/latest/modules/powerbiembedded_profile_module.rb +107 -94
  51. data/lib/latest/modules/recoveryservices_profile_module.rb +176 -188
  52. data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1133 -728
  53. data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1367 -1354
  54. data/lib/latest/modules/redis_profile_module.rb +165 -152
  55. data/lib/latest/modules/relay_profile_module.rb +143 -130
  56. data/lib/latest/modules/resources_profile_module.rb +227 -214
  57. data/lib/latest/modules/resourcesmanagement_profile_module.rb +81 -74
  58. data/lib/latest/modules/scheduler_profile_module.rb +207 -198
  59. data/lib/latest/modules/search_profile_module.rb +103 -76
  60. data/lib/latest/modules/servermanagement_profile_module.rb +155 -142
  61. data/lib/latest/modules/servicebus_profile_module.rb +247 -234
  62. data/lib/latest/modules/servicefabric_profile_module.rb +269 -120
  63. data/lib/latest/modules/spellcheck_profile_module.rb +101 -0
  64. data/lib/latest/modules/sql_profile_module.rb +1075 -918
  65. data/lib/latest/modules/storage_profile_module.rb +263 -250
  66. data/lib/latest/modules/storsimple8000series_profile_module.rb +695 -682
  67. data/lib/latest/modules/streamanalytics_profile_module.rb +329 -316
  68. data/lib/latest/modules/subscriptions_profile_module.rb +67 -54
  69. data/lib/latest/modules/textanalytics_profile_module.rb +105 -0
  70. data/lib/latest/modules/trafficmanager_profile_module.rb +140 -124
  71. data/lib/latest/modules/videosearch_profile_module.rb +175 -0
  72. data/lib/latest/modules/web_profile_module.rb +1289 -1138
  73. data/lib/latest/modules/websearch_profile_module.rb +211 -0
  74. data/lib/v2017_03_09/module_definition.rb +1 -20
  75. data/lib/v2017_03_09/modules/compute_profile_module.rb +437 -424
  76. data/lib/v2017_03_09/modules/features_profile_module.rb +41 -28
  77. data/lib/v2017_03_09/modules/links_profile_module.rb +49 -36
  78. data/lib/v2017_03_09/modules/locks_profile_module.rb +41 -28
  79. data/lib/v2017_03_09/modules/network_profile_module.rb +535 -522
  80. data/lib/v2017_03_09/modules/policy_profile_module.rb +51 -38
  81. data/lib/v2017_03_09/modules/resources_profile_module.rb +223 -210
  82. data/lib/v2017_03_09/modules/storage_profile_module.rb +143 -130
  83. data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +67 -54
  84. data/lib/v2017_03_09/v2017_03_09_profile_client.rb +103 -10
  85. metadata +312 -133
  86. data/lib/latest/modules/graph_profile_module.rb +0 -202
@@ -5,88 +5,95 @@
5
5
  require 'azure_mgmt_resources_management'
6
6
 
7
7
  module Azure::Profiles::Latest
8
- module ResourcesManagement::Mgmt
9
- ManagementGroups = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::ManagementGroups
10
- Operations = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Operations
8
+ module ResourcesManagement
9
+ module Mgmt
10
+ ManagementGroups = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::ManagementGroups
11
+ ManagementGroupSubscriptions = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::ManagementGroupSubscriptions
12
+ Operations = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Operations
11
13
 
12
- module Models
13
- ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ParentGroupInfo
14
- ErrorDetails = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ErrorDetails
15
- ManagementGroupDetailsProperties = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupDetailsProperties
16
- OperationDisplay = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::OperationDisplay
17
- ManagementGroup = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroup
18
- OperationListResult = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::OperationListResult
19
- ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupChildInfo
20
- ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupListResult
21
- ManagementGroupWithChildren = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupWithChildren
22
- Operation = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::Operation
23
- ManagementGroupRecursiveChildInfo = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupRecursiveChildInfo
24
- ErrorResponse = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ErrorResponse
25
- ManagementGroupWithHierarchy = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupWithHierarchy
26
- ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupInfo
27
- end
14
+ module Models
15
+ ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupListResult
16
+ ErrorDetails = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorDetails
17
+ ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ParentGroupInfo
18
+ OperationDisplay = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationDisplay
19
+ ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupDetails
20
+ OperationListResult = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationListResult
21
+ ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo
22
+ ErrorResponse = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorResponse
23
+ ManagementGroup = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroup
24
+ ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupInfo
25
+ CreateGroupRequest = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::CreateGroupRequest
26
+ Operation = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::Operation
27
+ end
28
28
 
29
- #
30
- # ResourcesManagement
31
- #
32
- class ResourcesManagementClass
33
- attr_reader :management_groups, :operations, :configurable, :base_url, :options, :model_classes
29
+ class ResourcesManagementManagementClass
30
+ attr_reader :management_groups, :management_group_subscriptions, :operations, :configurable, :base_url, :options, :model_classes
34
31
 
35
- def initialize(configurable, base_url=nil, options=nil)
36
- @configurable, @base_url, @options = configurable, base_url, options
32
+ def initialize(configurable, base_url=nil, options=nil)
33
+ @configurable, @base_url, @options = configurable, base_url, options
37
34
 
38
- client_0 = Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::ManagementGroupsAPI.new(configurable.credentials, base_url, options)
39
- if(client_0.respond_to?(:subscription_id))
40
- client_0.subscription_id = configurable.subscription_id
41
- end
42
- @management_groups = client_0.management_groups
43
- @operations = client_0.operations
44
-
45
- @model_classes = ModelClasses.new
46
- end
35
+ @client_0 = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::ManagementGroupsAPI.new(configurable.credentials, base_url, options)
36
+ if(@client_0.respond_to?(:subscription_id))
37
+ @client_0.subscription_id = configurable.subscription_id
38
+ end
39
+ add_telemetry(@client_0)
40
+ @management_groups = @client_0.management_groups
41
+ @management_group_subscriptions = @client_0.management_group_subscriptions
42
+ @operations = @client_0.operations
47
43
 
48
- class ModelClasses
49
- def parent_group_info
50
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ParentGroupInfo
51
- end
52
- def error_details
53
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ErrorDetails
54
- end
55
- def management_group_details_properties
56
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupDetailsProperties
57
- end
58
- def operation_display
59
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::OperationDisplay
60
- end
61
- def management_group
62
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroup
44
+ @model_classes = ModelClasses.new
63
45
  end
64
- def operation_list_result
65
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::OperationListResult
66
- end
67
- def management_group_child_info
68
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupChildInfo
69
- end
70
- def management_group_list_result
71
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupListResult
72
- end
73
- def management_group_with_children
74
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupWithChildren
75
- end
76
- def operation
77
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::Operation
78
- end
79
- def management_group_recursive_child_info
80
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupRecursiveChildInfo
81
- end
82
- def error_response
83
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ErrorResponse
46
+
47
+ def add_telemetry(client)
48
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ResourcesManagement/Mgmt"
49
+ client.add_user_agent_information(profile_information)
84
50
  end
85
- def management_group_with_hierarchy
86
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupWithHierarchy
51
+
52
+ def method_missing(method, *args)
53
+ if @client_0.respond_to?method
54
+ @client_0.send(method, *args)
55
+ else
56
+ super
57
+ end
87
58
  end
88
- def management_group_info
89
- Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::Models::ManagementGroupInfo
59
+
60
+ class ModelClasses
61
+ def management_group_list_result
62
+ Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupListResult
63
+ end
64
+ def error_details
65
+ Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorDetails
66
+ end
67
+ def parent_group_info
68
+ Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ParentGroupInfo
69
+ end
70
+ def operation_display
71
+ Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationDisplay
72
+ end
73
+ def management_group_details
74
+ Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupDetails
75
+ end
76
+ def operation_list_result
77
+ Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationListResult
78
+ end
79
+ def management_group_child_info
80
+ Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo
81
+ end
82
+ def error_response
83
+ Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorResponse
84
+ end
85
+ def management_group
86
+ Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroup
87
+ end
88
+ def management_group_info
89
+ Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupInfo
90
+ end
91
+ def create_group_request
92
+ Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::CreateGroupRequest
93
+ end
94
+ def operation
95
+ Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::Operation
96
+ end
90
97
  end
91
98
  end
92
99
  end
@@ -5,212 +5,221 @@
5
5
  require 'azure_mgmt_scheduler'
6
6
 
7
7
  module Azure::Profiles::Latest
8
- module Scheduler::Mgmt
9
- JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections
10
- Jobs = Azure::Scheduler::Mgmt::V2016_03_01::Jobs
8
+ module Scheduler
9
+ module Mgmt
10
+ JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections
11
+ Jobs = Azure::Scheduler::Mgmt::V2016_03_01::Jobs
11
12
 
12
- module Models
13
- JobRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence
14
- Sku = Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku
15
- JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus
16
- JobCollectionQuota = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota
17
- JobProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties
18
- JobCollectionDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition
19
- JobDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition
20
- HttpAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication
21
- JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult
22
- StorageQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage
23
- JobHistoryDefinitionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties
24
- HttpRequest = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest
25
- RetryPolicy = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy
26
- ServiceBusBrokeredMessageProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties
27
- JobAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction
28
- JobRecurrenceSchedule = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule
29
- JobHistoryDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition
30
- JobCollectionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties
31
- JobHistoryListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult
32
- JobErrorAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction
33
- JobHistoryFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryFilter
34
- JobMaxRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence
35
- JobStateFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter
36
- JobRecurrenceScheduleMonthlyOccurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence
37
- ServiceBusMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage
38
- JobCollectionListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult
39
- ServiceBusAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthentication
40
- ServiceBusQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage
41
- ServiceBusTopicMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage
42
- ClientCertAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication
43
- BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication
44
- OAuthAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication
45
- SkuDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition
46
- JobCollectionState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState
47
- RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency
48
- JobActionType = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType
49
- HttpAuthenticationType = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthenticationType
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
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
59
 
60
- #
61
- # Scheduler
62
- #
63
- class SchedulerClass
64
- attr_reader :job_collections, :jobs, :configurable, :base_url, :options, :model_classes
60
+ class SchedulerManagementClass
61
+ attr_reader :job_collections, :jobs, :configurable, :base_url, :options, :model_classes
65
62
 
66
- def initialize(configurable, base_url=nil, options=nil)
67
- @configurable, @base_url, @options = configurable, base_url, options
63
+ def initialize(configurable, base_url=nil, options=nil)
64
+ @configurable, @base_url, @options = configurable, base_url, options
68
65
 
69
- client_0 = Azure::Scheduler::Mgmt::V2016_03_01::SchedulerManagementClient.new(configurable.credentials, base_url, options)
70
- if(client_0.respond_to?(:subscription_id))
71
- client_0.subscription_id = configurable.subscription_id
72
- end
73
- @job_collections = client_0.job_collections
74
- @jobs = client_0.jobs
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
75
73
 
76
- @model_classes = ModelClasses.new
77
- end
78
-
79
- class ModelClasses
80
- def job_recurrence
81
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence
82
- end
83
- def sku
84
- Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku
85
- end
86
- def job_status
87
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus
88
- end
89
- def job_collection_quota
90
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota
91
- end
92
- def job_properties
93
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties
94
- end
95
- def job_collection_definition
96
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition
97
- end
98
- def job_definition
99
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition
100
- end
101
- def http_authentication
102
- Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication
103
- end
104
- def job_list_result
105
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult
106
- end
107
- def storage_queue_message
108
- Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage
109
- end
110
- def job_history_definition_properties
111
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties
112
- end
113
- def http_request
114
- Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest
115
- end
116
- def retry_policy
117
- Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy
118
- end
119
- def service_bus_brokered_message_properties
120
- Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties
121
- end
122
- def job_action
123
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction
124
- end
125
- def job_recurrence_schedule
126
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule
127
- end
128
- def job_history_definition
129
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition
130
- end
131
- def job_collection_properties
132
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties
133
- end
134
- def job_history_list_result
135
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult
136
- end
137
- def job_error_action
138
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction
139
- end
140
- def job_history_filter
141
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryFilter
74
+ @model_classes = ModelClasses.new
142
75
  end
143
- def job_max_recurrence
144
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence
145
- end
146
- def job_state_filter
147
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter
148
- end
149
- def job_recurrence_schedule_monthly_occurrence
150
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence
151
- end
152
- def service_bus_message
153
- Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage
154
- end
155
- def job_collection_list_result
156
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult
157
- end
158
- def service_bus_authentication
159
- Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthentication
160
- end
161
- def service_bus_queue_message
162
- Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage
163
- end
164
- def service_bus_topic_message
165
- Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage
166
- end
167
- def client_cert_authentication
168
- Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication
169
- end
170
- def basic_authentication
171
- Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication
172
- end
173
- def oauth_authentication
174
- Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication
175
- end
176
- def sku_definition
177
- Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition
178
- end
179
- def job_collection_state
180
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState
181
- end
182
- def recurrence_frequency
183
- Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency
184
- end
185
- def job_action_type
186
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType
187
- end
188
- def http_authentication_type
189
- Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthenticationType
190
- end
191
- def retry_type
192
- Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType
193
- end
194
- def day_of_week
195
- Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek
196
- end
197
- def job_schedule_day
198
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay
199
- end
200
- def job_state
201
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState
202
- end
203
- def job_history_action_name
204
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName
205
- end
206
- def job_execution_status
207
- Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus
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)
208
80
  end
209
- def service_bus_authentication_type
210
- Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType
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
211
88
  end
212
- def service_bus_transport_type
213
- Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType
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
214
223
  end
215
224
  end
216
225
  end