azure_mgmt_security 0.16.0 → 0.17.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: 80b5e28c6d3647341eb4f00e28cf64479861ea5e
4
- data.tar.gz: 86290f5389b37fa059bbd4caa82403d25bb17eae
3
+ metadata.gz: 1396f9504974f581fd5f7ac0e12eca1b5d07b42d
4
+ data.tar.gz: fff87efec2fc7ac9be7af6eca978e516e5a55bb5
5
5
  SHA512:
6
- metadata.gz: c4c57bb48808332e6509d3ff335a247e929bac429d9523e5d62d7561969b38d3988cdb008700751b57ae616c2f360b89d662238107c9a18fee6fe65d45c5c524
7
- data.tar.gz: 96f6d8b3d53c14d3dd278a1b23f2edc5c59fdbde6b9533bb04cb8753156737acbfde0aa051c4ab916eb111adb32cf8aceba21cf5ccaf0163541ca838fd255bbf
6
+ metadata.gz: 9f620ed3ae1b9f9050ec0eff77be617ee8738d27afcc883dc64f9fa0e757d89aa8f25f34906645b060572c8030cb2b75a6765a64b2e06b82e747aec13bf04ca9
7
+ data.tar.gz: 5d68f4426c4c277e811b4f39c0689780ba8c8a7442108e332847d3b65b48ef8513681236bd1c8d0a95eeab8dd802fe8290111656103eab19d60e90017d1bdd77
@@ -43,6 +43,6 @@ module Azure::Security::Mgmt::V2017_08_01_preview
43
43
  autoload :AlertNotifications, '2017-08-01-preview/generated/azure_mgmt_security/models/alert_notifications.rb'
44
44
  autoload :AlertsToAdmins, '2017-08-01-preview/generated/azure_mgmt_security/models/alerts_to_admins.rb'
45
45
  autoload :PricingTier, '2017-08-01-preview/generated/azure_mgmt_security/models/pricing_tier.rb'
46
- autoload :ProvisioningSetting, '2017-08-01-preview/generated/azure_mgmt_security/models/provisioning_setting.rb'
46
+ autoload :AutoProvision, '2017-08-01-preview/generated/azure_mgmt_security/models/auto_provision.rb'
47
47
  end
48
48
  end
@@ -6,10 +6,10 @@
6
6
  module Azure::Security::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
- # Defines values for ProvisioningSetting
9
+ # Defines values for AutoProvision
10
10
  #
11
- module ProvisioningSetting
12
- Automatic = "Automatic"
11
+ module AutoProvision
12
+ On = "On"
13
13
  Off = "Off"
14
14
  end
15
15
  end
@@ -12,10 +12,9 @@ module Azure::Security::Mgmt::V2017_08_01_preview
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [ProvisioningSetting] Describes what kind of security agent
16
- # provisioning action to take. Possible values include: 'Automatic',
17
- # 'Off'
18
- attr_accessor :provisioning_setting
15
+ # @return [AutoProvision] Describes what kind of security agent
16
+ # provisioning action to take. Possible values include: 'On', 'Off'
17
+ attr_accessor :auto_provision
19
18
 
20
19
 
21
20
  #
@@ -58,10 +57,10 @@ module Azure::Security::Mgmt::V2017_08_01_preview
58
57
  name: 'String'
59
58
  }
60
59
  },
61
- provisioning_setting: {
60
+ auto_provision: {
62
61
  client_side_validation: true,
63
62
  required: true,
64
- serialized_name: 'properties.provisioningSetting',
63
+ serialized_name: 'properties.autoProvision',
65
64
  type: {
66
65
  name: 'String'
67
66
  }
@@ -205,8 +205,8 @@ module Azure::Security::Mgmt::V2017_08_01_preview
205
205
  #
206
206
  # @return [SecurityContact] operation results.
207
207
  #
208
- def crete(security_contact_name, security_contact, custom_headers:nil)
209
- response = crete_async(security_contact_name, security_contact, custom_headers:custom_headers).value!
208
+ def create(security_contact_name, security_contact, custom_headers:nil)
209
+ response = create_async(security_contact_name, security_contact, custom_headers:custom_headers).value!
210
210
  response.body unless response.nil?
211
211
  end
212
212
 
@@ -220,8 +220,8 @@ module Azure::Security::Mgmt::V2017_08_01_preview
220
220
  #
221
221
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
222
222
  #
223
- def crete_with_http_info(security_contact_name, security_contact, custom_headers:nil)
224
- crete_async(security_contact_name, security_contact, custom_headers:custom_headers).value!
223
+ def create_with_http_info(security_contact_name, security_contact, custom_headers:nil)
224
+ create_async(security_contact_name, security_contact, custom_headers:custom_headers).value!
225
225
  end
226
226
 
227
227
  #
@@ -234,7 +234,7 @@ module Azure::Security::Mgmt::V2017_08_01_preview
234
234
  #
235
235
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
236
236
  #
237
- def crete_async(security_contact_name, security_contact, custom_headers:nil)
237
+ def create_async(security_contact_name, security_contact, custom_headers:nil)
238
238
  @client.api_version = '2017-08-01-preview'
239
239
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
240
240
  fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'Pattern': '^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$'" if !@client.subscription_id.nil? && @client.subscription_id.match(Regexp.new('^^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$$')).nil?
@@ -360,7 +360,7 @@ module Azure::Security::Mgmt::V2017_08_01_preview
360
360
  http_response = result.response
361
361
  status_code = http_response.status
362
362
  response_content = http_response.body
363
- unless status_code == 200
363
+ unless status_code == 204
364
364
  error_model = JSON.load(response_content)
365
365
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
366
366
  end
@@ -23,15 +23,16 @@ module Azure::Security::Mgmt::V2017_08_01_preview
23
23
  # @return [String] API version for the operation
24
24
  attr_reader :api_version
25
25
 
26
- # @return [String] Gets or sets the preferred language for the response.
26
+ # @return [String] The preferred language for the response.
27
27
  attr_accessor :accept_language
28
28
 
29
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
30
- # Running Operations. Default value is 30.
29
+ # @return [Integer] The retry timeout in seconds for Long Running
30
+ # Operations. Default value is 30.
31
31
  attr_accessor :long_running_operation_retry_timeout
32
32
 
33
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
34
- # is generated and included in each request. Default is true.
33
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
34
+ # generated. When set to true a unique x-ms-client-request-id value is
35
+ # generated and included in each request. Default is true.
35
36
  attr_accessor :generate_client_request_id
36
37
 
37
38
  # @return [Pricings] pricings
@@ -139,7 +140,7 @@ module Azure::Security::Mgmt::V2017_08_01_preview
139
140
  #
140
141
  def add_telemetry
141
142
  sdk_information = 'azure_mgmt_security'
142
- sdk_information = "#{sdk_information}/0.16.0"
143
+ sdk_information = "#{sdk_information}/0.17.0"
143
144
  add_user_agent_information(sdk_information)
144
145
  end
145
146
  end
@@ -28,7 +28,7 @@ module Azure::Security::Profiles::Latest
28
28
  AlertNotifications = Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertNotifications
29
29
  AlertsToAdmins = Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertsToAdmins
30
30
  PricingTier = Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingTier
31
- ProvisioningSetting = Azure::Security::Mgmt::V2017_08_01_preview::Models::ProvisioningSetting
31
+ AutoProvision = Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvision
32
32
  end
33
33
 
34
34
  #
@@ -125,8 +125,8 @@ module Azure::Security::Profiles::Latest
125
125
  def pricing_tier
126
126
  Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingTier
127
127
  end
128
- def provisioning_setting
129
- Azure::Security::Mgmt::V2017_08_01_preview::Models::ProvisioningSetting
128
+ def auto_provision
129
+ Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvision
130
130
  end
131
131
  end
132
132
  end
data/lib/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::Security::Mgmt
6
- VERSION = '0.16.0'
6
+ VERSION = '0.17.0'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_security
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.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: 2018-06-20 00:00:00.000000000 Z
11
+ date: 2018-07-31 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.10.0
75
+ version: 0.11.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.10.0
82
+ version: 0.11.0
83
83
  description: Microsoft Azure Security Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -92,6 +92,7 @@ files:
92
92
  - lib/2017-08-01-preview/generated/azure_mgmt_security/compliances.rb
93
93
  - lib/2017-08-01-preview/generated/azure_mgmt_security/models/alert_notifications.rb
94
94
  - lib/2017-08-01-preview/generated/azure_mgmt_security/models/alerts_to_admins.rb
95
+ - lib/2017-08-01-preview/generated/azure_mgmt_security/models/auto_provision.rb
95
96
  - lib/2017-08-01-preview/generated/azure_mgmt_security/models/auto_provisioning_setting.rb
96
97
  - lib/2017-08-01-preview/generated/azure_mgmt_security/models/auto_provisioning_setting_list.rb
97
98
  - lib/2017-08-01-preview/generated/azure_mgmt_security/models/compliance.rb
@@ -100,7 +101,6 @@ files:
100
101
  - lib/2017-08-01-preview/generated/azure_mgmt_security/models/pricing.rb
101
102
  - lib/2017-08-01-preview/generated/azure_mgmt_security/models/pricing_list.rb
102
103
  - lib/2017-08-01-preview/generated/azure_mgmt_security/models/pricing_tier.rb
103
- - lib/2017-08-01-preview/generated/azure_mgmt_security/models/provisioning_setting.rb
104
104
  - lib/2017-08-01-preview/generated/azure_mgmt_security/models/resource.rb
105
105
  - lib/2017-08-01-preview/generated/azure_mgmt_security/models/security_contact.rb
106
106
  - lib/2017-08-01-preview/generated/azure_mgmt_security/models/security_contact_list.rb