azure_mgmt_support 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2020-04-01/generated/azure_mgmt_support.rb +62 -0
  4. data/lib/2020-04-01/generated/azure_mgmt_support/communications.rb +661 -0
  5. data/lib/2020-04-01/generated/azure_mgmt_support/microsoft_support.rb +147 -0
  6. data/lib/2020-04-01/generated/azure_mgmt_support/models/check_name_availability_input.rb +59 -0
  7. data/lib/2020-04-01/generated/azure_mgmt_support/models/check_name_availability_output.rb +72 -0
  8. data/lib/2020-04-01/generated/azure_mgmt_support/models/communication_details.rb +145 -0
  9. data/lib/2020-04-01/generated/azure_mgmt_support/models/communication_direction.rb +16 -0
  10. data/lib/2020-04-01/generated/azure_mgmt_support/models/communication_type.rb +16 -0
  11. data/lib/2020-04-01/generated/azure_mgmt_support/models/communications_list_result.rb +99 -0
  12. data/lib/2020-04-01/generated/azure_mgmt_support/models/contact_profile.rb +156 -0
  13. data/lib/2020-04-01/generated/azure_mgmt_support/models/exception_response.rb +47 -0
  14. data/lib/2020-04-01/generated/azure_mgmt_support/models/operation.rb +59 -0
  15. data/lib/2020-04-01/generated/azure_mgmt_support/models/operation_display.rb +84 -0
  16. data/lib/2020-04-01/generated/azure_mgmt_support/models/operations_list_result.rb +56 -0
  17. data/lib/2020-04-01/generated/azure_mgmt_support/models/preferred_contact_method.rb +16 -0
  18. data/lib/2020-04-01/generated/azure_mgmt_support/models/problem_classification.rb +83 -0
  19. data/lib/2020-04-01/generated/azure_mgmt_support/models/problem_classifications_list_result.rb +56 -0
  20. data/lib/2020-04-01/generated/azure_mgmt_support/models/quota_change_request.rb +58 -0
  21. data/lib/2020-04-01/generated/azure_mgmt_support/models/quota_ticket_details.rb +82 -0
  22. data/lib/2020-04-01/generated/azure_mgmt_support/models/service.rb +101 -0
  23. data/lib/2020-04-01/generated/azure_mgmt_support/models/service_error.rb +89 -0
  24. data/lib/2020-04-01/generated/azure_mgmt_support/models/service_error_detail.rb +70 -0
  25. data/lib/2020-04-01/generated/azure_mgmt_support/models/service_level_agreement.rb +73 -0
  26. data/lib/2020-04-01/generated/azure_mgmt_support/models/services_list_result.rb +55 -0
  27. data/lib/2020-04-01/generated/azure_mgmt_support/models/severity_level.rb +18 -0
  28. data/lib/2020-04-01/generated/azure_mgmt_support/models/status.rb +16 -0
  29. data/lib/2020-04-01/generated/azure_mgmt_support/models/support_engineer.rb +48 -0
  30. data/lib/2020-04-01/generated/azure_mgmt_support/models/support_ticket_details.rb +321 -0
  31. data/lib/2020-04-01/generated/azure_mgmt_support/models/support_tickets_list_result.rb +99 -0
  32. data/lib/2020-04-01/generated/azure_mgmt_support/models/technical_ticket_details.rb +48 -0
  33. data/lib/2020-04-01/generated/azure_mgmt_support/models/type.rb +16 -0
  34. data/lib/2020-04-01/generated/azure_mgmt_support/models/update_contact_profile.rb +156 -0
  35. data/lib/2020-04-01/generated/azure_mgmt_support/models/update_support_ticket.rb +73 -0
  36. data/lib/2020-04-01/generated/azure_mgmt_support/module_definition.rb +9 -0
  37. data/lib/2020-04-01/generated/azure_mgmt_support/operations.rb +109 -0
  38. data/lib/2020-04-01/generated/azure_mgmt_support/problem_classifications.rb +219 -0
  39. data/lib/2020-04-01/generated/azure_mgmt_support/services.rb +222 -0
  40. data/lib/2020-04-01/generated/azure_mgmt_support/support_tickets.rb +854 -0
  41. data/lib/azure_mgmt_support.rb +6 -0
  42. data/lib/module_definition.rb +7 -0
  43. data/lib/profiles/latest/modules/support_profile_module.rb +189 -0
  44. data/lib/profiles/latest/support_latest_profile_client.rb +40 -0
  45. data/lib/profiles/latest/support_module_definition.rb +8 -0
  46. data/lib/version.rb +7 -0
  47. metadata +162 -0
@@ -0,0 +1,56 @@
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::Support::Mgmt::V2020_04_01
7
+ module Models
8
+ #
9
+ # The list of operations supported by Microsoft Support resource provider.
10
+ #
11
+ class OperationsListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Operation>] The list of operations supported by
16
+ # Microsoft Support resource provider.
17
+ attr_accessor :value
18
+
19
+
20
+ #
21
+ # Mapper for OperationsListResult class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'OperationsListResult',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'OperationsListResult',
32
+ model_properties: {
33
+ value: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'value',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'OperationElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'Operation'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ 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::Support::Mgmt::V2020_04_01
7
+ module Models
8
+ #
9
+ # Defines values for PreferredContactMethod
10
+ #
11
+ module PreferredContactMethod
12
+ Email = "email"
13
+ Phone = "phone"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,83 @@
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::Support::Mgmt::V2020_04_01
7
+ module Models
8
+ #
9
+ # ProblemClassification resource object.
10
+ #
11
+ class ProblemClassification
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Id of the resource.
16
+ attr_accessor :id
17
+
18
+ # @return [String] Name of the resource.
19
+ attr_accessor :name
20
+
21
+ # @return [String] Type of the resource
22
+ # 'Microsoft.Support/problemClassification'.
23
+ attr_accessor :type
24
+
25
+ # @return [String] Localized name of problem classification.
26
+ attr_accessor :display_name
27
+
28
+
29
+ #
30
+ # Mapper for ProblemClassification class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'ProblemClassification',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'ProblemClassification',
41
+ model_properties: {
42
+ id: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'id',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ name: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'name',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ type: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'type',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ display_name: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'properties.displayName',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ end
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,56 @@
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::Support::Mgmt::V2020_04_01
7
+ module Models
8
+ #
9
+ # Collection of ProblemClassification resources.
10
+ #
11
+ class ProblemClassificationsListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<ProblemClassification>] List of ProblemClassification
16
+ # resources.
17
+ attr_accessor :value
18
+
19
+
20
+ #
21
+ # Mapper for ProblemClassificationsListResult class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'ProblemClassificationsListResult',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'ProblemClassificationsListResult',
32
+ model_properties: {
33
+ value: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'value',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'ProblemClassificationElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'ProblemClassification'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,58 @@
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::Support::Mgmt::V2020_04_01
7
+ module Models
8
+ #
9
+ # This property is required for providing the region and new quota limits.
10
+ #
11
+ class QuotaChangeRequest
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Region for which the quota increase request is being
16
+ # made.
17
+ attr_accessor :region
18
+
19
+ # @return [String] Payload of the quota increase request.
20
+ attr_accessor :payload
21
+
22
+
23
+ #
24
+ # Mapper for QuotaChangeRequest class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'QuotaChangeRequest',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'QuotaChangeRequest',
35
+ model_properties: {
36
+ region: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'region',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ payload: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'payload',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,82 @@
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::Support::Mgmt::V2020_04_01
7
+ module Models
8
+ #
9
+ # Additional set of information required for quota increase support ticket
10
+ # for certain quota types, e.g.: Virtual machine cores. Get complete
11
+ # details about Quota payload support request along with examples at
12
+ # [Support quota request](https://aka.ms/supportrpquotarequestpayload).
13
+ #
14
+ class QuotaTicketDetails
15
+
16
+ include MsRestAzure
17
+
18
+ # @return [String] Required for certain quota types when there is a sub
19
+ # type, such as Batch, for which you are requesting a quota increase.
20
+ attr_accessor :quota_change_request_sub_type
21
+
22
+ # @return [String] Quota change request version.
23
+ attr_accessor :quota_change_request_version
24
+
25
+ # @return [Array<QuotaChangeRequest>] This property is required for
26
+ # providing the region and new quota limits.
27
+ attr_accessor :quota_change_requests
28
+
29
+
30
+ #
31
+ # Mapper for QuotaTicketDetails class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'QuotaTicketDetails',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'QuotaTicketDetails',
42
+ model_properties: {
43
+ quota_change_request_sub_type: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'quotaChangeRequestSubType',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ quota_change_request_version: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'quotaChangeRequestVersion',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ quota_change_requests: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'quotaChangeRequests',
63
+ type: {
64
+ name: 'Sequence',
65
+ element: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'QuotaChangeRequestElementType',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'QuotaChangeRequest'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ end
80
+ end
81
+ end
82
+ end
@@ -0,0 +1,101 @@
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::Support::Mgmt::V2020_04_01
7
+ module Models
8
+ #
9
+ # Object that represents a Service resource.
10
+ #
11
+ class Service
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Id of the resource.
16
+ attr_accessor :id
17
+
18
+ # @return [String] Name of the resource.
19
+ attr_accessor :name
20
+
21
+ # @return [String] Type of the resource 'Microsoft.Support/services'.
22
+ attr_accessor :type
23
+
24
+ # @return [String] Localized name of the Azure service.
25
+ attr_accessor :display_name
26
+
27
+ # @return [Array<String>] ARM Resource types.
28
+ attr_accessor :resource_types
29
+
30
+
31
+ #
32
+ # Mapper for Service class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'Service',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'Service',
43
+ model_properties: {
44
+ id: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'id',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ name: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'name',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ type: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'type',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ display_name: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'properties.displayName',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ resource_types: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'properties.resourceTypes',
83
+ type: {
84
+ name: 'Sequence',
85
+ element: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'StringElementType',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ end
99
+ end
100
+ end
101
+ end