azure_mgmt_analysis_services 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 328a2383d2cc45b7216a6fb924214f3d3cfe2b43
4
- data.tar.gz: 0b258a7f39ff7bf6ec5e33d0b5a066b2ec68b74e
3
+ metadata.gz: 418652b38ae756a24477c32cc4f95a482bed8f6e
4
+ data.tar.gz: b86547e481d58ef710780d0de5e1bfb4c95f077a
5
5
  SHA512:
6
- metadata.gz: 4e939f11343e6af14e9ee5388d78e3149f799af58fed95d6ffb20eecb0e3a9c836902784954012333bdd72328c92e6255513ed9bae72324cb3c98c13c6c61e77
7
- data.tar.gz: cb71f3c422acd0c88891921ca2b90f491b27e1704852f1f78edf3fad2e36e7d7828370af0fab7d66b69915ec7baefbcfbb145326b7e3b33660dcd6bda724a511
6
+ metadata.gz: 5abc825249bf811e838e9a7ddb191fb8290c6c62eb2a9f965ee3418cab858b0df57e6046f3826b3c756408ca3cf7ffa6ba931cce3cfe53d6d6d8bc6ec33029d8
7
+ data.tar.gz: 932c898abc83911d4ccc1d2b77c225627f927dd51e1bb5512a210cbb0283a5724e835c1fb053cd4445d7dafb16858673f16ecb1dc319432f18f5383c32da43a7
@@ -44,12 +44,11 @@ module Azure::ARM::AnalysisServices
44
44
  # @param base_url [String] the base URI of the service.
45
45
  # @param options [Array] filters to be applied to the HTTP requests.
46
46
  #
47
- def initialize(credentials, base_url = nil, options = nil)
47
+ def initialize(credentials = nil, base_url = nil, options = nil)
48
48
  super(credentials, options)
49
49
  @base_url = base_url || 'https://management.azure.com'
50
50
 
51
- fail ArgumentError, 'credentials is nil' if credentials.nil?
52
- fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
51
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
53
52
  @credentials = credentials
54
53
 
55
54
  @servers = Servers.new(self)
@@ -62,7 +61,7 @@ module Azure::ARM::AnalysisServices
62
61
 
63
62
  #
64
63
  # Makes a request and returns the body of the response.
65
- # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
64
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
66
65
  # @param path [String] the path, relative to {base_url}.
67
66
  # @param options [Hash{String=>String}] specifying any request options like :body.
68
67
  # @return [Hash{String=>String}] containing the body of the response.
@@ -123,7 +122,7 @@ module Azure::ARM::AnalysisServices
123
122
  def add_telemetry
124
123
  sdk_information = 'azure_mgmt_analysis_services'
125
124
  if defined? Azure::ARM::AnalysisServices::VERSION
126
- sdk_information = "#{sdk_information}/#{Azure::ARM::AnalysisServices::VERSION}"
125
+ sdk_information = "#{sdk_information}/#{Azure::ARM::AnalysisServices::VERSION}"
127
126
  end
128
127
  add_user_agent_information(sdk_information)
129
128
  end
@@ -15,8 +15,18 @@ module Azure::ARM::AnalysisServices
15
15
  # @return [ServerAdministrators]
16
16
  attr_accessor :as_administrators
17
17
 
18
- # @return [String] The current deployment state of Analysis Services
19
- # resource.
18
+ # @return [State] The current state of Analysis Services resource. The
19
+ # state is to indicate more states outside of resource provisioning.
20
+ # Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused',
21
+ # 'Suspended', 'Provisioning', 'Updating', 'Suspending', 'Pausing',
22
+ # 'Resuming', 'Preparing', 'Scaling'
23
+ attr_accessor :state
24
+
25
+ # @return [ProvisioningState] The current deployment state of Analysis
26
+ # Services resource. The provisioningState is to indicate states for
27
+ # resource provisioning. Possible values include: 'Deleting',
28
+ # 'Succeeded', 'Failed', 'Paused', 'Suspended', 'Provisioning',
29
+ # 'Updating', 'Suspending', 'Pausing', 'Resuming', 'Preparing', 'Scaling'
20
30
  attr_accessor :provisioning_state
21
31
 
22
32
  # @return [String] The full name of the Analysis Services resource.
@@ -96,6 +106,14 @@ module Azure::ARM::AnalysisServices
96
106
  class_name: 'ServerAdministrators'
97
107
  }
98
108
  },
109
+ state: {
110
+ required: false,
111
+ read_only: true,
112
+ serialized_name: 'properties.state',
113
+ type: {
114
+ name: 'String'
115
+ }
116
+ },
99
117
  provisioning_state: {
100
118
  required: false,
101
119
  read_only: true,
@@ -0,0 +1,26 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::AnalysisServices
7
+ module Models
8
+ #
9
+ # Defines values for ProvisioningState
10
+ #
11
+ module ProvisioningState
12
+ Deleting = "Deleting"
13
+ Succeeded = "Succeeded"
14
+ Failed = "Failed"
15
+ Paused = "Paused"
16
+ Suspended = "Suspended"
17
+ Provisioning = "Provisioning"
18
+ Updating = "Updating"
19
+ Suspending = "Suspending"
20
+ Pausing = "Pausing"
21
+ Resuming = "Resuming"
22
+ Preparing = "Preparing"
23
+ Scaling = "Scaling"
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,90 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::AnalysisServices
7
+ module Models
8
+ #
9
+ # Represents an instance of an Analysis Services resource.
10
+ #
11
+ class Resource < MsRestAzure::Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ResourceSku] The SKU of the Analysis Services resource.
16
+ attr_accessor :sku
17
+
18
+
19
+ #
20
+ # Mapper for Resource class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'Resource',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'Resource',
30
+ model_properties: {
31
+ id: {
32
+ required: false,
33
+ read_only: true,
34
+ serialized_name: 'id',
35
+ type: {
36
+ name: 'String'
37
+ }
38
+ },
39
+ name: {
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'name',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ type: {
48
+ required: false,
49
+ read_only: true,
50
+ serialized_name: 'type',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ location: {
56
+ required: true,
57
+ serialized_name: 'location',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ sku: {
63
+ required: true,
64
+ serialized_name: 'sku',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'ResourceSku'
68
+ }
69
+ },
70
+ tags: {
71
+ required: false,
72
+ serialized_name: 'tags',
73
+ type: {
74
+ name: 'Dictionary',
75
+ value: {
76
+ required: false,
77
+ serialized_name: 'StringElementType',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ end
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,26 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::AnalysisServices
7
+ module Models
8
+ #
9
+ # Defines values for State
10
+ #
11
+ module State
12
+ Deleting = "Deleting"
13
+ Succeeded = "Succeeded"
14
+ Failed = "Failed"
15
+ Paused = "Paused"
16
+ Suspended = "Suspended"
17
+ Provisioning = "Provisioning"
18
+ Updating = "Updating"
19
+ Suspending = "Suspending"
20
+ Pausing = "Pausing"
21
+ Resuming = "Resuming"
22
+ Preparing = "Preparing"
23
+ Scaling = "Scaling"
24
+ end
25
+ end
26
+ end
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::AnalysisServices
7
- VERSION = '0.8.0'
7
+ VERSION = '0.9.0'
8
8
  end
@@ -25,11 +25,14 @@ module Azure::ARM::AnalysisServices
25
25
 
26
26
  module Models
27
27
  autoload :AnalysisServicesServers, 'generated/azure_mgmt_analysis_services/models/analysis_services_servers.rb'
28
- autoload :AnalysisServicesServerUpdateParameters, 'generated/azure_mgmt_analysis_services/models/analysis_services_server_update_parameters.rb'
29
28
  autoload :ResourceSku, 'generated/azure_mgmt_analysis_services/models/resource_sku.rb'
30
29
  autoload :ServerAdministrators, 'generated/azure_mgmt_analysis_services/models/server_administrators.rb'
30
+ autoload :Resource, 'generated/azure_mgmt_analysis_services/models/resource.rb'
31
+ autoload :AnalysisServicesServerUpdateParameters, 'generated/azure_mgmt_analysis_services/models/analysis_services_server_update_parameters.rb'
31
32
  autoload :AnalysisServicesServer, 'generated/azure_mgmt_analysis_services/models/analysis_services_server.rb'
32
33
  autoload :SkuName, 'generated/azure_mgmt_analysis_services/models/sku_name.rb'
33
34
  autoload :SkuTier, 'generated/azure_mgmt_analysis_services/models/sku_tier.rb'
35
+ autoload :State, 'generated/azure_mgmt_analysis_services/models/state.rb'
36
+ autoload :ProvisioningState, 'generated/azure_mgmt_analysis_services/models/provisioning_state.rb'
34
37
  end
35
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_analysis_services
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.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-11-16 00:00:00.000000000 Z
11
+ date: 2017-02-07 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.2
75
+ version: 0.7.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.6.2
82
+ version: 0.7.0
83
83
  description: Microsoft Azure Analysis Services Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -93,10 +93,13 @@ files:
93
93
  - lib/generated/azure_mgmt_analysis_services/models/analysis_services_server.rb
94
94
  - lib/generated/azure_mgmt_analysis_services/models/analysis_services_server_update_parameters.rb
95
95
  - lib/generated/azure_mgmt_analysis_services/models/analysis_services_servers.rb
96
+ - lib/generated/azure_mgmt_analysis_services/models/provisioning_state.rb
97
+ - lib/generated/azure_mgmt_analysis_services/models/resource.rb
96
98
  - lib/generated/azure_mgmt_analysis_services/models/resource_sku.rb
97
99
  - lib/generated/azure_mgmt_analysis_services/models/server_administrators.rb
98
100
  - lib/generated/azure_mgmt_analysis_services/models/sku_name.rb
99
101
  - lib/generated/azure_mgmt_analysis_services/models/sku_tier.rb
102
+ - lib/generated/azure_mgmt_analysis_services/models/state.rb
100
103
  - lib/generated/azure_mgmt_analysis_services/module_definition.rb
101
104
  - lib/generated/azure_mgmt_analysis_services/servers.rb
102
105
  - lib/generated/azure_mgmt_analysis_services/version.rb