azure_mgmt_server_management 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_server_management.rb +14 -11
  3. data/lib/generated/azure_mgmt_server_management/gateway.rb +444 -441
  4. data/lib/generated/azure_mgmt_server_management/models/{auto_upgrade.rb → credential_data_format.rb} +4 -5
  5. data/lib/generated/azure_mgmt_server_management/models/encryption_jwk_resource.rb +74 -0
  6. data/lib/generated/azure_mgmt_server_management/models/error.rb +2 -2
  7. data/lib/generated/azure_mgmt_server_management/models/gateway_expand_option.rb +2 -1
  8. data/lib/generated/azure_mgmt_server_management/models/gateway_parameters.rb +12 -11
  9. data/lib/generated/azure_mgmt_server_management/models/gateway_profile.rb +12 -12
  10. data/lib/generated/azure_mgmt_server_management/models/gateway_resource.rb +39 -15
  11. data/lib/generated/azure_mgmt_server_management/models/gateway_resources.rb +4 -4
  12. data/lib/generated/azure_mgmt_server_management/models/gateway_status.rb +108 -5
  13. data/lib/generated/azure_mgmt_server_management/models/node_parameters.rb +7 -7
  14. data/lib/generated/azure_mgmt_server_management/models/node_resource.rb +4 -4
  15. data/lib/generated/azure_mgmt_server_management/models/node_resources.rb +4 -4
  16. data/lib/generated/azure_mgmt_server_management/models/power_shell_command_parameters.rb +3 -3
  17. data/lib/generated/azure_mgmt_server_management/models/power_shell_command_result.rb +14 -14
  18. data/lib/generated/azure_mgmt_server_management/models/power_shell_command_results.rb +2 -2
  19. data/lib/generated/azure_mgmt_server_management/models/power_shell_command_status.rb +2 -2
  20. data/lib/generated/azure_mgmt_server_management/models/power_shell_expand_option.rb +1 -1
  21. data/lib/generated/azure_mgmt_server_management/models/power_shell_session_resource.rb +7 -7
  22. data/lib/generated/azure_mgmt_server_management/models/power_shell_session_resources.rb +5 -5
  23. data/lib/generated/azure_mgmt_server_management/models/power_shell_tab_completion_parameters.rb +2 -2
  24. data/lib/generated/azure_mgmt_server_management/models/power_shell_tab_completion_results.rb +3 -3
  25. data/lib/generated/azure_mgmt_server_management/models/prompt_field_description.rb +6 -6
  26. data/lib/generated/azure_mgmt_server_management/models/prompt_field_type.rb +1 -1
  27. data/lib/generated/azure_mgmt_server_management/models/prompt_message_response.rb +3 -3
  28. data/lib/generated/azure_mgmt_server_management/models/retention_period.rb +16 -0
  29. data/lib/generated/azure_mgmt_server_management/models/session_parameters.rb +38 -4
  30. data/lib/generated/azure_mgmt_server_management/models/session_resource.rb +4 -4
  31. data/lib/generated/azure_mgmt_server_management/models/upgrade_mode.rb +16 -0
  32. data/lib/generated/azure_mgmt_server_management/models/version.rb +8 -8
  33. data/lib/generated/azure_mgmt_server_management/module_definition.rb +1 -1
  34. data/lib/generated/azure_mgmt_server_management/node.rb +309 -309
  35. data/lib/generated/azure_mgmt_server_management/power_shell.rb +280 -280
  36. data/lib/generated/azure_mgmt_server_management/server_management.rb +16 -3
  37. data/lib/generated/azure_mgmt_server_management/session.rb +128 -95
  38. data/lib/generated/azure_mgmt_server_management/version.rb +2 -2
  39. metadata +8 -5
@@ -1,33 +1,33 @@
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::ServerManagement
7
7
  module Models
8
8
  #
9
- # Model object.
9
+ # Parameter collection for operations on arm node resource.
10
10
  #
11
11
  class NodeParameters
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] location of the resource?
15
+ # @return [String] Location of the resource.
16
16
  attr_accessor :location
17
17
 
18
- # @return resource tags
18
+ # @return Resource tags.
19
19
  attr_accessor :tags
20
20
 
21
- # @return [String] Gateway id which will manage this node
21
+ # @return [String] Gateway ID which will manage this node.
22
22
  attr_accessor :gateway_id
23
23
 
24
24
  # @return [String] myhost.domain.com
25
25
  attr_accessor :connection_name
26
26
 
27
- # @return [String] User name to be used to connect to node
27
+ # @return [String] User name to be used to connect to node.
28
28
  attr_accessor :user_name
29
29
 
30
- # @return [String] Password associated with user name
30
+ # @return [String] Password associated with user name.
31
31
  attr_accessor :password
32
32
 
33
33
 
@@ -1,25 +1,25 @@
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::ServerManagement
7
7
  module Models
8
8
  #
9
- # A Node Resource
9
+ # A Node Resource.
10
10
  #
11
11
  class NodeResource < MsRestAzure::Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Id of the gateway
15
+ # @return [String] ID of the gateway.
16
16
  attr_accessor :gateway_id
17
17
 
18
18
  # @return [String] myhost.domain.com
19
19
  attr_accessor :connection_name
20
20
 
21
21
  # @return [DateTime] UTC date and time when node was first added to
22
- # management service
22
+ # management service.
23
23
  attr_accessor :created
24
24
 
25
25
  # @return [DateTime] UTC date and time when node was last updated.
@@ -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::ServerManagement
7
7
  module Models
8
8
  #
9
- # a collection of node resource objects
9
+ # A collection of node resource objects.
10
10
  #
11
11
  class NodeResources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<NodeResource>] Collection of Node Resources
15
+ # @return [Array<NodeResource>] Collection of Node Resources.
16
16
  attr_accessor :value
17
17
 
18
- # @return [String] the URL to the next set of resources
18
+ # @return [String] The URL to the next set of resources.
19
19
  attr_accessor :next_link
20
20
 
21
21
  # return [Proc] with next page method call.
@@ -1,18 +1,18 @@
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::ServerManagement
7
7
  module Models
8
8
  #
9
- # the parameters to a powershell script execution command
9
+ # The parameters to a PowerShell script execution command.
10
10
  #
11
11
  class PowerShellCommandParameters
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Script to execute
15
+ # @return [String] Script to execute.
16
16
  attr_accessor :command
17
17
 
18
18
 
@@ -1,49 +1,49 @@
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::ServerManagement
7
7
  module Models
8
8
  #
9
- # Model object.
9
+ # Results from invoking a PowerShell command.
10
10
  #
11
11
  class PowerShellCommandResult
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Integer] the type of message
15
+ # @return [Integer] The type of message.
16
16
  attr_accessor :message_type
17
17
 
18
- # @return [String] the HTML color string representing the foreground
18
+ # @return [String] The HTML color string representing the foreground
19
19
  # color.
20
20
  attr_accessor :foreground_color
21
21
 
22
- # @return [String] the HTML color string representing the background
22
+ # @return [String] The HTML color string representing the background
23
23
  # color.
24
24
  attr_accessor :background_color
25
25
 
26
- # @return [String] actual result text from the PowerShell Command
26
+ # @return [String] Actual result text from the PowerShell Command.
27
27
  attr_accessor :value
28
28
 
29
- # @return [String] The interactive prompt message
29
+ # @return [String] The interactive prompt message.
30
30
  attr_accessor :prompt
31
31
 
32
- # @return [Integer] the exit code from a executable that was called from
33
- # powershell.
32
+ # @return [Integer] The exit code from a executable that was called from
33
+ # PowerShell.
34
34
  attr_accessor :exit_code
35
35
 
36
- # @return [Integer] ID of the prompt message
36
+ # @return [Integer] ID of the prompt message.
37
37
  attr_accessor :id
38
38
 
39
- # @return [String] text that precedes the prompt.
39
+ # @return [String] Text that precedes the prompt.
40
40
  attr_accessor :caption
41
41
 
42
- # @return [String] text of the prompt.
42
+ # @return [String] Text of the prompt.
43
43
  attr_accessor :message
44
44
 
45
- # @return [Array<PromptFieldDescription>] collection of
46
- # PromptFieldDescription objects that contains the user input
45
+ # @return [Array<PromptFieldDescription>] Collection of
46
+ # PromptFieldDescription objects that contains the user input.
47
47
  attr_accessor :descriptions
48
48
 
49
49
 
@@ -1,12 +1,12 @@
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::ServerManagement
7
7
  module Models
8
8
  #
9
- # a collection of results from a powershell command
9
+ # A collection of results from a PowerShell command.
10
10
  #
11
11
  class PowerShellCommandResults
12
12
 
@@ -1,12 +1,12 @@
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::ServerManagement
7
7
  module Models
8
8
  #
9
- # Model object.
9
+ # Result status from invoking a PowerShell command.
10
10
  #
11
11
  class PowerShellCommandStatus < MsRestAzure::Resource
12
12
 
@@ -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,19 +1,19 @@
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::ServerManagement
7
7
  module Models
8
8
  #
9
- # A powershell session resource (practically equivalent to a runspace
10
- # instance)
9
+ # A PowerShell session resource (practically equivalent to a runspace
10
+ # instance).
11
11
  #
12
12
  class PowerShellSessionResource < MsRestAzure::Resource
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- # @return [String] the PowerShell Session Id.
16
+ # @return [String] The PowerShell Session ID.
17
17
  attr_accessor :session_id
18
18
 
19
19
  # @return [String] The runspace state.
@@ -22,8 +22,8 @@ module Azure::ARM::ServerManagement
22
22
  # @return [String] The availability of the runspace.
23
23
  attr_accessor :runspace_availability
24
24
 
25
- # @return [DateTime] Timestamp of last time the service disconnected
26
- # from the runspace.
25
+ # @return [DateTime] Timestamp of last time the service disconnected from
26
+ # the runspace.
27
27
  attr_accessor :disconnected_on
28
28
 
29
29
  # @return [DateTime] Timestamp when the runspace expires.
@@ -32,7 +32,7 @@ module Azure::ARM::ServerManagement
32
32
  # @return [Version]
33
33
  attr_accessor :version
34
34
 
35
- # @return [String] Name of the runspace
35
+ # @return [String] Name of the runspace.
36
36
  attr_accessor :power_shell_session_resource_name
37
37
 
38
38
 
@@ -1,22 +1,22 @@
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::ServerManagement
7
7
  module Models
8
8
  #
9
- # a collaction of powershell session resources
9
+ # A collection of PowerShell session resources
10
10
  #
11
11
  class PowerShellSessionResources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<PowerShellSessionResource>] Colleciton of powershell
16
- # session resources
15
+ # @return [Array<PowerShellSessionResource>] Collection of PowerShell
16
+ # session resources.
17
17
  attr_accessor :value
18
18
 
19
- # @return [String] the URL to the next set of resources
19
+ # @return [String] The URL to the next set of resources.
20
20
  attr_accessor :next_link
21
21
 
22
22
 
@@ -1,12 +1,12 @@
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::ServerManagement
7
7
  module Models
8
8
  #
9
- # Model object.
9
+ # Collection of parameters for PowerShell tab completion.
10
10
  #
11
11
  class PowerShellTabCompletionParameters
12
12
 
@@ -1,13 +1,13 @@
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::ServerManagement
7
7
  module Models
8
8
  #
9
- # an array of strings representing the different values that can be tabbed
10
- # thru
9
+ # An array of strings representing the different values that can be
10
+ # selected through.
11
11
  #
12
12
  class PowerShellTabCompletionResults
13
13
 
@@ -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
 
@@ -12,17 +12,17 @@ module Azure::ARM::ServerManagement
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] the name of the prompt
15
+ # @return [String] The name of the prompt.
16
16
  attr_accessor :name
17
17
 
18
- # @return [String] the label text of the prompt
18
+ # @return [String] The label text of the prompt.
19
19
  attr_accessor :label
20
20
 
21
- # @return [String] the help message of the prompt
21
+ # @return [String] The help message of the prompt.
22
22
  attr_accessor :help_message
23
23
 
24
- # @return [Boolean] when set to 'true' the prompt field type is a list
25
- # of values
24
+ # @return [Boolean] When set to 'true' the prompt field type is a list of
25
+ # values.
26
26
  attr_accessor :prompt_field_type_is_list
27
27
 
28
28
  # @return [PromptFieldType] Possible values include: 'String',
@@ -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,18 +1,18 @@
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::ServerManagement
7
7
  module Models
8
8
  #
9
- # the response to a prompt message
9
+ # The response to a prompt message.
10
10
  #
11
11
  class PromptMessageResponse
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<String>] the list of responses a cmdlet expects
15
+ # @return [Array<String>] The list of responses a cmdlet expects.
16
16
  attr_accessor :response
17
17
 
18
18
 
@@ -0,0 +1,16 @@
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::ServerManagement
7
+ module Models
8
+ #
9
+ # Defines values for RetentionPeriod
10
+ #
11
+ module RetentionPeriod
12
+ Session = "Session"
13
+ Persistent = "Persistent"
14
+ end
15
+ end
16
+ end
@@ -1,23 +1,34 @@
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::ServerManagement
7
7
  module Models
8
8
  #
9
- # Model object.
9
+ # Parameter collection for creation and other operations on sessions.
10
10
  #
11
11
  class SessionParameters
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] User name to be used to connect to node
15
+ # @return [String] Encrypted User name to be used to connect to node.
16
16
  attr_accessor :user_name
17
17
 
18
- # @return [String] Password associated with user name
18
+ # @return [String] Encrypted Password associated with user name.
19
19
  attr_accessor :password
20
20
 
21
+ # @return [RetentionPeriod] Session retention period. Possible values
22
+ # include: 'Session', 'Persistent'
23
+ attr_accessor :retention_period
24
+
25
+ # @return [CredentialDataFormat] Credential data format. Possible values
26
+ # include: 'RsaEncrypted'
27
+ attr_accessor :credential_data_format
28
+
29
+ # @return [String] Encryption certificate thumbprint.
30
+ attr_accessor :encryption_certificate_thumbprint
31
+
21
32
 
22
33
  #
23
34
  # Mapper for SessionParameters class as Ruby Hash.
@@ -44,6 +55,29 @@ module Azure::ARM::ServerManagement
44
55
  type: {
45
56
  name: 'String'
46
57
  }
58
+ },
59
+ retention_period: {
60
+ required: false,
61
+ serialized_name: 'properties.retentionPeriod',
62
+ type: {
63
+ name: 'Enum',
64
+ module: 'RetentionPeriod'
65
+ }
66
+ },
67
+ credential_data_format: {
68
+ required: false,
69
+ serialized_name: 'properties.credentialDataFormat',
70
+ type: {
71
+ name: 'Enum',
72
+ module: 'CredentialDataFormat'
73
+ }
74
+ },
75
+ encryption_certificate_thumbprint: {
76
+ required: false,
77
+ serialized_name: 'properties.EncryptionCertificateThumbprint',
78
+ type: {
79
+ name: 'String'
80
+ }
47
81
  }
48
82
  }
49
83
  }