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,6 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require '2019-02-28-preview/generated/azure_mgmt_mixedreality'
|
6
|
+
require 'profiles/latest/mixedreality_latest_profile_client'
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
module Azure end
|
6
|
+
module Azure::MixedReality end
|
7
|
+
module Azure::MixedReality::Mgmt end
|
8
|
+
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require 'profiles/latest/mixedreality_module_definition'
|
6
|
+
require 'profiles/latest/modules/mixedreality_profile_module'
|
7
|
+
|
8
|
+
module Azure::MixedReality::Profiles::Latest
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the Latest profile SDK.
|
12
|
+
#
|
13
|
+
class Client < MixedRealityManagementClass
|
14
|
+
include MsRestAzure::Common::Configurable
|
15
|
+
|
16
|
+
#
|
17
|
+
# Initializes a new instance of the Client class.
|
18
|
+
# @param options [Hash] hash of client options.
|
19
|
+
# options = {
|
20
|
+
# tenant_id: 'YOUR TENANT ID',
|
21
|
+
# client_id: 'YOUR CLIENT ID',
|
22
|
+
# client_secret: 'YOUR CLIENT SECRET',
|
23
|
+
# subscription_id: 'YOUR SUBSCRIPTION ID',
|
24
|
+
# credentials: credentials,
|
25
|
+
# active_directory_settings: active_directory_settings,
|
26
|
+
# base_url: 'YOUR BASE URL',
|
27
|
+
# options: options
|
28
|
+
# }
|
29
|
+
# 'credentials' are optional and if not passed in the hash, will be obtained
|
30
|
+
# from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
|
31
|
+
#
|
32
|
+
# Also, base_url, active_directory_settings & options are optional.
|
33
|
+
#
|
34
|
+
def initialize(options = {})
|
35
|
+
super(options)
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
module Azure end
|
6
|
+
module Azure::MixedReality end
|
7
|
+
module Azure::MixedReality::Profiles end
|
8
|
+
module Azure::MixedReality::Profiles::Latest end
|
@@ -0,0 +1,127 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require 'azure_mgmt_mixedreality'
|
6
|
+
|
7
|
+
module Azure::MixedReality::Profiles::Latest
|
8
|
+
module Mgmt
|
9
|
+
Operations = Azure::MixedReality::Mgmt::V2019_02_28_preview::Operations
|
10
|
+
SpatialAnchorsAccounts = Azure::MixedReality::Mgmt::V2019_02_28_preview::SpatialAnchorsAccounts
|
11
|
+
|
12
|
+
module Models
|
13
|
+
SpatialAnchorsAccountKeys = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::SpatialAnchorsAccountKeys
|
14
|
+
CheckNameAvailabilityRequest = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::CheckNameAvailabilityRequest
|
15
|
+
SpatialAnchorsAccountKeyRegenerateRequest = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::SpatialAnchorsAccountKeyRegenerateRequest
|
16
|
+
ErrorResponse = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::ErrorResponse
|
17
|
+
SpatialAnchorsAccountList = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::SpatialAnchorsAccountList
|
18
|
+
Operation = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::Operation
|
19
|
+
OperationDisplay = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::OperationDisplay
|
20
|
+
OperationList = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::OperationList
|
21
|
+
CheckNameAvailabilityResponse = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::CheckNameAvailabilityResponse
|
22
|
+
Resource = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::Resource
|
23
|
+
SpatialAnchorsAccount = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::SpatialAnchorsAccount
|
24
|
+
ProxyResource = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::ProxyResource
|
25
|
+
AzureEntityResource = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::AzureEntityResource
|
26
|
+
TrackedResource = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::TrackedResource
|
27
|
+
NameAvailability = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::NameAvailability
|
28
|
+
NameUnavailableReason = Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::NameUnavailableReason
|
29
|
+
end
|
30
|
+
|
31
|
+
#
|
32
|
+
# MixedRealityManagementClass
|
33
|
+
#
|
34
|
+
class MixedRealityManagementClass
|
35
|
+
attr_reader :operations, :spatial_anchors_accounts, :configurable, :base_url, :options, :model_classes
|
36
|
+
|
37
|
+
def initialize(options = {})
|
38
|
+
if options.is_a?(Hash) && options.length == 0
|
39
|
+
@options = setup_default_options
|
40
|
+
else
|
41
|
+
@options = options
|
42
|
+
end
|
43
|
+
|
44
|
+
reset!(options)
|
45
|
+
|
46
|
+
@configurable = self
|
47
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
48
|
+
@options = options[:options].nil? ? nil:options[:options]
|
49
|
+
|
50
|
+
@client_0 = Azure::MixedReality::Mgmt::V2019_02_28_preview::MixedRealityClient.new(configurable.credentials, base_url, options)
|
51
|
+
if(@client_0.respond_to?(:subscription_id))
|
52
|
+
@client_0.subscription_id = configurable.subscription_id
|
53
|
+
end
|
54
|
+
add_telemetry(@client_0)
|
55
|
+
@operations = @client_0.operations
|
56
|
+
@spatial_anchors_accounts = @client_0.spatial_anchors_accounts
|
57
|
+
|
58
|
+
@model_classes = ModelClasses.new
|
59
|
+
end
|
60
|
+
|
61
|
+
def add_telemetry(client)
|
62
|
+
profile_information = 'Profiles/Latest/MixedReality/Mgmt'
|
63
|
+
client.add_user_agent_information(profile_information)
|
64
|
+
end
|
65
|
+
|
66
|
+
def method_missing(method, *args)
|
67
|
+
if @client_0.respond_to?method
|
68
|
+
@client_0.send(method, *args)
|
69
|
+
else
|
70
|
+
super
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
75
|
+
|
76
|
+
class ModelClasses
|
77
|
+
def spatial_anchors_account_keys
|
78
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::SpatialAnchorsAccountKeys
|
79
|
+
end
|
80
|
+
def check_name_availability_request
|
81
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::CheckNameAvailabilityRequest
|
82
|
+
end
|
83
|
+
def spatial_anchors_account_key_regenerate_request
|
84
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::SpatialAnchorsAccountKeyRegenerateRequest
|
85
|
+
end
|
86
|
+
def error_response
|
87
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::ErrorResponse
|
88
|
+
end
|
89
|
+
def spatial_anchors_account_list
|
90
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::SpatialAnchorsAccountList
|
91
|
+
end
|
92
|
+
def operation
|
93
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::Operation
|
94
|
+
end
|
95
|
+
def operation_display
|
96
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::OperationDisplay
|
97
|
+
end
|
98
|
+
def operation_list
|
99
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::OperationList
|
100
|
+
end
|
101
|
+
def check_name_availability_response
|
102
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::CheckNameAvailabilityResponse
|
103
|
+
end
|
104
|
+
def resource
|
105
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::Resource
|
106
|
+
end
|
107
|
+
def spatial_anchors_account
|
108
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::SpatialAnchorsAccount
|
109
|
+
end
|
110
|
+
def proxy_resource
|
111
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::ProxyResource
|
112
|
+
end
|
113
|
+
def azure_entity_resource
|
114
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::AzureEntityResource
|
115
|
+
end
|
116
|
+
def tracked_resource
|
117
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::TrackedResource
|
118
|
+
end
|
119
|
+
def name_availability
|
120
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::NameAvailability
|
121
|
+
end
|
122
|
+
def name_unavailable_reason
|
123
|
+
Azure::MixedReality::Mgmt::V2019_02_28_preview::Models::NameUnavailableReason
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|
data/lib/version.rb
ADDED
metadata
ADDED
@@ -0,0 +1,147 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: azure_mgmt_mixedreality
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.17.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Microsoft Corporation
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-02-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: dotenv
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: ms_rest_azure
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.11.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.11.0
|
83
|
+
description: Microsoft Azure Mixed Reality Management Client Library for Ruby
|
84
|
+
email: azrubyteam@microsoft.com
|
85
|
+
executables: []
|
86
|
+
extensions: []
|
87
|
+
extra_rdoc_files: []
|
88
|
+
files:
|
89
|
+
- LICENSE.txt
|
90
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality.rb
|
91
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/mixed_reality_client.rb
|
92
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/azure_entity_resource.rb
|
93
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/check_name_availability_request.rb
|
94
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/check_name_availability_response.rb
|
95
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/error_response.rb
|
96
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/name_availability.rb
|
97
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/name_unavailable_reason.rb
|
98
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/operation.rb
|
99
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/operation_display.rb
|
100
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/operation_list.rb
|
101
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/proxy_resource.rb
|
102
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/resource.rb
|
103
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/spatial_anchors_account.rb
|
104
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/spatial_anchors_account_key_regenerate_request.rb
|
105
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/spatial_anchors_account_keys.rb
|
106
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/spatial_anchors_account_list.rb
|
107
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/models/tracked_resource.rb
|
108
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/module_definition.rb
|
109
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/operations.rb
|
110
|
+
- lib/2019-02-28-preview/generated/azure_mgmt_mixedreality/spatial_anchors_accounts.rb
|
111
|
+
- lib/azure_mgmt_mixedreality.rb
|
112
|
+
- lib/module_definition.rb
|
113
|
+
- lib/profiles/latest/mixedreality_latest_profile_client.rb
|
114
|
+
- lib/profiles/latest/mixedreality_module_definition.rb
|
115
|
+
- lib/profiles/latest/modules/mixedreality_profile_module.rb
|
116
|
+
- lib/version.rb
|
117
|
+
homepage: https://aka.ms/azure-sdk-for-ruby
|
118
|
+
licenses:
|
119
|
+
- MIT
|
120
|
+
metadata:
|
121
|
+
bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
|
122
|
+
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
123
|
+
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
124
|
+
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
125
|
+
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_mixedreality
|
126
|
+
post_install_message:
|
127
|
+
rdoc_options: []
|
128
|
+
require_paths:
|
129
|
+
- lib
|
130
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: 2.0.0
|
135
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
requirements: []
|
141
|
+
rubyforge_project:
|
142
|
+
rubygems_version: 2.5.1
|
143
|
+
signing_key:
|
144
|
+
specification_version: 4
|
145
|
+
summary: Official Ruby client library to consume Microsoft Azure Mixed Reality Management
|
146
|
+
services.
|
147
|
+
test_files: []
|