azure_mgmt_media_services 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_media_services.rb +4 -5
- data/lib/generated/azure_mgmt_media_services/media_service_operations.rb +39 -57
- data/lib/generated/azure_mgmt_media_services/media_services_management_client.rb +6 -6
- data/lib/generated/azure_mgmt_media_services/models/check_name_availability_input.rb +2 -2
- data/lib/generated/azure_mgmt_media_services/models/media_service.rb +6 -4
- data/lib/generated/azure_mgmt_media_services/models/regenerate_key_input.rb +1 -1
- data/lib/generated/azure_mgmt_media_services/models/service_keys.rb +4 -4
- data/lib/generated/azure_mgmt_media_services/models/storage_account.rb +9 -4
- data/lib/generated/azure_mgmt_media_services/models/sync_storage_keys_input.rb +1 -1
- data/lib/generated/azure_mgmt_media_services/version.rb +1 -1
- metadata +4 -5
- data/lib/generated/azure_mgmt_media_services/models/tracked_resource.rb +0 -85
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27f96c3978ff4d431dafab86dfa7c9eb9825dfda
|
4
|
+
data.tar.gz: f9cfd574a0b2b81a2d161f714b8a41f1bdca1541
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fbf8001cd4530987c864839bdb8cd39809d66c43eeb79167631f1d455f8c3838830ce04bf87c421c891f498c3d99fa5a1cda8c8fbbfe96640e9d81751f30996
|
7
|
+
data.tar.gz: 629ea243f35fdaa3a61d4b0ea46f4b7c954edc1ac78a859755c4ddca55d24fe68e9a217e82ddd06383606f62eab2b4d44e68661bd525a8455647dfaf60158777
|
@@ -25,16 +25,15 @@ module Azure::ARM::MediaServices
|
|
25
25
|
|
26
26
|
module Models
|
27
27
|
autoload :MediaServiceCollection, 'generated/azure_mgmt_media_services/models/media_service_collection.rb'
|
28
|
+
autoload :ApiEndpoint, 'generated/azure_mgmt_media_services/models/api_endpoint.rb'
|
28
29
|
autoload :RegenerateKeyInput, 'generated/azure_mgmt_media_services/models/regenerate_key_input.rb'
|
29
|
-
autoload :
|
30
|
+
autoload :CheckNameAvailabilityInput, 'generated/azure_mgmt_media_services/models/check_name_availability_input.rb'
|
30
31
|
autoload :RegenerateKeyOutput, 'generated/azure_mgmt_media_services/models/regenerate_key_output.rb'
|
31
|
-
autoload :CheckNameAvailabilityOutput, 'generated/azure_mgmt_media_services/models/check_name_availability_output.rb'
|
32
32
|
autoload :StorageAccount, 'generated/azure_mgmt_media_services/models/storage_account.rb'
|
33
|
+
autoload :ApiError, 'generated/azure_mgmt_media_services/models/api_error.rb'
|
33
34
|
autoload :ServiceKeys, 'generated/azure_mgmt_media_services/models/service_keys.rb'
|
34
|
-
autoload :
|
35
|
+
autoload :CheckNameAvailabilityOutput, 'generated/azure_mgmt_media_services/models/check_name_availability_output.rb'
|
35
36
|
autoload :SyncStorageKeysInput, 'generated/azure_mgmt_media_services/models/sync_storage_keys_input.rb'
|
36
|
-
autoload :ApiEndpoint, 'generated/azure_mgmt_media_services/models/api_endpoint.rb'
|
37
|
-
autoload :TrackedResource, 'generated/azure_mgmt_media_services/models/tracked_resource.rb'
|
38
37
|
autoload :MediaService, 'generated/azure_mgmt_media_services/models/media_service.rb'
|
39
38
|
autoload :ResourceType, 'generated/azure_mgmt_media_services/models/resource_type.rb'
|
40
39
|
autoload :EntityNameUnavailabilityReason, 'generated/azure_mgmt_media_services/models/entity_name_unavailability_reason.rb'
|
@@ -23,7 +23,7 @@ module Azure::ARM::MediaServices
|
|
23
23
|
attr_reader :client
|
24
24
|
|
25
25
|
#
|
26
|
-
#
|
26
|
+
# Checks whether the Media Service resource name is available. The name must be
|
27
27
|
# globally unique.
|
28
28
|
#
|
29
29
|
# @param check_name_availability_input [CheckNameAvailabilityInput] Properties
|
@@ -39,7 +39,7 @@ module Azure::ARM::MediaServices
|
|
39
39
|
end
|
40
40
|
|
41
41
|
#
|
42
|
-
#
|
42
|
+
# Checks whether the Media Service resource name is available. The name must be
|
43
43
|
# globally unique.
|
44
44
|
#
|
45
45
|
# @param check_name_availability_input [CheckNameAvailabilityInput] Properties
|
@@ -54,7 +54,7 @@ module Azure::ARM::MediaServices
|
|
54
54
|
end
|
55
55
|
|
56
56
|
#
|
57
|
-
#
|
57
|
+
# Checks whether the Media Service resource name is available. The name must be
|
58
58
|
# globally unique.
|
59
59
|
#
|
60
60
|
# @param check_name_availability_input [CheckNameAvailabilityInput] Properties
|
@@ -125,7 +125,7 @@ module Azure::ARM::MediaServices
|
|
125
125
|
end
|
126
126
|
|
127
127
|
#
|
128
|
-
#
|
128
|
+
# Lists all of the Media Services in a resource group.
|
129
129
|
#
|
130
130
|
# @param resource_group_name [String] Name of the resource group within the
|
131
131
|
# Azure subscription.
|
@@ -140,7 +140,7 @@ module Azure::ARM::MediaServices
|
|
140
140
|
end
|
141
141
|
|
142
142
|
#
|
143
|
-
#
|
143
|
+
# Lists all of the Media Services in a resource group.
|
144
144
|
#
|
145
145
|
# @param resource_group_name [String] Name of the resource group within the
|
146
146
|
# Azure subscription.
|
@@ -154,7 +154,7 @@ module Azure::ARM::MediaServices
|
|
154
154
|
end
|
155
155
|
|
156
156
|
#
|
157
|
-
#
|
157
|
+
# Lists all of the Media Services in a resource group.
|
158
158
|
#
|
159
159
|
# @param resource_group_name [String] Name of the resource group within the
|
160
160
|
# Azure subscription.
|
@@ -215,7 +215,7 @@ module Azure::ARM::MediaServices
|
|
215
215
|
end
|
216
216
|
|
217
217
|
#
|
218
|
-
#
|
218
|
+
# Gets a Media Service.
|
219
219
|
#
|
220
220
|
# @param resource_group_name [String] Name of the resource group within the
|
221
221
|
# Azure subscription.
|
@@ -231,7 +231,7 @@ module Azure::ARM::MediaServices
|
|
231
231
|
end
|
232
232
|
|
233
233
|
#
|
234
|
-
#
|
234
|
+
# Gets a Media Service.
|
235
235
|
#
|
236
236
|
# @param resource_group_name [String] Name of the resource group within the
|
237
237
|
# Azure subscription.
|
@@ -246,7 +246,7 @@ module Azure::ARM::MediaServices
|
|
246
246
|
end
|
247
247
|
|
248
248
|
#
|
249
|
-
#
|
249
|
+
# Gets a Media Service.
|
250
250
|
#
|
251
251
|
# @param resource_group_name [String] Name of the resource group within the
|
252
252
|
# Azure subscription.
|
@@ -309,7 +309,7 @@ module Azure::ARM::MediaServices
|
|
309
309
|
end
|
310
310
|
|
311
311
|
#
|
312
|
-
#
|
312
|
+
# Creates a Media Service.
|
313
313
|
#
|
314
314
|
# @param resource_group_name [String] Name of the resource group within the
|
315
315
|
# Azure subscription.
|
@@ -327,7 +327,7 @@ module Azure::ARM::MediaServices
|
|
327
327
|
end
|
328
328
|
|
329
329
|
#
|
330
|
-
#
|
330
|
+
# Creates a Media Service.
|
331
331
|
#
|
332
332
|
# @param resource_group_name [String] Name of the resource group within the
|
333
333
|
# Azure subscription.
|
@@ -344,7 +344,7 @@ module Azure::ARM::MediaServices
|
|
344
344
|
end
|
345
345
|
|
346
346
|
#
|
347
|
-
#
|
347
|
+
# Creates a Media Service.
|
348
348
|
#
|
349
349
|
# @param resource_group_name [String] Name of the resource group within the
|
350
350
|
# Azure subscription.
|
@@ -395,23 +395,13 @@ module Azure::ARM::MediaServices
|
|
395
395
|
http_response = result.response
|
396
396
|
status_code = http_response.status
|
397
397
|
response_content = http_response.body
|
398
|
-
unless status_code ==
|
398
|
+
unless status_code == 201
|
399
399
|
error_model = JSON.load(response_content)
|
400
400
|
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
401
401
|
end
|
402
402
|
|
403
403
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
404
404
|
# Deserialize Response
|
405
|
-
if status_code == 200
|
406
|
-
begin
|
407
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
408
|
-
result_mapper = MediaService.mapper()
|
409
|
-
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
410
|
-
rescue Exception => e
|
411
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
412
|
-
end
|
413
|
-
end
|
414
|
-
# Deserialize Response
|
415
405
|
if status_code == 201
|
416
406
|
begin
|
417
407
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
@@ -429,7 +419,7 @@ module Azure::ARM::MediaServices
|
|
429
419
|
end
|
430
420
|
|
431
421
|
#
|
432
|
-
#
|
422
|
+
# Deletes a Media Service.
|
433
423
|
#
|
434
424
|
# @param resource_group_name [String] Name of the resource group within the
|
435
425
|
# Azure subscription.
|
@@ -444,7 +434,7 @@ module Azure::ARM::MediaServices
|
|
444
434
|
end
|
445
435
|
|
446
436
|
#
|
447
|
-
#
|
437
|
+
# Deletes a Media Service.
|
448
438
|
#
|
449
439
|
# @param resource_group_name [String] Name of the resource group within the
|
450
440
|
# Azure subscription.
|
@@ -459,7 +449,7 @@ module Azure::ARM::MediaServices
|
|
459
449
|
end
|
460
450
|
|
461
451
|
#
|
462
|
-
#
|
452
|
+
# Deletes a Media Service.
|
463
453
|
#
|
464
454
|
# @param resource_group_name [String] Name of the resource group within the
|
465
455
|
# Azure subscription.
|
@@ -498,7 +488,7 @@ module Azure::ARM::MediaServices
|
|
498
488
|
http_response = result.response
|
499
489
|
status_code = http_response.status
|
500
490
|
response_content = http_response.body
|
501
|
-
unless status_code == 200
|
491
|
+
unless status_code == 200 || status_code == 204
|
502
492
|
error_model = JSON.load(response_content)
|
503
493
|
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
504
494
|
end
|
@@ -512,7 +502,7 @@ module Azure::ARM::MediaServices
|
|
512
502
|
end
|
513
503
|
|
514
504
|
#
|
515
|
-
#
|
505
|
+
# Updates a Media Service.
|
516
506
|
#
|
517
507
|
# @param resource_group_name [String] Name of the resource group within the
|
518
508
|
# Azure subscription.
|
@@ -530,7 +520,7 @@ module Azure::ARM::MediaServices
|
|
530
520
|
end
|
531
521
|
|
532
522
|
#
|
533
|
-
#
|
523
|
+
# Updates a Media Service.
|
534
524
|
#
|
535
525
|
# @param resource_group_name [String] Name of the resource group within the
|
536
526
|
# Azure subscription.
|
@@ -547,7 +537,7 @@ module Azure::ARM::MediaServices
|
|
547
537
|
end
|
548
538
|
|
549
539
|
#
|
550
|
-
#
|
540
|
+
# Updates a Media Service.
|
551
541
|
#
|
552
542
|
# @param resource_group_name [String] Name of the resource group within the
|
553
543
|
# Azure subscription.
|
@@ -622,7 +612,7 @@ module Azure::ARM::MediaServices
|
|
622
612
|
end
|
623
613
|
|
624
614
|
#
|
625
|
-
#
|
615
|
+
# Regenerates a primary or secondary key for a Media Service.
|
626
616
|
#
|
627
617
|
# @param resource_group_name [String] Name of the resource group within the
|
628
618
|
# Azure subscription.
|
@@ -640,7 +630,7 @@ module Azure::ARM::MediaServices
|
|
640
630
|
end
|
641
631
|
|
642
632
|
#
|
643
|
-
#
|
633
|
+
# Regenerates a primary or secondary key for a Media Service.
|
644
634
|
#
|
645
635
|
# @param resource_group_name [String] Name of the resource group within the
|
646
636
|
# Azure subscription.
|
@@ -657,7 +647,7 @@ module Azure::ARM::MediaServices
|
|
657
647
|
end
|
658
648
|
|
659
649
|
#
|
660
|
-
#
|
650
|
+
# Regenerates a primary or secondary key for a Media Service.
|
661
651
|
#
|
662
652
|
# @param resource_group_name [String] Name of the resource group within the
|
663
653
|
# Azure subscription.
|
@@ -708,7 +698,7 @@ module Azure::ARM::MediaServices
|
|
708
698
|
http_response = result.response
|
709
699
|
status_code = http_response.status
|
710
700
|
response_content = http_response.body
|
711
|
-
unless status_code == 200
|
701
|
+
unless status_code == 200
|
712
702
|
error_model = JSON.load(response_content)
|
713
703
|
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
714
704
|
end
|
@@ -732,7 +722,7 @@ module Azure::ARM::MediaServices
|
|
732
722
|
end
|
733
723
|
|
734
724
|
#
|
735
|
-
#
|
725
|
+
# Lists the keys for a Media Service.
|
736
726
|
#
|
737
727
|
# @param resource_group_name [String] Name of the resource group within the
|
738
728
|
# Azure subscription.
|
@@ -748,7 +738,7 @@ module Azure::ARM::MediaServices
|
|
748
738
|
end
|
749
739
|
|
750
740
|
#
|
751
|
-
#
|
741
|
+
# Lists the keys for a Media Service.
|
752
742
|
#
|
753
743
|
# @param resource_group_name [String] Name of the resource group within the
|
754
744
|
# Azure subscription.
|
@@ -763,7 +753,7 @@ module Azure::ARM::MediaServices
|
|
763
753
|
end
|
764
754
|
|
765
755
|
#
|
766
|
-
#
|
756
|
+
# Lists the keys for a Media Service.
|
767
757
|
#
|
768
758
|
# @param resource_group_name [String] Name of the resource group within the
|
769
759
|
# Azure subscription.
|
@@ -802,7 +792,7 @@ module Azure::ARM::MediaServices
|
|
802
792
|
http_response = result.response
|
803
793
|
status_code = http_response.status
|
804
794
|
response_content = http_response.body
|
805
|
-
unless status_code == 200
|
795
|
+
unless status_code == 200
|
806
796
|
error_model = JSON.load(response_content)
|
807
797
|
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
808
798
|
end
|
@@ -826,31 +816,32 @@ module Azure::ARM::MediaServices
|
|
826
816
|
end
|
827
817
|
|
828
818
|
#
|
829
|
-
#
|
819
|
+
# Synchronizes storage account keys for a storage account associated with the
|
820
|
+
# Media Service account.
|
830
821
|
#
|
831
822
|
# @param resource_group_name [String] Name of the resource group within the
|
832
823
|
# Azure subscription.
|
833
824
|
# @param media_service_name [String] Name of the Media Service.
|
834
825
|
# @param sync_storage_keys_input [SyncStorageKeysInput] Properties needed to
|
835
|
-
#
|
826
|
+
# synchronize the keys for a storage account to the Media Service.
|
836
827
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
837
828
|
# will be added to the HTTP request.
|
838
829
|
#
|
839
|
-
# @return [MediaService] operation results.
|
840
830
|
#
|
841
831
|
def sync_storage_keys(resource_group_name, media_service_name, sync_storage_keys_input, custom_headers = nil)
|
842
832
|
response = sync_storage_keys_async(resource_group_name, media_service_name, sync_storage_keys_input, custom_headers).value!
|
843
|
-
|
833
|
+
nil
|
844
834
|
end
|
845
835
|
|
846
836
|
#
|
847
|
-
#
|
837
|
+
# Synchronizes storage account keys for a storage account associated with the
|
838
|
+
# Media Service account.
|
848
839
|
#
|
849
840
|
# @param resource_group_name [String] Name of the resource group within the
|
850
841
|
# Azure subscription.
|
851
842
|
# @param media_service_name [String] Name of the Media Service.
|
852
843
|
# @param sync_storage_keys_input [SyncStorageKeysInput] Properties needed to
|
853
|
-
#
|
844
|
+
# synchronize the keys for a storage account to the Media Service.
|
854
845
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
855
846
|
# will be added to the HTTP request.
|
856
847
|
#
|
@@ -861,13 +852,14 @@ module Azure::ARM::MediaServices
|
|
861
852
|
end
|
862
853
|
|
863
854
|
#
|
864
|
-
#
|
855
|
+
# Synchronizes storage account keys for a storage account associated with the
|
856
|
+
# Media Service account.
|
865
857
|
#
|
866
858
|
# @param resource_group_name [String] Name of the resource group within the
|
867
859
|
# Azure subscription.
|
868
860
|
# @param media_service_name [String] Name of the Media Service.
|
869
861
|
# @param sync_storage_keys_input [SyncStorageKeysInput] Properties needed to
|
870
|
-
#
|
862
|
+
# synchronize the keys for a storage account to the Media Service.
|
871
863
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
872
864
|
# to the HTTP request.
|
873
865
|
#
|
@@ -912,22 +904,12 @@ module Azure::ARM::MediaServices
|
|
912
904
|
http_response = result.response
|
913
905
|
status_code = http_response.status
|
914
906
|
response_content = http_response.body
|
915
|
-
unless status_code == 200
|
907
|
+
unless status_code == 200
|
916
908
|
error_model = JSON.load(response_content)
|
917
909
|
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
918
910
|
end
|
919
911
|
|
920
912
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
921
|
-
# Deserialize Response
|
922
|
-
if status_code == 200
|
923
|
-
begin
|
924
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
925
|
-
result_mapper = MediaService.mapper()
|
926
|
-
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
927
|
-
rescue Exception => e
|
928
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
929
|
-
end
|
930
|
-
end
|
931
913
|
|
932
914
|
result
|
933
915
|
end
|
@@ -17,7 +17,8 @@ module Azure::ARM::MediaServices
|
|
17
17
|
# @return Credentials needed for the client to connect to Azure.
|
18
18
|
attr_reader :credentials
|
19
19
|
|
20
|
-
# @return [String]
|
20
|
+
# @return [String] The unique identifier for a Microsoft Azure
|
21
|
+
# subscription.
|
21
22
|
attr_accessor :subscription_id
|
22
23
|
|
23
24
|
# @return [String] Version of the API to be used with the client request.
|
@@ -44,12 +45,11 @@ module Azure::ARM::MediaServices
|
|
44
45
|
# @param base_url [String] the base URI of the service.
|
45
46
|
# @param options [Array] filters to be applied to the HTTP requests.
|
46
47
|
#
|
47
|
-
def initialize(credentials, base_url = nil, options = nil)
|
48
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
48
49
|
super(credentials, options)
|
49
50
|
@base_url = base_url || 'https://management.azure.com'
|
50
51
|
|
51
|
-
fail ArgumentError, 'credentials
|
52
|
-
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
|
52
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
53
53
|
@credentials = credentials
|
54
54
|
|
55
55
|
@media_service_operations = MediaServiceOperations.new(self)
|
@@ -62,7 +62,7 @@ module Azure::ARM::MediaServices
|
|
62
62
|
|
63
63
|
#
|
64
64
|
# Makes a request and returns the body of the response.
|
65
|
-
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
65
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
66
66
|
# @param path [String] the path, relative to {base_url}.
|
67
67
|
# @param options [Hash{String=>String}] specifying any request options like :body.
|
68
68
|
# @return [Hash{String=>String}] containing the body of the response.
|
@@ -123,7 +123,7 @@ module Azure::ARM::MediaServices
|
|
123
123
|
def add_telemetry
|
124
124
|
sdk_information = 'azure_mgmt_media_services'
|
125
125
|
if defined? Azure::ARM::MediaServices::VERSION
|
126
|
-
sdk_information = "#{sdk_information}/#{Azure::ARM::MediaServices::VERSION}"
|
126
|
+
sdk_information = "#{sdk_information}/#{Azure::ARM::MediaServices::VERSION}"
|
127
127
|
end
|
128
128
|
add_user_agent_information(sdk_information)
|
129
129
|
end
|
@@ -16,8 +16,8 @@ module Azure::ARM::MediaServices
|
|
16
16
|
# unique.
|
17
17
|
attr_accessor :name
|
18
18
|
|
19
|
-
# @return [String]
|
20
|
-
# 'mediaservices' .
|
19
|
+
# @return [String] The type of the resource - mediaservices. Default
|
20
|
+
# value: 'mediaservices' .
|
21
21
|
attr_accessor :type
|
22
22
|
|
23
23
|
|
@@ -8,12 +8,13 @@ module Azure::ARM::MediaServices
|
|
8
8
|
#
|
9
9
|
# The properties of a Media Service resource.
|
10
10
|
#
|
11
|
-
class MediaService <
|
11
|
+
class MediaService < MsRestAzure::Resource
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Array<ApiEndpoint>]
|
16
|
-
# this resource.
|
15
|
+
# @return [Array<ApiEndpoint>] Read-only property that lists the Media
|
16
|
+
# Services REST API endpoints for this resource. If supplied on a PUT or
|
17
|
+
# PATCH, the value will be ignored.
|
17
18
|
attr_accessor :api_endpoints
|
18
19
|
|
19
20
|
# @return [Array<StorageAccount>] The storage accounts for this resource.
|
@@ -57,7 +58,7 @@ module Azure::ARM::MediaServices
|
|
57
58
|
}
|
58
59
|
},
|
59
60
|
location: {
|
60
|
-
required:
|
61
|
+
required: false,
|
61
62
|
serialized_name: 'location',
|
62
63
|
type: {
|
63
64
|
name: 'String'
|
@@ -79,6 +80,7 @@ module Azure::ARM::MediaServices
|
|
79
80
|
},
|
80
81
|
api_endpoints: {
|
81
82
|
required: false,
|
83
|
+
read_only: true,
|
82
84
|
serialized_name: 'properties.apiEndpoints',
|
83
85
|
type: {
|
84
86
|
name: 'Sequence',
|
@@ -12,16 +12,16 @@ module Azure::ARM::MediaServices
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] The primary
|
15
|
+
# @return [String] The primary authorization endpoint.
|
16
16
|
attr_accessor :primary_auth_endpoint
|
17
17
|
|
18
|
-
# @return [String] The secondary
|
18
|
+
# @return [String] The secondary authorization endpoint.
|
19
19
|
attr_accessor :secondary_auth_endpoint
|
20
20
|
|
21
|
-
# @return [String] The primary resource.
|
21
|
+
# @return [String] The primary key for the Media Service resource.
|
22
22
|
attr_accessor :primary_key
|
23
23
|
|
24
|
-
# @return [String] The secondary resource.
|
24
|
+
# @return [String] The secondary key for the Media Service resource.
|
25
25
|
attr_accessor :secondary_key
|
26
26
|
|
27
27
|
# @return [String] The authorization scope.
|
@@ -12,11 +12,16 @@ module Azure::ARM::MediaServices
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] The id of the storage account resource.
|
15
|
+
# @return [String] The id of the storage account resource. Media Services
|
16
|
+
# relies on tables and queues as well as blobs, so the primary storage
|
17
|
+
# account must be a Standard Storage account (either
|
18
|
+
# Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage
|
19
|
+
# accounts can be added as secondary storage accounts (isPrimary false).
|
16
20
|
attr_accessor :id
|
17
21
|
|
18
22
|
# @return [Boolean] Is this storage account resource the primary storage
|
19
|
-
# account for the Media Service resource.
|
23
|
+
# account for the Media Service resource. Blob only storage must set this
|
24
|
+
# to false.
|
20
25
|
attr_accessor :is_primary
|
21
26
|
|
22
27
|
|
@@ -33,14 +38,14 @@ module Azure::ARM::MediaServices
|
|
33
38
|
class_name: 'StorageAccount',
|
34
39
|
model_properties: {
|
35
40
|
id: {
|
36
|
-
required:
|
41
|
+
required: true,
|
37
42
|
serialized_name: 'id',
|
38
43
|
type: {
|
39
44
|
name: 'String'
|
40
45
|
}
|
41
46
|
},
|
42
47
|
is_primary: {
|
43
|
-
required:
|
48
|
+
required: true,
|
44
49
|
serialized_name: 'isPrimary',
|
45
50
|
type: {
|
46
51
|
name: 'Boolean'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_media_services
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.7.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.7.0
|
83
83
|
description: Microsoft Azure Media Services Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -105,7 +105,6 @@ files:
|
|
105
105
|
- lib/generated/azure_mgmt_media_services/models/service_keys.rb
|
106
106
|
- lib/generated/azure_mgmt_media_services/models/storage_account.rb
|
107
107
|
- lib/generated/azure_mgmt_media_services/models/sync_storage_keys_input.rb
|
108
|
-
- lib/generated/azure_mgmt_media_services/models/tracked_resource.rb
|
109
108
|
- lib/generated/azure_mgmt_media_services/module_definition.rb
|
110
109
|
- lib/generated/azure_mgmt_media_services/version.rb
|
111
110
|
homepage: https://aka.ms/azure-sdk-for-ruby
|
@@ -1,85 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
-
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
-
# regenerated.
|
5
|
-
|
6
|
-
module Azure::ARM::MediaServices
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# ARM tracked resource
|
10
|
-
#
|
11
|
-
class TrackedResource < MsRestAzure::Resource
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [String] The location of the resource.
|
16
|
-
attr_accessor :location
|
17
|
-
|
18
|
-
# @return [Hash{String => String}] The tags of the resource.
|
19
|
-
attr_accessor :tags
|
20
|
-
|
21
|
-
|
22
|
-
#
|
23
|
-
# Mapper for TrackedResource class as Ruby Hash.
|
24
|
-
# This will be used for serialization/deserialization.
|
25
|
-
#
|
26
|
-
def self.mapper()
|
27
|
-
{
|
28
|
-
required: false,
|
29
|
-
serialized_name: 'TrackedResource',
|
30
|
-
type: {
|
31
|
-
name: 'Composite',
|
32
|
-
class_name: 'TrackedResource',
|
33
|
-
model_properties: {
|
34
|
-
id: {
|
35
|
-
required: false,
|
36
|
-
read_only: true,
|
37
|
-
serialized_name: 'id',
|
38
|
-
type: {
|
39
|
-
name: 'String'
|
40
|
-
}
|
41
|
-
},
|
42
|
-
name: {
|
43
|
-
required: false,
|
44
|
-
read_only: true,
|
45
|
-
serialized_name: 'name',
|
46
|
-
type: {
|
47
|
-
name: 'String'
|
48
|
-
}
|
49
|
-
},
|
50
|
-
type: {
|
51
|
-
required: false,
|
52
|
-
read_only: true,
|
53
|
-
serialized_name: 'type',
|
54
|
-
type: {
|
55
|
-
name: 'String'
|
56
|
-
}
|
57
|
-
},
|
58
|
-
location: {
|
59
|
-
required: true,
|
60
|
-
serialized_name: 'location',
|
61
|
-
type: {
|
62
|
-
name: 'String'
|
63
|
-
}
|
64
|
-
},
|
65
|
-
tags: {
|
66
|
-
required: false,
|
67
|
-
serialized_name: 'tags',
|
68
|
-
type: {
|
69
|
-
name: 'Dictionary',
|
70
|
-
value: {
|
71
|
-
required: false,
|
72
|
-
serialized_name: 'StringElementType',
|
73
|
-
type: {
|
74
|
-
name: 'String'
|
75
|
-
}
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|
79
|
-
}
|
80
|
-
}
|
81
|
-
}
|
82
|
-
end
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|