azure_mgmt_mixedreality 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality.rb +45 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/mixed_reality_client.rb +240 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/azure_entity_resource.rb +75 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/check_name_availability_request.rb +58 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/check_name_availability_response.rb +70 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/error_response.rb +84 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/name_availability.rb +16 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/name_unavailable_reason.rb +16 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/operation.rb +58 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/operation_display.rb +80 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/operation_list.rb +101 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/proxy_resource.rb +63 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/resource.rb +83 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/spatial_anchors_account.rb +112 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/spatial_anchors_account_key_regenerate_request.rb +48 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/spatial_anchors_account_keys.rb +59 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/spatial_anchors_account_list.rb +101 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/tracked_resource.rb +92 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/module_definition.rb +9 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/operations.rb +214 -0
- data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/spatial_anchors_accounts.rb +1067 -0
- data/lib/azure_mgmt_mixedreality.rb +6 -0
- data/lib/module_definition.rb +8 -0
- data/lib/profiles/latest/mixedreality_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/mixedreality_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/mixedreality_profile_module.rb +127 -0
- data/lib/version.rb +7 -0
- metadata +147 -0
@@ -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::MixedReality::Mgmt::V2019_02_28_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Fully qualified resource Id for the resource. Ex -
|
17
|
+
# /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
18
|
+
attr_accessor :id
|
19
|
+
|
20
|
+
# @return [String] The name of the resource
|
21
|
+
attr_accessor :name
|
22
|
+
|
23
|
+
# @return [String] The type of the resource. Ex-
|
24
|
+
# Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
|
25
|
+
attr_accessor :type
|
26
|
+
|
27
|
+
|
28
|
+
# @return [String] the name of the resource group of the resource.
|
29
|
+
def resource_group
|
30
|
+
unless self.id.nil?
|
31
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
32
|
+
groups.captures[0].strip if groups
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for Resource class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'Resource',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'Resource',
|
49
|
+
model_properties: {
|
50
|
+
id: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'id',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
name: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'name',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
type: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'type',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/spatial_anchors_account.rb
ADDED
@@ -0,0 +1,112 @@
|
|
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::V2019_02_28_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# SpatialAnchorsAccount Response.
|
10
|
+
#
|
11
|
+
class SpatialAnchorsAccount < TrackedResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] unique id of certain Spatial Anchors Account data
|
16
|
+
# contract.
|
17
|
+
attr_accessor :account_id
|
18
|
+
|
19
|
+
# @return [String] Correspond domain name of certain Spatial Anchors
|
20
|
+
# Account
|
21
|
+
attr_accessor :account_domain
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for SpatialAnchorsAccount class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'SpatialAnchorsAccount',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'SpatialAnchorsAccount',
|
36
|
+
model_properties: {
|
37
|
+
id: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
read_only: true,
|
41
|
+
serialized_name: 'id',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
name: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
read_only: true,
|
50
|
+
serialized_name: 'name',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
type: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'type',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
tags: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'tags',
|
68
|
+
type: {
|
69
|
+
name: 'Dictionary',
|
70
|
+
value: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'StringElementType',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
},
|
80
|
+
location: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: true,
|
83
|
+
serialized_name: 'location',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
account_id: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
read_only: true,
|
92
|
+
serialized_name: 'properties.accountId',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
},
|
97
|
+
account_domain: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
read_only: true,
|
101
|
+
serialized_name: 'properties.accountDomain',
|
102
|
+
type: {
|
103
|
+
name: 'String'
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
@@ -0,0 +1,48 @@
|
|
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::V2019_02_28_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Spatial Anchors Account Regenerate Key
|
10
|
+
#
|
11
|
+
class SpatialAnchorsAccountKeyRegenerateRequest
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] serial of key to be regenerated. Default value: 1 .
|
16
|
+
attr_accessor :serial
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for SpatialAnchorsAccountKeyRegenerateRequest class as Ruby
|
21
|
+
# 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: 'SpatialAnchorsAccountKeyRegenerateRequest',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'SpatialAnchorsAccountKeyRegenerateRequest',
|
32
|
+
model_properties: {
|
33
|
+
serial: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'serial',
|
37
|
+
default_value: 1,
|
38
|
+
type: {
|
39
|
+
name: 'Number'
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/spatial_anchors_account_keys.rb
ADDED
@@ -0,0 +1,59 @@
|
|
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::V2019_02_28_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Spatial Anchors Account Keys
|
10
|
+
#
|
11
|
+
class SpatialAnchorsAccountKeys
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] value of primary key.
|
16
|
+
attr_accessor :primary_key
|
17
|
+
|
18
|
+
# @return [String] value of secondary key.
|
19
|
+
attr_accessor :secondary_key
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for SpatialAnchorsAccountKeys 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: 'SpatialAnchorsAccountKeys',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'SpatialAnchorsAccountKeys',
|
34
|
+
model_properties: {
|
35
|
+
primary_key: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
read_only: true,
|
39
|
+
serialized_name: 'primaryKey',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
secondary_key: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'secondaryKey',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
data/lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/spatial_anchors_account_list.rb
ADDED
@@ -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::V2019_02_28_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Result of the request to get resource collection. It contains a list of
|
10
|
+
# resources and a URL link to get the next set of results.
|
11
|
+
#
|
12
|
+
class SpatialAnchorsAccountList
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [Array<SpatialAnchorsAccount>] List of resources supported by
|
18
|
+
# the Resource Provider.
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
# @return [String] URL to get the next set of resource 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<SpatialAnchorsAccount>] operation results.
|
32
|
+
#
|
33
|
+
def get_all_items
|
34
|
+
items = @value
|
35
|
+
page = self
|
36
|
+
while page.next_link != nil 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 [SpatialAnchorsAccountList] 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 SpatialAnchorsAccountList 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: 'SpatialAnchorsAccountList',
|
66
|
+
type: {
|
67
|
+
name: 'Composite',
|
68
|
+
class_name: 'SpatialAnchorsAccountList',
|
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: 'SpatialAnchorsAccountElementType',
|
80
|
+
type: {
|
81
|
+
name: 'Composite',
|
82
|
+
class_name: 'SpatialAnchorsAccount'
|
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
|
@@ -0,0 +1,92 @@
|
|
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::V2019_02_28_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The resource model definition for a ARM tracked top level resource
|
10
|
+
#
|
11
|
+
class TrackedResource < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] Resource tags.
|
16
|
+
attr_accessor :tags
|
17
|
+
|
18
|
+
# @return [String] The geo-location where the resource lives
|
19
|
+
attr_accessor :location
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for TrackedResource 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: 'TrackedResource',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'TrackedResource',
|
34
|
+
model_properties: {
|
35
|
+
id: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
read_only: true,
|
39
|
+
serialized_name: 'id',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
name: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'name',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
type: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'type',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
tags: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'tags',
|
66
|
+
type: {
|
67
|
+
name: 'Dictionary',
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'StringElementType',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
},
|
78
|
+
location: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: true,
|
81
|
+
serialized_name: 'location',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|