azure_mgmt_media_services 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 708ad328c59d4b6ca8e198f196c6620274730ff9
4
- data.tar.gz: 28fde5f871ea551ecc9c92d9ea402766a36bb7b2
3
+ metadata.gz: f4d8432d19b8251bd1e9a9637cba2dbf0a912a2d
4
+ data.tar.gz: 281c72cde3d05b73bb4c5e58a3eefb6f30efff39
5
5
  SHA512:
6
- metadata.gz: 72b0b59751b00cccec718d1a395c6b2791b457c1b761f85397a696873fac664ca7aa8487a268b312a189d7affe652e0b22eccee1a6abbe2dc534b5082ff62cfd
7
- data.tar.gz: a684da7730b2c1b09310ab95e3620a89acfaeef44c023c2a748616372c4459fc86e9a94466c5734e2fef4f6ca82e0552919165ba60e923124dca78d7a37cce61
6
+ metadata.gz: 87b6981604dec0abbfbe3d1044562433aab4d080ea869721acb1f979ca73454147150ff03d004f987ccc0e76ab853c77e52f8931eb35282c3e02795c32762822
7
+ data.tar.gz: 283026bbedfa7a1bb96aacab9a2beb2873401dbb47ac28c3c6bb75ead2e29a64351a50ce10de77599753538b94151f9eb32faa14ffbc9ce024703c25f58d1c64
@@ -28,6 +28,7 @@ module Azure::ARM::MediaServices
28
28
  autoload :RegenerateKeyInput, 'generated/azure_mgmt_media_services/models/regenerate_key_input.rb'
29
29
  autoload :RegenerateKeyOutput, 'generated/azure_mgmt_media_services/models/regenerate_key_output.rb'
30
30
  autoload :ApiError, 'generated/azure_mgmt_media_services/models/api_error.rb'
31
+ autoload :Resource, 'generated/azure_mgmt_media_services/models/resource.rb'
31
32
  autoload :CheckNameAvailabilityOutput, 'generated/azure_mgmt_media_services/models/check_name_availability_output.rb'
32
33
  autoload :ServiceKeys, 'generated/azure_mgmt_media_services/models/service_keys.rb'
33
34
  autoload :MediaServiceCollection, 'generated/azure_mgmt_media_services/models/media_service_collection.rb'
@@ -12,7 +12,6 @@ module Azure::ARM::MediaServices
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The Media Services REST endpoint.
17
16
  attr_accessor :endpoint
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::MediaServices
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Error code.
17
16
  attr_accessor :code
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::MediaServices
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The name of the resource. A name must be globally
17
16
  # unique.
18
17
  attr_accessor :name
@@ -12,7 +12,6 @@ module Azure::ARM::MediaServices
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Boolean] Specifies if the name is available.
17
16
  attr_accessor :name_available
18
17
 
@@ -8,11 +8,10 @@ module Azure::ARM::MediaServices
8
8
  #
9
9
  # The properties of a Media Service resource.
10
10
  #
11
- class MediaService < MsRestAzure::Resource
11
+ class MediaService < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<ApiEndpoint>] Read-only property that lists the Media
17
16
  # Services REST API endpoints for this resource. If supplied on a PUT or
18
17
  # PATCH, the value will be ignored.
@@ -12,7 +12,6 @@ module Azure::ARM::MediaServices
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<MediaService>] The collection of Media Service
17
16
  # resources.
18
17
  attr_accessor :value
@@ -12,7 +12,6 @@ module Azure::ARM::MediaServices
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Operation name: {provider}/{resource}/{operation}
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::MediaServices
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Service provider: Microsoft.Media
17
16
  attr_accessor :provider
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::MediaServices
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<Operation>] List of Media Services operations supported
17
16
  # by the Microsoft.Media resource provider.
18
17
  attr_accessor :value
@@ -12,7 +12,6 @@ module Azure::ARM::MediaServices
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [KeyType] The keyType indicating which key you want to
17
16
  # regenerate, Primary or Secondary. Possible values include: 'Primary',
18
17
  # 'Secondary'
@@ -12,7 +12,6 @@ module Azure::ARM::MediaServices
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The new value of either the primary or secondary key.
17
16
  attr_accessor :key
18
17
 
@@ -0,0 +1,97 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
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
+ # The Azure Resource Manager resource.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The id of the resource.
16
+ attr_accessor :id
17
+
18
+ # @return [String] The name of the resource.
19
+ attr_accessor :name
20
+
21
+ # @return [String] The type of the resource
22
+ attr_accessor :type
23
+
24
+ # @return [String] The geographic location of the resource. This must be
25
+ # one of the supported and registered Azure Geo Regions (for example,
26
+ # West US, East US, Southeast Asia, and so forth).
27
+ attr_accessor :location
28
+
29
+ # @return [Hash{String => String}] Tags to help categorize the resource
30
+ # in the Azure portal.
31
+ attr_accessor :tags
32
+
33
+
34
+ #
35
+ # Mapper for Resource class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ required: false,
41
+ serialized_name: 'Resource',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Resource',
45
+ model_properties: {
46
+ id: {
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'id',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ name: {
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'name',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ type: {
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'type',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ location: {
71
+ required: false,
72
+ serialized_name: 'location',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ tags: {
78
+ required: false,
79
+ serialized_name: 'tags',
80
+ type: {
81
+ name: 'Dictionary',
82
+ value: {
83
+ required: false,
84
+ serialized_name: 'StringElementType',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ end
95
+ end
96
+ end
97
+ end
@@ -12,7 +12,6 @@ module Azure::ARM::MediaServices
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The primary authorization endpoint.
17
16
  attr_accessor :primary_auth_endpoint
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::MediaServices
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The id of the storage account resource. Media Services
17
16
  # relies on tables and queues as well as blobs, so the primary storage
18
17
  # account must be a Standard Storage account (either
@@ -12,7 +12,6 @@ module Azure::ARM::MediaServices
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The id of the storage account resource.
17
16
  attr_accessor :id
18
17
 
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::MediaServices
7
- VERSION = '0.13.0'
7
+ VERSION = '0.14.0'
8
8
  end
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.13.0
4
+ version: 0.14.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: 2017-09-27 00:00:00.000000000 Z
11
+ date: 2017-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -104,6 +104,7 @@ files:
104
104
  - lib/generated/azure_mgmt_media_services/models/operation_list_result.rb
105
105
  - lib/generated/azure_mgmt_media_services/models/regenerate_key_input.rb
106
106
  - lib/generated/azure_mgmt_media_services/models/regenerate_key_output.rb
107
+ - lib/generated/azure_mgmt_media_services/models/resource.rb
107
108
  - lib/generated/azure_mgmt_media_services/models/resource_type.rb
108
109
  - lib/generated/azure_mgmt_media_services/models/service_keys.rb
109
110
  - lib/generated/azure_mgmt_media_services/models/storage_account.rb