azure_mgmt_container_registry 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_container_registry/models/actor.rb +0 -1
  3. data/lib/generated/azure_mgmt_container_registry/models/callback_config.rb +0 -1
  4. data/lib/generated/azure_mgmt_container_registry/models/event.rb +0 -1
  5. data/lib/generated/azure_mgmt_container_registry/models/event_content.rb +0 -1
  6. data/lib/generated/azure_mgmt_container_registry/models/event_info.rb +0 -1
  7. data/lib/generated/azure_mgmt_container_registry/models/event_request_message.rb +0 -1
  8. data/lib/generated/azure_mgmt_container_registry/models/event_response_message.rb +0 -1
  9. data/lib/generated/azure_mgmt_container_registry/models/operation_definition.rb +0 -1
  10. data/lib/generated/azure_mgmt_container_registry/models/operation_display_definition.rb +0 -1
  11. data/lib/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb +0 -1
  12. data/lib/generated/azure_mgmt_container_registry/models/registry.rb +1 -2
  13. data/lib/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb +0 -1
  14. data/lib/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb +0 -1
  15. data/lib/generated/azure_mgmt_container_registry/models/registry_name_status.rb +0 -1
  16. data/lib/generated/azure_mgmt_container_registry/models/registry_password.rb +0 -1
  17. data/lib/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb +0 -1
  18. data/lib/generated/azure_mgmt_container_registry/models/registry_usage.rb +0 -1
  19. data/lib/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb +0 -1
  20. data/lib/generated/azure_mgmt_container_registry/models/replication.rb +1 -2
  21. data/lib/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb +0 -1
  22. data/lib/generated/azure_mgmt_container_registry/models/request.rb +0 -1
  23. data/lib/generated/azure_mgmt_container_registry/models/resource.rb +95 -0
  24. data/lib/generated/azure_mgmt_container_registry/models/sku.rb +3 -4
  25. data/lib/generated/azure_mgmt_container_registry/models/sku_name.rb +3 -3
  26. data/lib/generated/azure_mgmt_container_registry/models/sku_tier.rb +3 -1
  27. data/lib/generated/azure_mgmt_container_registry/models/source.rb +0 -1
  28. data/lib/generated/azure_mgmt_container_registry/models/status.rb +0 -1
  29. data/lib/generated/azure_mgmt_container_registry/models/storage_account_properties.rb +0 -1
  30. data/lib/generated/azure_mgmt_container_registry/models/target.rb +0 -1
  31. data/lib/generated/azure_mgmt_container_registry/models/webhook.rb +1 -2
  32. data/lib/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb +0 -1
  33. data/lib/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb +0 -1
  34. data/lib/generated/azure_mgmt_container_registry/version.rb +1 -1
  35. data/lib/generated/azure_mgmt_container_registry.rb +1 -0
  36. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 237d5a59e9656824875b8bf1e961f8cd70d44193
4
- data.tar.gz: 3a22b9152a7c6fda6fa0ca200ecabd95c764da44
3
+ metadata.gz: c836e46e9d46739001344da23bb5ba135dd808d8
4
+ data.tar.gz: 9439d22b7e96237583b29894dc36a7d5fd57c431
5
5
  SHA512:
6
- metadata.gz: 58afdd500f0d98b782a733ff61786d9f512c47c6328c250b738f4e68ab0aab181d3e93a4851a133d903ef0f47a5538a831aa12412e1600a6c1bcda0ec99d043e
7
- data.tar.gz: dbbe6cd51fcaee4e8a5ab0322483f5892591a1914e7e042070fe1560eff01ee29ff2158f9f7a3a2e23e5d69dc443054c1d001bb9b7ed747ee8ff69b12de00b49
6
+ metadata.gz: 049a5998cb86c8b4d5db553f14e5b28661fd6d575a2fad9734829ae25ff12002abad145714b3192a29295c19b949c3c490408cd1da7d5dcc9ea5d5eaa49cec0e
7
+ data.tar.gz: 5ecef05e89d87dbf042a89255f12a0f41bc1c298cd69cd5037f454bb958b632028b9131fdba334e413f47fccc104b6b0dcc0509c8df2cb71c57a077a5af5f7cc
@@ -13,7 +13,6 @@ module Azure::ARM::ContainerRegistry
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The subject or username associated with the request
18
17
  # context that generated the event.
19
18
  attr_accessor :name
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The service URI for the webhook to post notifications.
17
16
  attr_accessor :service_uri
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [EventRequestMessage] The event request message sent to the
17
16
  # service URI.
18
17
  attr_accessor :event_request_message
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The event ID.
17
16
  attr_accessor :id
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The event ID.
17
16
  attr_accessor :id
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [EventContent] The content of the event request message.
17
16
  attr_accessor :content
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The content of the event response message.
17
16
  attr_accessor :content
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
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::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The resource provider name:
17
16
  # Microsoft.ContainerRegistry.
18
17
  attr_accessor :provider
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [PasswordName] Specifies name of the password which should be
17
16
  # regenerated -- password or password2. Possible values include:
18
17
  # 'password', 'password2'
@@ -8,11 +8,10 @@ module Azure::ARM::ContainerRegistry
8
8
  #
9
9
  # An object that represents a container registry.
10
10
  #
11
- class Registry < MsRestAzure::Resource
11
+ class Registry < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Sku] The SKU of the container registry.
17
16
  attr_accessor :sku
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The username for a container registry.
17
16
  attr_accessor :username
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The name of the container registry.
17
16
  attr_accessor :name
18
17
 
@@ -13,7 +13,6 @@ module Azure::ARM::ContainerRegistry
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [Boolean] The value that indicates whether the name is
18
17
  # available.
19
18
  attr_accessor :name_available
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [PasswordName] The password name. Possible values include:
17
16
  # 'password', 'password2'
18
17
  attr_accessor :name
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Hash{String => String}] The tags for the container registry.
17
16
  attr_accessor :tags
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The name of the usage.
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<RegistryUsage>] The list of container registry quota
17
16
  # usages.
18
17
  attr_accessor :value
@@ -8,11 +8,10 @@ module Azure::ARM::ContainerRegistry
8
8
  #
9
9
  # An object that represents a replication for a container registry.
10
10
  #
11
- class Replication < MsRestAzure::Resource
11
+ class Replication < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [ProvisioningState] The provisioning state of the replication
17
16
  # at the time the operation was called. Possible values include:
18
17
  # 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Hash{String => String}] The tags for the replication.
17
16
  attr_accessor :tags
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The ID of the request that initiated the event.
17
16
  attr_accessor :id
18
17
 
@@ -0,0 +1,95 @@
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::ContainerRegistry
7
+ module Models
8
+ #
9
+ # An Azure resource.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The resource ID.
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 location of the resource. This cannot be changed
25
+ # after the resource is created.
26
+ attr_accessor :location
27
+
28
+ # @return [Hash{String => String}] The tags of the resource.
29
+ attr_accessor :tags
30
+
31
+
32
+ #
33
+ # Mapper for Resource class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ required: false,
39
+ serialized_name: 'Resource',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'Resource',
43
+ model_properties: {
44
+ id: {
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'id',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ name: {
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'name',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ type: {
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'type',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ location: {
69
+ required: true,
70
+ serialized_name: 'location',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ tags: {
76
+ required: false,
77
+ serialized_name: 'tags',
78
+ type: {
79
+ name: 'Dictionary',
80
+ value: {
81
+ required: false,
82
+ serialized_name: 'StringElementType',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ end
93
+ end
94
+ end
95
+ end
@@ -12,14 +12,13 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [SkuName] The SKU name of the container registry. Required for
17
- # registry creation. Possible values include: 'Classic', 'Managed_Basic',
18
- # 'Managed_Standard', 'Managed_Premium'
16
+ # registry creation. Possible values include: 'Classic', 'Basic',
17
+ # 'Standard', 'Premium'
19
18
  attr_accessor :name
20
19
 
21
20
  # @return [SkuTier] The SKU tier based on the SKU name. Possible values
22
- # include: 'Classic', 'Managed'
21
+ # include: 'Classic', 'Basic', 'Standard', 'Premium'
23
22
  attr_accessor :tier
24
23
 
25
24
 
@@ -10,9 +10,9 @@ module Azure::ARM::ContainerRegistry
10
10
  #
11
11
  module SkuName
12
12
  Classic = "Classic"
13
- ManagedBasic = "Managed_Basic"
14
- ManagedStandard = "Managed_Standard"
15
- ManagedPremium = "Managed_Premium"
13
+ Basic = "Basic"
14
+ Standard = "Standard"
15
+ Premium = "Premium"
16
16
  end
17
17
  end
18
18
  end
@@ -10,7 +10,9 @@ module Azure::ARM::ContainerRegistry
10
10
  #
11
11
  module SkuTier
12
12
  Classic = "Classic"
13
- Managed = "Managed"
13
+ Basic = "Basic"
14
+ Standard = "Standard"
15
+ Premium = "Premium"
14
16
  end
15
17
  end
16
18
  end
@@ -13,7 +13,6 @@ module Azure::ARM::ContainerRegistry
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The IP or hostname and the port of the registry node
18
17
  # that generated the event. Generally, this will be resolved by
19
18
  # os.Hostname() along with the running port.
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The short label for the status.
17
16
  attr_accessor :display_status
18
17
 
@@ -13,7 +13,6 @@ module Azure::ARM::ContainerRegistry
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The resource ID of the storage account.
18
17
  attr_accessor :id
19
18
 
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The MIME type of the referenced object.
17
16
  attr_accessor :media_type
18
17
 
@@ -8,11 +8,10 @@ module Azure::ARM::ContainerRegistry
8
8
  #
9
9
  # An object that represents a webhook for a container registry.
10
10
  #
11
- class Webhook < MsRestAzure::Resource
11
+ class Webhook < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [WebhookStatus] The status of the webhook at the time the
17
16
  # operation was called. Possible values include: 'enabled', 'disabled'
18
17
  attr_accessor :status
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Hash{String => String}] The tags for the webhook.
17
16
  attr_accessor :tags
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::ContainerRegistry
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Hash{String => String}] The tags for the webhook.
17
16
  attr_accessor :tags
18
17
 
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::ContainerRegistry
7
- VERSION = '0.13.0'
7
+ VERSION = '0.14.0'
8
8
  end
@@ -57,6 +57,7 @@ module Azure::ARM::ContainerRegistry
57
57
  autoload :RegistryListCredentialsResult, 'generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb'
58
58
  autoload :EventResponseMessage, 'generated/azure_mgmt_container_registry/models/event_response_message.rb'
59
59
  autoload :EventListResult, 'generated/azure_mgmt_container_registry/models/event_list_result.rb'
60
+ autoload :Resource, 'generated/azure_mgmt_container_registry/models/resource.rb'
60
61
  autoload :Registry, 'generated/azure_mgmt_container_registry/models/registry.rb'
61
62
  autoload :Replication, 'generated/azure_mgmt_container_registry/models/replication.rb'
62
63
  autoload :Webhook, 'generated/azure_mgmt_container_registry/models/webhook.rb'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_container_registry
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-28 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
@@ -118,6 +118,7 @@ files:
118
118
  - lib/generated/azure_mgmt_container_registry/models/replication_list_result.rb
119
119
  - lib/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb
120
120
  - lib/generated/azure_mgmt_container_registry/models/request.rb
121
+ - lib/generated/azure_mgmt_container_registry/models/resource.rb
121
122
  - lib/generated/azure_mgmt_container_registry/models/sku.rb
122
123
  - lib/generated/azure_mgmt_container_registry/models/sku_name.rb
123
124
  - lib/generated/azure_mgmt_container_registry/models/sku_tier.rb