azure_mgmt_locks 0.7.0 → 0.8.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.
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,21 +1,21 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Locks
7
7
  module Models
8
8
  #
9
- # List of management locks.
9
+ # The list of locks.
10
10
  #
11
11
  class ManagementLockListResult
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<ManagementLockObject>] Gets or sets the list of locks.
15
+ # @return [Array<ManagementLockObject>] The list of locks.
16
16
  attr_accessor :value
17
17
 
18
- # @return [String] Gets or sets the URL to get the next set of results.
18
+ # @return [String] The URL to use for getting the next set of results.
19
19
  attr_accessor :next_link
20
20
 
21
21
  # return [Proc] with next page method call.
@@ -1,32 +1,39 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Locks
7
7
  module Models
8
8
  #
9
- # Management lock information.
9
+ # The lock information.
10
10
  #
11
11
  class ManagementLockObject
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [LockLevel] Gets or sets the lock level of the management
16
- # lock. Possible values include: 'NotSpecified', 'CanNotDelete',
17
- # 'ReadOnly'
15
+ # @return [LockLevel] The level of the lock. Possible values are:
16
+ # NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized
17
+ # users are able to read and modify the resources, but not delete.
18
+ # ReadOnly means authorized users can only read from a resource, but they
19
+ # can't modify or delete it. Possible values include: 'NotSpecified',
20
+ # 'CanNotDelete', 'ReadOnly'
18
21
  attr_accessor :level
19
22
 
20
- # @return [String] Gets or sets the notes of the management lock.
23
+ # @return [String] Notes about the lock. Maximum of 512 characters.
21
24
  attr_accessor :notes
22
25
 
23
- # @return [String] Gets or sets the Id of the lock.
26
+ # @return [Array<ManagementLockOwner>] The owners of the lock.
27
+ attr_accessor :owners
28
+
29
+ # @return [String] The resource ID of the lock.
24
30
  attr_accessor :id
25
31
 
26
- # @return [String] Gets or sets the type of the lock.
32
+ # @return [String] The resource type of the lock -
33
+ # Microsoft.Authorization/locks.
27
34
  attr_accessor :type
28
35
 
29
- # @return [String] Gets or sets the name of the lock.
36
+ # @return [String] The name of the lock.
30
37
  attr_accessor :name
31
38
 
32
39
 
@@ -43,7 +50,7 @@ module Azure::ARM::Locks
43
50
  class_name: 'ManagementLockObject',
44
51
  model_properties: {
45
52
  level: {
46
- required: false,
53
+ required: true,
47
54
  serialized_name: 'properties.level',
48
55
  type: {
49
56
  name: 'String'
@@ -56,8 +63,24 @@ module Azure::ARM::Locks
56
63
  name: 'String'
57
64
  }
58
65
  },
66
+ owners: {
67
+ required: false,
68
+ serialized_name: 'properties.owners',
69
+ type: {
70
+ name: 'Sequence',
71
+ element: {
72
+ required: false,
73
+ serialized_name: 'ManagementLockOwnerElementType',
74
+ type: {
75
+ name: 'Composite',
76
+ class_name: 'ManagementLockOwner'
77
+ }
78
+ }
79
+ }
80
+ },
59
81
  id: {
60
82
  required: false,
83
+ read_only: true,
61
84
  serialized_name: 'id',
62
85
  type: {
63
86
  name: 'String'
@@ -65,6 +88,7 @@ module Azure::ARM::Locks
65
88
  },
66
89
  type: {
67
90
  required: false,
91
+ read_only: true,
68
92
  serialized_name: 'type',
69
93
  type: {
70
94
  name: 'String'
@@ -1,36 +1,36 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Locks
7
7
  module Models
8
8
  #
9
- # Deployment filter.
9
+ # Lock owner properties.
10
10
  #
11
- class DeploymentExtendedFilter
11
+ class ManagementLockOwner
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Gets or sets the provisioning state.
16
- attr_accessor :provisioning_state
15
+ # @return [String] The application ID of the lock owner.
16
+ attr_accessor :application_id
17
17
 
18
18
 
19
19
  #
20
- # Mapper for DeploymentExtendedFilter class as Ruby Hash.
20
+ # Mapper for ManagementLockOwner class as Ruby Hash.
21
21
  # This will be used for serialization/deserialization.
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
25
  required: false,
26
- serialized_name: 'DeploymentExtendedFilter',
26
+ serialized_name: 'ManagementLockOwner',
27
27
  type: {
28
28
  name: 'Composite',
29
- class_name: 'DeploymentExtendedFilter',
29
+ class_name: 'ManagementLockOwner',
30
30
  model_properties: {
31
- provisioning_state: {
31
+ application_id: {
32
32
  required: false,
33
- serialized_name: 'provisioningState',
33
+ serialized_name: 'applicationId',
34
34
  type: {
35
35
  name: 'String'
36
36
  }
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Locks
7
- VERSION = '0.7.0'
7
+ VERSION = '0.8.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_locks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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: 2016-10-14 00:00:00.000000000 Z
11
+ date: 2016-11-16 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.6.0
75
+ version: 0.6.2
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.6.0
82
+ version: 0.6.2
83
83
  description: Microsoft Azure Resource Lock Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -91,12 +91,10 @@ files:
91
91
  - lib/generated/azure_mgmt_locks.rb
92
92
  - lib/generated/azure_mgmt_locks/management_lock_client.rb
93
93
  - lib/generated/azure_mgmt_locks/management_locks.rb
94
- - lib/generated/azure_mgmt_locks/models/deployment_extended_filter.rb
95
- - lib/generated/azure_mgmt_locks/models/generic_resource_filter.rb
96
94
  - lib/generated/azure_mgmt_locks/models/lock_level.rb
97
95
  - lib/generated/azure_mgmt_locks/models/management_lock_list_result.rb
98
96
  - lib/generated/azure_mgmt_locks/models/management_lock_object.rb
99
- - lib/generated/azure_mgmt_locks/models/resource_group_filter.rb
97
+ - lib/generated/azure_mgmt_locks/models/management_lock_owner.rb
100
98
  - lib/generated/azure_mgmt_locks/module_definition.rb
101
99
  - lib/generated/azure_mgmt_locks/version.rb
102
100
  homepage: https://aka.ms/azure-sdk-for-ruby
@@ -1,64 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
- # Changes may cause incorrect behavior and will be lost if the code is
4
- # regenerated.
5
-
6
- module Azure::ARM::Locks
7
- module Models
8
- #
9
- # Resource filter.
10
- #
11
- class GenericResourceFilter
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] Gets or sets the resource type.
16
- attr_accessor :resource_type
17
-
18
- # @return [String] Gets or sets the tag name.
19
- attr_accessor :tagname
20
-
21
- # @return [String] Gets or sets the tag value.
22
- attr_accessor :tagvalue
23
-
24
-
25
- #
26
- # Mapper for GenericResourceFilter class as Ruby Hash.
27
- # This will be used for serialization/deserialization.
28
- #
29
- def self.mapper()
30
- {
31
- required: false,
32
- serialized_name: 'GenericResourceFilter',
33
- type: {
34
- name: 'Composite',
35
- class_name: 'GenericResourceFilter',
36
- model_properties: {
37
- resource_type: {
38
- required: false,
39
- serialized_name: 'resourceType',
40
- type: {
41
- name: 'String'
42
- }
43
- },
44
- tagname: {
45
- required: false,
46
- serialized_name: 'tagname',
47
- type: {
48
- name: 'String'
49
- }
50
- },
51
- tagvalue: {
52
- required: false,
53
- serialized_name: 'tagvalue',
54
- type: {
55
- name: 'String'
56
- }
57
- }
58
- }
59
- }
60
- }
61
- end
62
- end
63
- end
64
- end
@@ -1,54 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
- # Changes may cause incorrect behavior and will be lost if the code is
4
- # regenerated.
5
-
6
- module Azure::ARM::Locks
7
- module Models
8
- #
9
- # Resource group filter.
10
- #
11
- class ResourceGroupFilter
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] Gets or sets the tag name.
16
- attr_accessor :tag_name
17
-
18
- # @return [String] Gets or sets the tag value.
19
- attr_accessor :tag_value
20
-
21
-
22
- #
23
- # Mapper for ResourceGroupFilter class as Ruby Hash.
24
- # This will be used for serialization/deserialization.
25
- #
26
- def self.mapper()
27
- {
28
- required: false,
29
- serialized_name: 'ResourceGroupFilter',
30
- type: {
31
- name: 'Composite',
32
- class_name: 'ResourceGroupFilter',
33
- model_properties: {
34
- tag_name: {
35
- required: false,
36
- serialized_name: 'tagName',
37
- type: {
38
- name: 'String'
39
- }
40
- },
41
- tag_value: {
42
- required: false,
43
- serialized_name: 'tagValue',
44
- type: {
45
- name: 'String'
46
- }
47
- }
48
- }
49
- }
50
- }
51
- end
52
- end
53
- end
54
- end