azure_mgmt_mixedreality 0.17.2 → 0.17.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/mixed_reality_client.rb +1 -1
  3. data/lib/2019-12-02-preview/generated/azure_mgmt_mixedreality/mixed_reality_client.rb +1 -1
  4. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality.rb +54 -0
  5. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/mixed_reality_client.rb +243 -0
  6. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/account_key_regenerate_request.rb +47 -0
  7. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/account_keys.rb +59 -0
  8. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/azure_entity_resource.rb +75 -0
  9. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/check_name_availability_request.rb +58 -0
  10. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/check_name_availability_response.rb +70 -0
  11. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/identity.rb +72 -0
  12. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/name_availability.rb +16 -0
  13. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/name_unavailable_reason.rb +16 -0
  14. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/operation.rb +58 -0
  15. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/operation_display.rb +80 -0
  16. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/operation_page.rb +101 -0
  17. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/plan.rb +95 -0
  18. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/proxy_resource.rb +63 -0
  19. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/remote_rendering_account.rb +123 -0
  20. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/remote_rendering_account_identity.rb +63 -0
  21. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/remote_rendering_account_page.rb +101 -0
  22. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource.rb +83 -0
  23. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_identity_type.rb +15 -0
  24. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set.rb +191 -0
  25. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set_identity.rb +64 -0
  26. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set_plan.rb +76 -0
  27. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set_sku.rb +77 -0
  28. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/sku.rb +99 -0
  29. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/sku_tier.rb +18 -0
  30. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/tracked_resource.rb +92 -0
  31. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/module_definition.rb +9 -0
  32. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/operations.rb +218 -0
  33. data/lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/remote_rendering_accounts.rb +1066 -0
  34. data/lib/2020-05-01/generated/azure_mgmt_mixedreality.rb +44 -0
  35. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/mixed_reality_client.rb +243 -0
  36. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/account_key_regenerate_request.rb +47 -0
  37. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/account_keys.rb +59 -0
  38. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/azure_entity_resource.rb +75 -0
  39. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/check_name_availability_request.rb +58 -0
  40. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/check_name_availability_response.rb +70 -0
  41. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/name_availability.rb +16 -0
  42. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/name_unavailable_reason.rb +16 -0
  43. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/operation.rb +58 -0
  44. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/operation_display.rb +80 -0
  45. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/operation_page.rb +101 -0
  46. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/proxy_resource.rb +63 -0
  47. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/resource.rb +83 -0
  48. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/spatial_anchors_account.rb +111 -0
  49. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/spatial_anchors_account_page.rb +101 -0
  50. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/models/tracked_resource.rb +92 -0
  51. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/module_definition.rb +9 -0
  52. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/operations.rb +218 -0
  53. data/lib/2020-05-01/generated/azure_mgmt_mixedreality/spatial_anchors_accounts.rb +1066 -0
  54. data/lib/azure_mgmt_mixedreality.rb +2 -0
  55. data/lib/profiles/latest/modules/mixedreality_profile_module.rb +100 -56
  56. data/lib/version.rb +1 -1
  57. metadata +54 -4
@@ -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::MixedReality::Mgmt::V2020_04_06_preview
7
+ module Models
8
+ #
9
+ # Check Name Availability Request
10
+ #
11
+ class CheckNameAvailabilityRequest
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource Name To Verify
16
+ attr_accessor :name
17
+
18
+ # @return [String] Fully qualified resource type which includes provider
19
+ # namespace
20
+ attr_accessor :type
21
+
22
+
23
+ #
24
+ # Mapper for CheckNameAvailabilityRequest 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: 'CheckNameAvailabilityRequest',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'CheckNameAvailabilityRequest',
35
+ model_properties: {
36
+ name: {
37
+ client_side_validation: true,
38
+ required: true,
39
+ serialized_name: 'name',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ type: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'type',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,70 @@
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::MixedReality::Mgmt::V2020_04_06_preview
7
+ module Models
8
+ #
9
+ # Check Name Availability Response
10
+ #
11
+ class CheckNameAvailabilityResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [NameAvailability] if name Available. Possible values include:
16
+ # 'true', 'false'
17
+ attr_accessor :name_available
18
+
19
+ # @return [NameUnavailableReason] Resource Name To Verify. Possible
20
+ # values include: 'Invalid', 'AlreadyExists'
21
+ attr_accessor :reason
22
+
23
+ # @return [String] detail message
24
+ attr_accessor :message
25
+
26
+
27
+ #
28
+ # Mapper for CheckNameAvailabilityResponse class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'CheckNameAvailabilityResponse',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'CheckNameAvailabilityResponse',
39
+ model_properties: {
40
+ name_available: {
41
+ client_side_validation: true,
42
+ required: true,
43
+ serialized_name: 'nameAvailable',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ reason: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'reason',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ message: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'message',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,72 @@
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::MixedReality::Mgmt::V2020_04_06_preview
7
+ module Models
8
+ #
9
+ # Identity for the resource.
10
+ #
11
+ class Identity
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The principal ID of resource identity.
16
+ attr_accessor :principal_id
17
+
18
+ # @return [String] The tenant ID of resource.
19
+ attr_accessor :tenant_id
20
+
21
+ # @return [ResourceIdentityType] The identity type. Possible values
22
+ # include: 'SystemAssigned'
23
+ attr_accessor :type
24
+
25
+
26
+ #
27
+ # Mapper for Identity class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'Identity',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'Identity',
38
+ model_properties: {
39
+ principal_id: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'principalId',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ tenant_id: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'tenantId',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ type: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'type',
61
+ type: {
62
+ name: 'Enum',
63
+ module: 'ResourceIdentityType'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ 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::MixedReality::Mgmt::V2020_04_06_preview
7
+ module Models
8
+ #
9
+ # Defines values for NameAvailability
10
+ #
11
+ module NameAvailability
12
+ True = "true"
13
+ False = "false"
14
+ end
15
+ end
16
+ 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::MixedReality::Mgmt::V2020_04_06_preview
7
+ module Models
8
+ #
9
+ # Defines values for NameUnavailableReason
10
+ #
11
+ module NameUnavailableReason
12
+ Invalid = "Invalid"
13
+ AlreadyExists = "AlreadyExists"
14
+ end
15
+ end
16
+ 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::MixedReality::Mgmt::V2020_04_06_preview
7
+ module Models
8
+ #
9
+ # REST API operation
10
+ #
11
+ class Operation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Operation name: {provider}/{resource}/{operation}
16
+ attr_accessor :name
17
+
18
+ # @return [OperationDisplay] The object that represents the operation.
19
+ attr_accessor :display
20
+
21
+
22
+ #
23
+ # Mapper for Operation class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'Operation',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'Operation',
34
+ model_properties: {
35
+ name: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'name',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ display: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'display',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'OperationDisplay'
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,80 @@
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::MixedReality::Mgmt::V2020_04_06_preview
7
+ module Models
8
+ #
9
+ # The object that represents the operation.
10
+ #
11
+ class OperationDisplay
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Service provider: Microsoft.ResourceProvider
16
+ attr_accessor :provider
17
+
18
+ # @return [String] Resource on which the operation is performed: Profile,
19
+ # endpoint, etc.
20
+ attr_accessor :resource
21
+
22
+ # @return [String] Operation type: Read, write, delete, etc.
23
+ attr_accessor :operation
24
+
25
+ # @return [String] Description of operation
26
+ attr_accessor :description
27
+
28
+
29
+ #
30
+ # Mapper for OperationDisplay 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: 'OperationDisplay',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'OperationDisplay',
41
+ model_properties: {
42
+ provider: {
43
+ client_side_validation: true,
44
+ required: true,
45
+ serialized_name: 'provider',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ resource: {
51
+ client_side_validation: true,
52
+ required: true,
53
+ serialized_name: 'resource',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ operation: {
59
+ client_side_validation: true,
60
+ required: true,
61
+ serialized_name: 'operation',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ description: {
67
+ client_side_validation: true,
68
+ required: true,
69
+ serialized_name: 'description',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ 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::MixedReality::Mgmt::V2020_04_06_preview
7
+ module Models
8
+ #
9
+ # Result of the request to list Resource Provider operations. It contains a
10
+ # list of operations and a URL link to get the next set of results.
11
+ #
12
+ class OperationPage
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [Array<Operation>] List of operations supported by the Resource
18
+ # Provider.
19
+ attr_accessor :value
20
+
21
+ # @return [String] URL to get the next set of operation list results if
22
+ # there are any.
23
+ attr_accessor :next_link
24
+
25
+ # return [Proc] with next page method call.
26
+ attr_accessor :next_method
27
+
28
+ #
29
+ # Gets the rest of the items for the request, enabling auto-pagination.
30
+ #
31
+ # @return [Array<Operation>] operation results.
32
+ #
33
+ def get_all_items
34
+ items = @value
35
+ page = self
36
+ while page.next_link != nil && !page.next_link.strip.empty? do
37
+ page = page.get_next_page
38
+ items.concat(page.value)
39
+ end
40
+ items
41
+ end
42
+
43
+ #
44
+ # Gets the next page of results.
45
+ #
46
+ # @return [OperationPage] with next page content.
47
+ #
48
+ def get_next_page
49
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
50
+ unless response.nil?
51
+ @next_link = response.body.next_link
52
+ @value = response.body.value
53
+ self
54
+ end
55
+ end
56
+
57
+ #
58
+ # Mapper for OperationPage class as Ruby Hash.
59
+ # This will be used for serialization/deserialization.
60
+ #
61
+ def self.mapper()
62
+ {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'OperationPage',
66
+ type: {
67
+ name: 'Composite',
68
+ class_name: 'OperationPage',
69
+ model_properties: {
70
+ value: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'value',
74
+ type: {
75
+ name: 'Sequence',
76
+ element: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'OperationElementType',
80
+ type: {
81
+ name: 'Composite',
82
+ class_name: 'Operation'
83
+ }
84
+ }
85
+ }
86
+ },
87
+ next_link: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'nextLink',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ end
99
+ end
100
+ end
101
+ end