azure_mgmt_container_registry 0.13.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 +7 -0
- data/LICENSE.txt +21 -0
- data/lib/azure_mgmt_container_registry.rb +5 -0
- data/lib/generated/azure_mgmt_container_registry.rb +72 -0
- data/lib/generated/azure_mgmt_container_registry/container_registry_management_client.rb +141 -0
- data/lib/generated/azure_mgmt_container_registry/models/actor.rb +47 -0
- data/lib/generated/azure_mgmt_container_registry/models/callback_config.rb +63 -0
- data/lib/generated/azure_mgmt_container_registry/models/event.rb +66 -0
- data/lib/generated/azure_mgmt_container_registry/models/event_content.rb +113 -0
- data/lib/generated/azure_mgmt_container_registry/models/event_info.rb +45 -0
- data/lib/generated/azure_mgmt_container_registry/models/event_list_result.rb +97 -0
- data/lib/generated/azure_mgmt_container_registry/models/event_request_message.rb +95 -0
- data/lib/generated/azure_mgmt_container_registry/models/event_response_message.rb +93 -0
- data/lib/generated/azure_mgmt_container_registry/models/operation_definition.rb +57 -0
- data/lib/generated/azure_mgmt_container_registry/models/operation_display_definition.rb +76 -0
- data/lib/generated/azure_mgmt_container_registry/models/operation_list_result.rb +97 -0
- data/lib/generated/azure_mgmt_container_registry/models/password_name.rb +16 -0
- data/lib/generated/azure_mgmt_container_registry/models/provisioning_state.rb +20 -0
- data/lib/generated/azure_mgmt_container_registry/models/regenerate_credential_parameters.rb +48 -0
- data/lib/generated/azure_mgmt_container_registry/models/registry.rb +165 -0
- data/lib/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb +64 -0
- data/lib/generated/azure_mgmt_container_registry/models/registry_list_result.rb +97 -0
- data/lib/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb +64 -0
- data/lib/generated/azure_mgmt_container_registry/models/registry_name_status.rb +68 -0
- data/lib/generated/azure_mgmt_container_registry/models/registry_password.rb +57 -0
- data/lib/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb +88 -0
- data/lib/generated/azure_mgmt_container_registry/models/registry_usage.rb +76 -0
- data/lib/generated/azure_mgmt_container_registry/models/registry_usage_list_result.rb +54 -0
- data/lib/generated/azure_mgmt_container_registry/models/registry_usage_unit.rb +16 -0
- data/lib/generated/azure_mgmt_container_registry/models/replication.rb +106 -0
- data/lib/generated/azure_mgmt_container_registry/models/replication_list_result.rb +97 -0
- data/lib/generated/azure_mgmt_container_registry/models/replication_update_parameters.rb +52 -0
- data/lib/generated/azure_mgmt_container_registry/models/request.rb +88 -0
- data/lib/generated/azure_mgmt_container_registry/models/sku.rb +59 -0
- data/lib/generated/azure_mgmt_container_registry/models/sku_name.rb +18 -0
- data/lib/generated/azure_mgmt_container_registry/models/sku_tier.rb +16 -0
- data/lib/generated/azure_mgmt_container_registry/models/source.rb +59 -0
- data/lib/generated/azure_mgmt_container_registry/models/status.rb +70 -0
- data/lib/generated/azure_mgmt_container_registry/models/storage_account_properties.rb +46 -0
- data/lib/generated/azure_mgmt_container_registry/models/target.rb +108 -0
- data/lib/generated/azure_mgmt_container_registry/models/webhook.rb +135 -0
- data/lib/generated/azure_mgmt_container_registry/models/webhook_action.rb +16 -0
- data/lib/generated/azure_mgmt_container_registry/models/webhook_create_parameters.rb +133 -0
- data/lib/generated/azure_mgmt_container_registry/models/webhook_list_result.rb +97 -0
- data/lib/generated/azure_mgmt_container_registry/models/webhook_status.rb +16 -0
- data/lib/generated/azure_mgmt_container_registry/models/webhook_update_parameters.rb +122 -0
- data/lib/generated/azure_mgmt_container_registry/module_definition.rb +8 -0
- data/lib/generated/azure_mgmt_container_registry/operations.rb +213 -0
- data/lib/generated/azure_mgmt_container_registry/registries.rb +1371 -0
- data/lib/generated/azure_mgmt_container_registry/replications.rb +799 -0
- data/lib/generated/azure_mgmt_container_registry/version.rb +8 -0
- data/lib/generated/azure_mgmt_container_registry/webhooks.rb +1208 -0
- metadata +165 -0
@@ -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::ContainerRegistry
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The result of a request to list replications for a container registry.
|
10
|
+
#
|
11
|
+
class ReplicationListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Replication>] The list of replications. Since this list
|
17
|
+
# may be incomplete, the nextLink field should be used to request the
|
18
|
+
# next list of replications.
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
# @return [String] The URI that can be used to request the next list of
|
22
|
+
# replications.
|
23
|
+
attr_accessor :next_link
|
24
|
+
|
25
|
+
# return [Proc] with next page method call.
|
26
|
+
attr_accessor :next_method
|
27
|
+
|
28
|
+
#
|
29
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
30
|
+
#
|
31
|
+
# @return [Array<Replication>] operation results.
|
32
|
+
#
|
33
|
+
def get_all_items
|
34
|
+
items = @value
|
35
|
+
page = self
|
36
|
+
while page.next_link != nil do
|
37
|
+
page = page.get_next_page
|
38
|
+
items.concat(page.value)
|
39
|
+
end
|
40
|
+
items
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# Gets the next page of results.
|
45
|
+
#
|
46
|
+
# @return [ReplicationListResult] with next page content.
|
47
|
+
#
|
48
|
+
def get_next_page
|
49
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
50
|
+
unless response.nil?
|
51
|
+
@next_link = response.body.next_link
|
52
|
+
@value = response.body.value
|
53
|
+
self
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Mapper for ReplicationListResult class as Ruby Hash.
|
59
|
+
# This will be used for serialization/deserialization.
|
60
|
+
#
|
61
|
+
def self.mapper()
|
62
|
+
{
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'ReplicationListResult',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'ReplicationListResult',
|
68
|
+
model_properties: {
|
69
|
+
value: {
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'value',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'ReplicationElementType',
|
77
|
+
type: {
|
78
|
+
name: 'Composite',
|
79
|
+
class_name: 'Replication'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
next_link: {
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'nextLink',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,52 @@
|
|
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
|
+
# The parameters for updating a replication.
|
10
|
+
#
|
11
|
+
class ReplicationUpdateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Hash{String => String}] The tags for the replication.
|
17
|
+
attr_accessor :tags
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ReplicationUpdateParameters class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ReplicationUpdateParameters',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ReplicationUpdateParameters',
|
31
|
+
model_properties: {
|
32
|
+
tags: {
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'tags',
|
35
|
+
type: {
|
36
|
+
name: 'Dictionary',
|
37
|
+
value: {
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'StringElementType',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,88 @@
|
|
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
|
+
# The request that generated the event.
|
10
|
+
#
|
11
|
+
class Request
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] The ID of the request that initiated the event.
|
17
|
+
attr_accessor :id
|
18
|
+
|
19
|
+
# @return [String] The IP or hostname and possibly port of the client
|
20
|
+
# connection that initiated the event. This is the RemoteAddr from the
|
21
|
+
# standard http request.
|
22
|
+
attr_accessor :addr
|
23
|
+
|
24
|
+
# @return [String] The externally accessible hostname of the registry
|
25
|
+
# instance, as specified by the http host header on incoming requests.
|
26
|
+
attr_accessor :host
|
27
|
+
|
28
|
+
# @return [String] The request method that generated the event.
|
29
|
+
attr_accessor :method
|
30
|
+
|
31
|
+
# @return [String] The user agent header of the request.
|
32
|
+
attr_accessor :useragent
|
33
|
+
|
34
|
+
|
35
|
+
#
|
36
|
+
# Mapper for Request class as Ruby Hash.
|
37
|
+
# This will be used for serialization/deserialization.
|
38
|
+
#
|
39
|
+
def self.mapper()
|
40
|
+
{
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'Request',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'Request',
|
46
|
+
model_properties: {
|
47
|
+
id: {
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'id',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
addr: {
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'addr',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
host: {
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'host',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
method: {
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'method',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
useragent: {
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'useragent',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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
|
+
# The SKU of a container registry.
|
10
|
+
#
|
11
|
+
class Sku
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @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'
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [SkuTier] The SKU tier based on the SKU name. Possible values
|
22
|
+
# include: 'Classic', 'Managed'
|
23
|
+
attr_accessor :tier
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for Sku class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'Sku',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'Sku',
|
37
|
+
model_properties: {
|
38
|
+
name: {
|
39
|
+
required: true,
|
40
|
+
serialized_name: 'name',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
tier: {
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'tier',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,18 @@
|
|
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
|
+
# Defines values for SkuName
|
10
|
+
#
|
11
|
+
module SkuName
|
12
|
+
Classic = "Classic"
|
13
|
+
ManagedBasic = "Managed_Basic"
|
14
|
+
ManagedStandard = "Managed_Standard"
|
15
|
+
ManagedPremium = "Managed_Premium"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,16 @@
|
|
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
|
+
# Defines values for SkuTier
|
10
|
+
#
|
11
|
+
module SkuTier
|
12
|
+
Classic = "Classic"
|
13
|
+
Managed = "Managed"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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
|
+
# The registry node that generated the event. Put differently, while the
|
10
|
+
# actor initiates the event, the source generates it.
|
11
|
+
#
|
12
|
+
class Source
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [String] The IP or hostname and the port of the registry node
|
18
|
+
# that generated the event. Generally, this will be resolved by
|
19
|
+
# os.Hostname() along with the running port.
|
20
|
+
attr_accessor :addr
|
21
|
+
|
22
|
+
# @return [String] The running instance of an application. Changes after
|
23
|
+
# each restart.
|
24
|
+
attr_accessor :instance_id
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for Source class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'Source',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'Source',
|
38
|
+
model_properties: {
|
39
|
+
addr: {
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'addr',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
instance_id: {
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'instanceID',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,70 @@
|
|
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
|
+
# The status of an Azure resource at the time the operation was called.
|
10
|
+
#
|
11
|
+
class Status
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] The short label for the status.
|
17
|
+
attr_accessor :display_status
|
18
|
+
|
19
|
+
# @return [String] The detailed message for the status, including alerts
|
20
|
+
# and error messages.
|
21
|
+
attr_accessor :message
|
22
|
+
|
23
|
+
# @return [DateTime] The timestamp when the status was changed to the
|
24
|
+
# current value.
|
25
|
+
attr_accessor :timestamp
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for Status class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'Status',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'Status',
|
39
|
+
model_properties: {
|
40
|
+
display_status: {
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'displayStatus',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
message: {
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'message',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
timestamp: {
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'timestamp',
|
60
|
+
type: {
|
61
|
+
name: 'DateTime'
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|