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.
- checksums.yaml +5 -5
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +645 -61
- data/lib/latest/module_definition.rb +1 -118
- data/lib/latest/modules/analysisservices_profile_module.rb +139 -84
- data/lib/latest/modules/authorization_profile_module.rb +113 -100
- data/lib/latest/modules/automation_profile_module.rb +597 -580
- data/lib/latest/modules/batch_profile_module.rb +357 -132
- data/lib/latest/modules/billing_profile_module.rb +77 -64
- data/lib/latest/modules/cdn_profile_module.rb +277 -216
- data/lib/latest/modules/cognitiveservices_profile_module.rb +121 -108
- data/lib/latest/modules/commerce_profile_module.rb +79 -66
- data/lib/latest/modules/compute_profile_module.rb +783 -730
- data/lib/latest/modules/computervision_profile_module.rb +189 -0
- data/lib/latest/modules/consumption_profile_module.rb +153 -54
- data/lib/latest/modules/containerinstance_profile_module.rb +163 -106
- data/lib/latest/modules/containerregistry_profile_module.rb +203 -190
- data/lib/latest/modules/containerservice_profile_module.rb +93 -80
- data/lib/latest/modules/contentmoderator_profile_module.rb +295 -0
- data/lib/latest/modules/customerinsights_profile_module.rb +477 -464
- data/lib/latest/modules/customsearch_profile_module.rb +123 -0
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +233 -152
- data/lib/latest/modules/datalakestore_profile_module.rb +201 -128
- data/lib/latest/modules/devtestlabs_profile_module.rb +697 -656
- data/lib/latest/modules/dns_profile_module.rb +99 -94
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -0
- data/lib/latest/modules/eventgrid_profile_module.rb +220 -99
- data/lib/latest/modules/eventhub_profile_module.rb +165 -152
- data/lib/latest/modules/face_profile_module.rb +241 -0
- data/lib/latest/modules/features_profile_module.rb +41 -28
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -0
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -0
- data/lib/latest/modules/iothub_profile_module.rb +265 -252
- data/lib/latest/modules/keyvault_profile_module.rb +155 -88
- data/lib/latest/modules/links_profile_module.rb +49 -36
- data/lib/latest/modules/locks_profile_module.rb +45 -32
- data/lib/latest/modules/logic_profile_module.rb +593 -580
- data/lib/latest/modules/machinelearning_profile_module.rb +177 -164
- data/lib/latest/modules/managedapplications_profile_module.rb +103 -90
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +55 -42
- data/lib/latest/modules/marketplaceordering_profile_module.rb +59 -46
- data/lib/latest/modules/mediaservices_profile_module.rb +103 -90
- data/lib/latest/modules/mobileengagement_profile_module.rb +397 -384
- data/lib/latest/modules/monitor_profile_module.rb +403 -323
- data/lib/latest/modules/network_profile_module.rb +1245 -1148
- data/lib/latest/modules/newssearch_profile_module.rb +143 -0
- data/lib/latest/modules/notificationhubs_profile_module.rb +155 -142
- data/lib/latest/modules/operationalinsights_profile_module.rb +218 -188
- data/lib/latest/modules/policy_profile_module.rb +84 -68
- data/lib/latest/modules/powerbiembedded_profile_module.rb +107 -94
- data/lib/latest/modules/recoveryservices_profile_module.rb +176 -188
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1133 -728
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1367 -1354
- data/lib/latest/modules/redis_profile_module.rb +165 -152
- data/lib/latest/modules/relay_profile_module.rb +143 -130
- data/lib/latest/modules/resources_profile_module.rb +227 -214
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +81 -74
- data/lib/latest/modules/scheduler_profile_module.rb +207 -198
- data/lib/latest/modules/search_profile_module.rb +103 -76
- data/lib/latest/modules/servermanagement_profile_module.rb +155 -142
- data/lib/latest/modules/servicebus_profile_module.rb +247 -234
- data/lib/latest/modules/servicefabric_profile_module.rb +269 -120
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -0
- data/lib/latest/modules/sql_profile_module.rb +1075 -918
- data/lib/latest/modules/storage_profile_module.rb +263 -250
- data/lib/latest/modules/storsimple8000series_profile_module.rb +695 -682
- data/lib/latest/modules/streamanalytics_profile_module.rb +329 -316
- data/lib/latest/modules/subscriptions_profile_module.rb +67 -54
- data/lib/latest/modules/textanalytics_profile_module.rb +105 -0
- data/lib/latest/modules/trafficmanager_profile_module.rb +140 -124
- data/lib/latest/modules/videosearch_profile_module.rb +175 -0
- data/lib/latest/modules/web_profile_module.rb +1289 -1138
- data/lib/latest/modules/websearch_profile_module.rb +211 -0
- data/lib/v2017_03_09/module_definition.rb +1 -20
- data/lib/v2017_03_09/modules/compute_profile_module.rb +437 -424
- data/lib/v2017_03_09/modules/features_profile_module.rb +41 -28
- data/lib/v2017_03_09/modules/links_profile_module.rb +49 -36
- data/lib/v2017_03_09/modules/locks_profile_module.rb +41 -28
- data/lib/v2017_03_09/modules/network_profile_module.rb +535 -522
- data/lib/v2017_03_09/modules/policy_profile_module.rb +51 -38
- data/lib/v2017_03_09/modules/resources_profile_module.rb +223 -210
- data/lib/v2017_03_09/modules/storage_profile_module.rb +143 -130
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +67 -54
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +103 -10
- metadata +312 -133
- data/lib/latest/modules/graph_profile_module.rb +0 -202
@@ -5,78 +5,91 @@
|
|
5
5
|
require 'azure_mgmt_billing'
|
6
6
|
|
7
7
|
module Azure::Profiles::Latest
|
8
|
-
module Billing
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
module Billing
|
9
|
+
module Mgmt
|
10
|
+
BillingPeriods = Azure::Billing::Mgmt::V2017_04_24_preview::BillingPeriods
|
11
|
+
Invoices = Azure::Billing::Mgmt::V2017_04_24_preview::Invoices
|
12
|
+
Operations = Azure::Billing::Mgmt::V2017_04_24_preview::Operations
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
#
|
28
|
-
# Billing
|
29
|
-
#
|
30
|
-
class BillingClass
|
31
|
-
attr_reader :billing_periods, :invoices, :operations, :configurable, :base_url, :options, :model_classes
|
14
|
+
module Models
|
15
|
+
Resource = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource
|
16
|
+
BillingPeriodsListResult = Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriodsListResult
|
17
|
+
InvoicesListResult = Azure::Billing::Mgmt::V2017_04_24_preview::Models::InvoicesListResult
|
18
|
+
ErrorDetails = Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorDetails
|
19
|
+
OperationDisplay = Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationDisplay
|
20
|
+
DownloadUrl = Azure::Billing::Mgmt::V2017_04_24_preview::Models::DownloadUrl
|
21
|
+
Operation = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Operation
|
22
|
+
ErrorResponse = Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse
|
23
|
+
OperationListResult = Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationListResult
|
24
|
+
BillingPeriod = Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriod
|
25
|
+
Invoice = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice
|
26
|
+
end
|
32
27
|
|
33
|
-
|
34
|
-
|
28
|
+
class BillingManagementClass
|
29
|
+
attr_reader :billing_periods, :invoices, :operations, :configurable, :base_url, :options, :model_classes
|
35
30
|
|
36
|
-
|
37
|
-
|
38
|
-
client_0.subscription_id = configurable.subscription_id
|
39
|
-
end
|
40
|
-
@billing_periods = client_0.billing_periods
|
41
|
-
@invoices = client_0.invoices
|
42
|
-
@operations = client_0.operations
|
31
|
+
def initialize(configurable, base_url=nil, options=nil)
|
32
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
43
33
|
|
44
|
-
|
45
|
-
|
34
|
+
@client_0 = Azure::Billing::Mgmt::V2017_04_24_preview::BillingManagementClient.new(configurable.credentials, base_url, options)
|
35
|
+
if(@client_0.respond_to?(:subscription_id))
|
36
|
+
@client_0.subscription_id = configurable.subscription_id
|
37
|
+
end
|
38
|
+
add_telemetry(@client_0)
|
39
|
+
@billing_periods = @client_0.billing_periods
|
40
|
+
@invoices = @client_0.invoices
|
41
|
+
@operations = @client_0.operations
|
46
42
|
|
47
|
-
|
48
|
-
def resource
|
49
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource
|
50
|
-
end
|
51
|
-
def billing_periods_list_result
|
52
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriodsListResult
|
53
|
-
end
|
54
|
-
def invoices_list_result
|
55
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::InvoicesListResult
|
56
|
-
end
|
57
|
-
def error_details
|
58
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorDetails
|
43
|
+
@model_classes = ModelClasses.new
|
59
44
|
end
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::DownloadUrl
|
65
|
-
end
|
66
|
-
def operation
|
67
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::Operation
|
68
|
-
end
|
69
|
-
def error_response
|
70
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse
|
71
|
-
end
|
72
|
-
def operation_list_result
|
73
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationListResult
|
45
|
+
|
46
|
+
def add_telemetry(client)
|
47
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Billing/Mgmt"
|
48
|
+
client.add_user_agent_information(profile_information)
|
74
49
|
end
|
75
|
-
|
76
|
-
|
50
|
+
|
51
|
+
def method_missing(method, *args)
|
52
|
+
if @client_0.respond_to?method
|
53
|
+
@client_0.send(method, *args)
|
54
|
+
else
|
55
|
+
super
|
56
|
+
end
|
77
57
|
end
|
78
|
-
|
79
|
-
|
58
|
+
|
59
|
+
class ModelClasses
|
60
|
+
def resource
|
61
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource
|
62
|
+
end
|
63
|
+
def billing_periods_list_result
|
64
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriodsListResult
|
65
|
+
end
|
66
|
+
def invoices_list_result
|
67
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::InvoicesListResult
|
68
|
+
end
|
69
|
+
def error_details
|
70
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorDetails
|
71
|
+
end
|
72
|
+
def operation_display
|
73
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationDisplay
|
74
|
+
end
|
75
|
+
def download_url
|
76
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::DownloadUrl
|
77
|
+
end
|
78
|
+
def operation
|
79
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::Operation
|
80
|
+
end
|
81
|
+
def error_response
|
82
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse
|
83
|
+
end
|
84
|
+
def operation_list_result
|
85
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationListResult
|
86
|
+
end
|
87
|
+
def billing_period
|
88
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriod
|
89
|
+
end
|
90
|
+
def invoice
|
91
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice
|
92
|
+
end
|
80
93
|
end
|
81
94
|
end
|
82
95
|
end
|
@@ -5,230 +5,291 @@
|
|
5
5
|
require 'azure_mgmt_cdn'
|
6
6
|
|
7
7
|
module Azure::Profiles::Latest
|
8
|
-
module CDN
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
8
|
+
module CDN
|
9
|
+
module Mgmt
|
10
|
+
Profiles = Azure::CDN::Mgmt::V2017_10_12::Profiles
|
11
|
+
Endpoints = Azure::CDN::Mgmt::V2017_10_12::Endpoints
|
12
|
+
Origins = Azure::CDN::Mgmt::V2017_10_12::Origins
|
13
|
+
CustomDomains = Azure::CDN::Mgmt::V2017_10_12::CustomDomains
|
14
|
+
ResourceUsageOperations = Azure::CDN::Mgmt::V2017_10_12::ResourceUsageOperations
|
15
|
+
Operations = Azure::CDN::Mgmt::V2017_10_12::Operations
|
16
|
+
EdgeNodes = Azure::CDN::Mgmt::V2017_10_12::EdgeNodes
|
16
17
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
18
|
+
module Models
|
19
|
+
OriginUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters
|
20
|
+
Sku = Azure::CDN::Mgmt::V2017_10_12::Models::Sku
|
21
|
+
OriginListResult = Azure::CDN::Mgmt::V2017_10_12::Models::OriginListResult
|
22
|
+
ProfileListResult = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileListResult
|
23
|
+
PurgeParameters = Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters
|
24
|
+
SsoUri = Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri
|
25
|
+
LoadParameters = Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters
|
26
|
+
DeepCreatedOrigin = Azure::CDN::Mgmt::V2017_10_12::Models::DeepCreatedOrigin
|
27
|
+
CidrIpAddress = Azure::CDN::Mgmt::V2017_10_12::Models::CidrIpAddress
|
28
|
+
EndpointListResult = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointListResult
|
29
|
+
OperationsListResult = Azure::CDN::Mgmt::V2017_10_12::Models::OperationsListResult
|
30
|
+
DeliveryRuleAction = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleAction
|
31
|
+
ProfileUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileUpdateParameters
|
32
|
+
DeliveryRule = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRule
|
33
|
+
EndpointUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointUpdateParameters
|
34
|
+
CustomDomainParameters = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters
|
35
|
+
EdgenodeResult = Azure::CDN::Mgmt::V2017_10_12::Models::EdgenodeResult
|
36
|
+
CustomDomainListResult = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult
|
37
|
+
ErrorResponse = Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse
|
38
|
+
ValidateCustomDomainInput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput
|
39
|
+
IpAddressGroup = Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup
|
40
|
+
ValidateCustomDomainOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput
|
41
|
+
Resource = Azure::CDN::Mgmt::V2017_10_12::Models::Resource
|
42
|
+
CheckNameAvailabilityInput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput
|
43
|
+
DeliveryRuleCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCondition
|
44
|
+
CheckNameAvailabilityOutput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityOutput
|
45
|
+
UrlPathConditionParameters = Azure::CDN::Mgmt::V2017_10_12::Models::UrlPathConditionParameters
|
46
|
+
ValidateProbeInput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateProbeInput
|
47
|
+
CacheExpirationActionParameters = Azure::CDN::Mgmt::V2017_10_12::Models::CacheExpirationActionParameters
|
48
|
+
ValidateProbeOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateProbeOutput
|
49
|
+
GeoFilter = Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilter
|
50
|
+
ResourceUsage = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceUsage
|
51
|
+
UrlFileExtensionConditionParameters = Azure::CDN::Mgmt::V2017_10_12::Models::UrlFileExtensionConditionParameters
|
52
|
+
ResourceUsageListResult = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceUsageListResult
|
53
|
+
EndpointPropertiesUpdateParametersDeliveryPolicy = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointPropertiesUpdateParametersDeliveryPolicy
|
54
|
+
OperationDisplay = Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay
|
55
|
+
SupportedOptimizationTypesListResult = Azure::CDN::Mgmt::V2017_10_12::Models::SupportedOptimizationTypesListResult
|
56
|
+
Operation = Azure::CDN::Mgmt::V2017_10_12::Models::Operation
|
57
|
+
Profile = Azure::CDN::Mgmt::V2017_10_12::Models::Profile
|
58
|
+
Endpoint = Azure::CDN::Mgmt::V2017_10_12::Models::Endpoint
|
59
|
+
DeliveryRuleUrlPathCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlPathCondition
|
60
|
+
DeliveryRuleUrlFileExtensionCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlFileExtensionCondition
|
61
|
+
DeliveryRuleCacheExpirationAction = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCacheExpirationAction
|
62
|
+
Origin = Azure::CDN::Mgmt::V2017_10_12::Models::Origin
|
63
|
+
ProxyResource = Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource
|
64
|
+
CustomDomain = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain
|
65
|
+
EdgeNode = Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode
|
66
|
+
TrackedResource = Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource
|
67
|
+
SkuName = Azure::CDN::Mgmt::V2017_10_12::Models::SkuName
|
68
|
+
ProfileResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState
|
69
|
+
OptimizationType = Azure::CDN::Mgmt::V2017_10_12::Models::OptimizationType
|
70
|
+
EndpointResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointResourceState
|
71
|
+
QueryStringCachingBehavior = Azure::CDN::Mgmt::V2017_10_12::Models::QueryStringCachingBehavior
|
72
|
+
GeoFilterActions = Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilterActions
|
73
|
+
OriginResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::OriginResourceState
|
74
|
+
CustomDomainResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState
|
75
|
+
CustomHttpsProvisioningState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState
|
76
|
+
CustomHttpsProvisioningSubstate = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningSubstate
|
77
|
+
ResourceType = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType
|
78
|
+
end
|
66
79
|
|
67
|
-
|
68
|
-
|
69
|
-
#
|
70
|
-
class CDNClass
|
71
|
-
attr_reader :profiles, :endpoints, :origins, :custom_domains, :resource_usage_operations, :operations, :edge_nodes, :configurable, :base_url, :options, :model_classes
|
80
|
+
class CDNManagementClass
|
81
|
+
attr_reader :profiles, :endpoints, :origins, :custom_domains, :resource_usage_operations, :operations, :edge_nodes, :configurable, :base_url, :options, :model_classes
|
72
82
|
|
73
|
-
|
74
|
-
|
83
|
+
def initialize(configurable, base_url=nil, options=nil)
|
84
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
75
85
|
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
86
|
+
@client_0 = Azure::CDN::Mgmt::V2017_10_12::CdnManagementClient.new(configurable.credentials, base_url, options)
|
87
|
+
if(@client_0.respond_to?(:subscription_id))
|
88
|
+
@client_0.subscription_id = configurable.subscription_id
|
89
|
+
end
|
90
|
+
add_telemetry(@client_0)
|
91
|
+
@profiles = @client_0.profiles
|
92
|
+
@endpoints = @client_0.endpoints
|
93
|
+
@origins = @client_0.origins
|
94
|
+
@custom_domains = @client_0.custom_domains
|
95
|
+
@resource_usage_operations = @client_0.resource_usage_operations
|
96
|
+
@operations = @client_0.operations
|
97
|
+
@edge_nodes = @client_0.edge_nodes
|
87
98
|
|
88
|
-
|
89
|
-
end
|
90
|
-
|
91
|
-
class ModelClasses
|
92
|
-
def custom_domain_list_result
|
93
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::CustomDomainListResult
|
94
|
-
end
|
95
|
-
def sku
|
96
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::Sku
|
97
|
-
end
|
98
|
-
def validate_custom_domain_input
|
99
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::ValidateCustomDomainInput
|
100
|
-
end
|
101
|
-
def profile_list_result
|
102
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::ProfileListResult
|
103
|
-
end
|
104
|
-
def validate_custom_domain_output
|
105
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::ValidateCustomDomainOutput
|
106
|
-
end
|
107
|
-
def sso_uri
|
108
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::SsoUri
|
109
|
-
end
|
110
|
-
def check_name_availability_input
|
111
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::CheckNameAvailabilityInput
|
112
|
-
end
|
113
|
-
def deep_created_origin
|
114
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::DeepCreatedOrigin
|
115
|
-
end
|
116
|
-
def check_name_availability_output
|
117
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::CheckNameAvailabilityOutput
|
118
|
-
end
|
119
|
-
def endpoint_list_result
|
120
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::EndpointListResult
|
121
|
-
end
|
122
|
-
def validate_probe_input
|
123
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::ValidateProbeInput
|
124
|
-
end
|
125
|
-
def endpoint_update_parameters
|
126
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::EndpointUpdateParameters
|
127
|
-
end
|
128
|
-
def validate_probe_output
|
129
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::ValidateProbeOutput
|
130
|
-
end
|
131
|
-
def load_parameters
|
132
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::LoadParameters
|
133
|
-
end
|
134
|
-
def resource_usage
|
135
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::ResourceUsage
|
136
|
-
end
|
137
|
-
def origin_update_parameters
|
138
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::OriginUpdateParameters
|
139
|
-
end
|
140
|
-
def resource_usage_list_result
|
141
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::ResourceUsageListResult
|
142
|
-
end
|
143
|
-
def origin_list_result
|
144
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::OriginListResult
|
145
|
-
end
|
146
|
-
def custom_domain_parameters
|
147
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::CustomDomainParameters
|
148
|
-
end
|
149
|
-
def profile_update_parameters
|
150
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::ProfileUpdateParameters
|
151
|
-
end
|
152
|
-
def error_response
|
153
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::ErrorResponse
|
154
|
-
end
|
155
|
-
def resource
|
156
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::Resource
|
99
|
+
@model_classes = ModelClasses.new
|
157
100
|
end
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::PurgeParameters
|
163
|
-
end
|
164
|
-
def operation
|
165
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::Operation
|
166
|
-
end
|
167
|
-
def supported_optimization_types_list_result
|
168
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::SupportedOptimizationTypesListResult
|
169
|
-
end
|
170
|
-
def operations_list_result
|
171
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::OperationsListResult
|
172
|
-
end
|
173
|
-
def edgenode_result
|
174
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::EdgenodeResult
|
175
|
-
end
|
176
|
-
def cidr_ip_address
|
177
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::CidrIpAddress
|
178
|
-
end
|
179
|
-
def geo_filter
|
180
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::GeoFilter
|
181
|
-
end
|
182
|
-
def ip_address_group
|
183
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::IpAddressGroup
|
184
|
-
end
|
185
|
-
def profile
|
186
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::Profile
|
187
|
-
end
|
188
|
-
def endpoint
|
189
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::Endpoint
|
190
|
-
end
|
191
|
-
def origin
|
192
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::Origin
|
193
|
-
end
|
194
|
-
def custom_domain
|
195
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::CustomDomain
|
196
|
-
end
|
197
|
-
def edge_node
|
198
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::EdgeNode
|
199
|
-
end
|
200
|
-
def sku_name
|
201
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::SkuName
|
202
|
-
end
|
203
|
-
def profile_resource_state
|
204
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::ProfileResourceState
|
205
|
-
end
|
206
|
-
def optimization_type
|
207
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::OptimizationType
|
208
|
-
end
|
209
|
-
def endpoint_resource_state
|
210
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::EndpointResourceState
|
211
|
-
end
|
212
|
-
def query_string_caching_behavior
|
213
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::QueryStringCachingBehavior
|
214
|
-
end
|
215
|
-
def geo_filter_actions
|
216
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::GeoFilterActions
|
217
|
-
end
|
218
|
-
def origin_resource_state
|
219
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::OriginResourceState
|
220
|
-
end
|
221
|
-
def custom_domain_resource_state
|
222
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::CustomDomainResourceState
|
223
|
-
end
|
224
|
-
def custom_https_provisioning_state
|
225
|
-
Azure::CDN::Mgmt::V2017_04_02::Models::CustomHttpsProvisioningState
|
101
|
+
|
102
|
+
def add_telemetry(client)
|
103
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/CDN/Mgmt"
|
104
|
+
client.add_user_agent_information(profile_information)
|
226
105
|
end
|
227
|
-
|
228
|
-
|
106
|
+
|
107
|
+
def method_missing(method, *args)
|
108
|
+
if @client_0.respond_to?method
|
109
|
+
@client_0.send(method, *args)
|
110
|
+
else
|
111
|
+
super
|
112
|
+
end
|
229
113
|
end
|
230
|
-
|
231
|
-
|
114
|
+
|
115
|
+
class ModelClasses
|
116
|
+
def origin_update_parameters
|
117
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters
|
118
|
+
end
|
119
|
+
def sku
|
120
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::Sku
|
121
|
+
end
|
122
|
+
def origin_list_result
|
123
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::OriginListResult
|
124
|
+
end
|
125
|
+
def profile_list_result
|
126
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::ProfileListResult
|
127
|
+
end
|
128
|
+
def purge_parameters
|
129
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters
|
130
|
+
end
|
131
|
+
def sso_uri
|
132
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri
|
133
|
+
end
|
134
|
+
def load_parameters
|
135
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters
|
136
|
+
end
|
137
|
+
def deep_created_origin
|
138
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::DeepCreatedOrigin
|
139
|
+
end
|
140
|
+
def cidr_ip_address
|
141
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::CidrIpAddress
|
142
|
+
end
|
143
|
+
def endpoint_list_result
|
144
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::EndpointListResult
|
145
|
+
end
|
146
|
+
def operations_list_result
|
147
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::OperationsListResult
|
148
|
+
end
|
149
|
+
def delivery_rule_action
|
150
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleAction
|
151
|
+
end
|
152
|
+
def profile_update_parameters
|
153
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::ProfileUpdateParameters
|
154
|
+
end
|
155
|
+
def delivery_rule
|
156
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRule
|
157
|
+
end
|
158
|
+
def endpoint_update_parameters
|
159
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::EndpointUpdateParameters
|
160
|
+
end
|
161
|
+
def custom_domain_parameters
|
162
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters
|
163
|
+
end
|
164
|
+
def edgenode_result
|
165
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::EdgenodeResult
|
166
|
+
end
|
167
|
+
def custom_domain_list_result
|
168
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult
|
169
|
+
end
|
170
|
+
def error_response
|
171
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse
|
172
|
+
end
|
173
|
+
def validate_custom_domain_input
|
174
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput
|
175
|
+
end
|
176
|
+
def ip_address_group
|
177
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup
|
178
|
+
end
|
179
|
+
def validate_custom_domain_output
|
180
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput
|
181
|
+
end
|
182
|
+
def resource
|
183
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::Resource
|
184
|
+
end
|
185
|
+
def check_name_availability_input
|
186
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput
|
187
|
+
end
|
188
|
+
def delivery_rule_condition
|
189
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCondition
|
190
|
+
end
|
191
|
+
def check_name_availability_output
|
192
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityOutput
|
193
|
+
end
|
194
|
+
def url_path_condition_parameters
|
195
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::UrlPathConditionParameters
|
196
|
+
end
|
197
|
+
def validate_probe_input
|
198
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::ValidateProbeInput
|
199
|
+
end
|
200
|
+
def cache_expiration_action_parameters
|
201
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::CacheExpirationActionParameters
|
202
|
+
end
|
203
|
+
def validate_probe_output
|
204
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::ValidateProbeOutput
|
205
|
+
end
|
206
|
+
def geo_filter
|
207
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilter
|
208
|
+
end
|
209
|
+
def resource_usage
|
210
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::ResourceUsage
|
211
|
+
end
|
212
|
+
def url_file_extension_condition_parameters
|
213
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::UrlFileExtensionConditionParameters
|
214
|
+
end
|
215
|
+
def resource_usage_list_result
|
216
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::ResourceUsageListResult
|
217
|
+
end
|
218
|
+
def endpoint_properties_update_parameters_delivery_policy
|
219
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::EndpointPropertiesUpdateParametersDeliveryPolicy
|
220
|
+
end
|
221
|
+
def operation_display
|
222
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay
|
223
|
+
end
|
224
|
+
def supported_optimization_types_list_result
|
225
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::SupportedOptimizationTypesListResult
|
226
|
+
end
|
227
|
+
def operation
|
228
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::Operation
|
229
|
+
end
|
230
|
+
def profile
|
231
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::Profile
|
232
|
+
end
|
233
|
+
def endpoint
|
234
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::Endpoint
|
235
|
+
end
|
236
|
+
def delivery_rule_url_path_condition
|
237
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlPathCondition
|
238
|
+
end
|
239
|
+
def delivery_rule_url_file_extension_condition
|
240
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlFileExtensionCondition
|
241
|
+
end
|
242
|
+
def delivery_rule_cache_expiration_action
|
243
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCacheExpirationAction
|
244
|
+
end
|
245
|
+
def origin
|
246
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::Origin
|
247
|
+
end
|
248
|
+
def proxy_resource
|
249
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource
|
250
|
+
end
|
251
|
+
def custom_domain
|
252
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain
|
253
|
+
end
|
254
|
+
def edge_node
|
255
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode
|
256
|
+
end
|
257
|
+
def tracked_resource
|
258
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource
|
259
|
+
end
|
260
|
+
def sku_name
|
261
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::SkuName
|
262
|
+
end
|
263
|
+
def profile_resource_state
|
264
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState
|
265
|
+
end
|
266
|
+
def optimization_type
|
267
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::OptimizationType
|
268
|
+
end
|
269
|
+
def endpoint_resource_state
|
270
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::EndpointResourceState
|
271
|
+
end
|
272
|
+
def query_string_caching_behavior
|
273
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::QueryStringCachingBehavior
|
274
|
+
end
|
275
|
+
def geo_filter_actions
|
276
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilterActions
|
277
|
+
end
|
278
|
+
def origin_resource_state
|
279
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::OriginResourceState
|
280
|
+
end
|
281
|
+
def custom_domain_resource_state
|
282
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState
|
283
|
+
end
|
284
|
+
def custom_https_provisioning_state
|
285
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState
|
286
|
+
end
|
287
|
+
def custom_https_provisioning_substate
|
288
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningSubstate
|
289
|
+
end
|
290
|
+
def resource_type
|
291
|
+
Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType
|
292
|
+
end
|
232
293
|
end
|
233
294
|
end
|
234
295
|
end
|