azure_mgmt_healthcare_apis 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/2020-03-30/generated/azure_mgmt_healthcare_apis.rb +69 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/healthcare_apis_management_client.rb +147 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/azure_entity_resource.rb +77 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/check_name_availability_parameters.rb +58 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/error_details.rb +47 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/error_details_internal.rb +71 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/kind.rb +17 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/managed_service_identity_type.rb +16 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/operation.rb +73 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/operation_display.rb +83 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/operation_list_result.rb +102 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/operation_result_status.rb +19 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/operation_results_description.rb +97 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_endpoint.rb +47 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_endpoint_connection.rb +101 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_endpoint_connection_list_result.rb +57 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_endpoint_connection_provisioning_state.rb +18 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_endpoint_service_connection_status.rb +17 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_link_resource.rb +115 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_link_resource_list_result.rb +55 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_link_service_connection_state.rb +72 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/provisioning_state.rb +23 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/proxy_resource.rb +65 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/public_network_access.rb +16 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/resource.rb +86 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/service_access_policy_entry.rb +50 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/service_authentication_configuration_info.rb +68 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/service_cors_configuration_info.rb +118 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/service_cosmos_db_configuration_info.rb +62 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/service_export_configuration_info.rb +46 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/service_name_unavailability_reason.rb +16 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_description.rb +127 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_description_list_result.rb +100 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_name_availability_info.rb +73 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_patch_description.rb +67 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_properties.rb +156 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_resource.rb +142 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_resource_identity.rb +73 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/tracked_resource.rb +95 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/module_definition.rb +9 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/operation_results.rb +129 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/operations.rb +219 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/private_endpoint_connections.rb +557 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/private_link_resources.rb +233 -0
- data/lib/2020-03-30/generated/azure_mgmt_healthcare_apis/services.rb +1103 -0
- data/lib/azure_mgmt_healthcare_apis.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/healthcareapis_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/healthcareapis_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/healthcareapis_profile_module.rb +217 -0
- data/lib/version.rb +7 -0
- metadata +169 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 793100081422298070d356ce8368f91b90bf887e6c7af5e7071e8d7dfcaf8640
|
4
|
+
data.tar.gz: cec7d5a5e5f2f964ad9501127aae28035f8f383c199b95deb1f871b4caa1c8e0
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6a2e902228e67a08f41f357e450485ac7f7d31a2f92ef6960a392cdfcf2b4836114796e185df9eb30b8b9e6acb7a7e230c94c23689c66fdde1e347db8ac354bf
|
7
|
+
data.tar.gz: 07c015e446ca7d5d4ebad46102741ea9b7b6084b573675c3f8a7c21eb4182682326c689c4a170d4d29c345bb7740e95583a761fe3448f0cd1234c1de50ac0133
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Microsoft Corporation
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
@@ -0,0 +1,69 @@
|
|
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
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2020-03-30/generated/azure_mgmt_healthcare_apis/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::HealthcareApis::Mgmt::V2020_03_30
|
23
|
+
autoload :Services, '2020-03-30/generated/azure_mgmt_healthcare_apis/services.rb'
|
24
|
+
autoload :Operations, '2020-03-30/generated/azure_mgmt_healthcare_apis/operations.rb'
|
25
|
+
autoload :OperationResults, '2020-03-30/generated/azure_mgmt_healthcare_apis/operation_results.rb'
|
26
|
+
autoload :PrivateEndpointConnections, '2020-03-30/generated/azure_mgmt_healthcare_apis/private_endpoint_connections.rb'
|
27
|
+
autoload :PrivateLinkResources, '2020-03-30/generated/azure_mgmt_healthcare_apis/private_link_resources.rb'
|
28
|
+
autoload :HealthcareApisManagementClient, '2020-03-30/generated/azure_mgmt_healthcare_apis/healthcare_apis_management_client.rb'
|
29
|
+
|
30
|
+
module Models
|
31
|
+
autoload :ErrorDetails, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/error_details.rb'
|
32
|
+
autoload :ServicesDescriptionListResult, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_description_list_result.rb'
|
33
|
+
autoload :ServiceCosmosDbConfigurationInfo, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/service_cosmos_db_configuration_info.rb'
|
34
|
+
autoload :OperationDisplay, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/operation_display.rb'
|
35
|
+
autoload :ServiceCorsConfigurationInfo, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/service_cors_configuration_info.rb'
|
36
|
+
autoload :Operation, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/operation.rb'
|
37
|
+
autoload :PrivateEndpoint, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_endpoint.rb'
|
38
|
+
autoload :OperationListResult, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/operation_list_result.rb'
|
39
|
+
autoload :ServiceAuthenticationConfigurationInfo, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/service_authentication_configuration_info.rb'
|
40
|
+
autoload :ServiceExportConfigurationInfo, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/service_export_configuration_info.rb'
|
41
|
+
autoload :PrivateLinkServiceConnectionState, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_link_service_connection_state.rb'
|
42
|
+
autoload :ServicesResourceIdentity, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_resource_identity.rb'
|
43
|
+
autoload :PrivateEndpointConnectionListResult, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_endpoint_connection_list_result.rb'
|
44
|
+
autoload :ErrorDetailsInternal, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/error_details_internal.rb'
|
45
|
+
autoload :CheckNameAvailabilityParameters, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/check_name_availability_parameters.rb'
|
46
|
+
autoload :ServicesProperties, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_properties.rb'
|
47
|
+
autoload :ServicesNameAvailabilityInfo, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_name_availability_info.rb'
|
48
|
+
autoload :ServicesResource, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_resource.rb'
|
49
|
+
autoload :OperationResultsDescription, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/operation_results_description.rb'
|
50
|
+
autoload :ServicesPatchDescription, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_patch_description.rb'
|
51
|
+
autoload :PrivateLinkResourceListResult, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_link_resource_list_result.rb'
|
52
|
+
autoload :ServiceAccessPolicyEntry, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/service_access_policy_entry.rb'
|
53
|
+
autoload :Resource, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/resource.rb'
|
54
|
+
autoload :PrivateEndpointConnection, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_endpoint_connection.rb'
|
55
|
+
autoload :ServicesDescription, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_description.rb'
|
56
|
+
autoload :ProxyResource, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/proxy_resource.rb'
|
57
|
+
autoload :TrackedResource, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/tracked_resource.rb'
|
58
|
+
autoload :AzureEntityResource, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/azure_entity_resource.rb'
|
59
|
+
autoload :PrivateLinkResource, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_link_resource.rb'
|
60
|
+
autoload :ProvisioningState, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/provisioning_state.rb'
|
61
|
+
autoload :PrivateEndpointServiceConnectionStatus, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_endpoint_service_connection_status.rb'
|
62
|
+
autoload :PrivateEndpointConnectionProvisioningState, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/private_endpoint_connection_provisioning_state.rb'
|
63
|
+
autoload :PublicNetworkAccess, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/public_network_access.rb'
|
64
|
+
autoload :Kind, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/kind.rb'
|
65
|
+
autoload :ManagedServiceIdentityType, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/managed_service_identity_type.rb'
|
66
|
+
autoload :ServiceNameUnavailabilityReason, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/service_name_unavailability_reason.rb'
|
67
|
+
autoload :OperationResultStatus, '2020-03-30/generated/azure_mgmt_healthcare_apis/models/operation_result_status.rb'
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,147 @@
|
|
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::HealthcareApis::Mgmt::V2020_03_30
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class HealthcareApisManagementClient < MsRestAzure::AzureServiceClient
|
11
|
+
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
|
+
|
14
|
+
# @return [String] the base URI of the service.
|
15
|
+
attr_accessor :base_url
|
16
|
+
|
17
|
+
# @return Credentials needed for the client to connect to Azure.
|
18
|
+
attr_reader :credentials
|
19
|
+
|
20
|
+
# @return [String] The subscription identifier.
|
21
|
+
attr_accessor :subscription_id
|
22
|
+
|
23
|
+
# @return [String] Client Api Version.
|
24
|
+
attr_reader :api_version
|
25
|
+
|
26
|
+
# @return [String] The preferred language for the response.
|
27
|
+
attr_accessor :accept_language
|
28
|
+
|
29
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
30
|
+
# Operations. Default value is 30.
|
31
|
+
attr_accessor :long_running_operation_retry_timeout
|
32
|
+
|
33
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
34
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
35
|
+
# generated and included in each request. Default is true.
|
36
|
+
attr_accessor :generate_client_request_id
|
37
|
+
|
38
|
+
# @return [Services] services
|
39
|
+
attr_reader :services
|
40
|
+
|
41
|
+
# @return [Operations] operations
|
42
|
+
attr_reader :operations
|
43
|
+
|
44
|
+
# @return [OperationResults] operation_results
|
45
|
+
attr_reader :operation_results
|
46
|
+
|
47
|
+
# @return [PrivateEndpointConnections] private_endpoint_connections
|
48
|
+
attr_reader :private_endpoint_connections
|
49
|
+
|
50
|
+
# @return [PrivateLinkResources] private_link_resources
|
51
|
+
attr_reader :private_link_resources
|
52
|
+
|
53
|
+
#
|
54
|
+
# Creates initializes a new instance of the HealthcareApisManagementClient class.
|
55
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
56
|
+
# @param base_url [String] the base URI of the service.
|
57
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
58
|
+
#
|
59
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
60
|
+
super(credentials, options)
|
61
|
+
@base_url = base_url || 'https://management.azure.com'
|
62
|
+
|
63
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
64
|
+
@credentials = credentials
|
65
|
+
|
66
|
+
@services = Services.new(self)
|
67
|
+
@operations = Operations.new(self)
|
68
|
+
@operation_results = OperationResults.new(self)
|
69
|
+
@private_endpoint_connections = PrivateEndpointConnections.new(self)
|
70
|
+
@private_link_resources = PrivateLinkResources.new(self)
|
71
|
+
@api_version = '2020-03-30'
|
72
|
+
@accept_language = 'en-US'
|
73
|
+
@long_running_operation_retry_timeout = 30
|
74
|
+
@generate_client_request_id = true
|
75
|
+
add_telemetry
|
76
|
+
end
|
77
|
+
|
78
|
+
#
|
79
|
+
# Makes a request and returns the body of the response.
|
80
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
81
|
+
# @param path [String] the path, relative to {base_url}.
|
82
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
83
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
84
|
+
# Example:
|
85
|
+
#
|
86
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
87
|
+
# path = "/path"
|
88
|
+
# options = {
|
89
|
+
# body: request_content,
|
90
|
+
# query_params: {'api-version' => '2016-02-01'}
|
91
|
+
# }
|
92
|
+
# result = @client.make_request(:put, path, options)
|
93
|
+
#
|
94
|
+
def make_request(method, path, options = {})
|
95
|
+
result = make_request_with_http_info(method, path, options)
|
96
|
+
result.body unless result.nil?
|
97
|
+
end
|
98
|
+
|
99
|
+
#
|
100
|
+
# Makes a request and returns the operation response.
|
101
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
102
|
+
# @param path [String] the path, relative to {base_url}.
|
103
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
104
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
105
|
+
#
|
106
|
+
def make_request_with_http_info(method, path, options = {})
|
107
|
+
result = make_request_async(method, path, options).value!
|
108
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
109
|
+
result
|
110
|
+
end
|
111
|
+
|
112
|
+
#
|
113
|
+
# Makes a request asynchronously.
|
114
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
115
|
+
# @param path [String] the path, relative to {base_url}.
|
116
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
117
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
118
|
+
#
|
119
|
+
def make_request_async(method, path, options = {})
|
120
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
121
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
122
|
+
|
123
|
+
request_url = options[:base_url] || @base_url
|
124
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
125
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
126
|
+
end
|
127
|
+
|
128
|
+
request_headers = @request_headers
|
129
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
130
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
131
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
132
|
+
|
133
|
+
super(request_url, method, path, options)
|
134
|
+
end
|
135
|
+
|
136
|
+
|
137
|
+
private
|
138
|
+
#
|
139
|
+
# Adds telemetry information.
|
140
|
+
#
|
141
|
+
def add_telemetry
|
142
|
+
sdk_information = 'azure_mgmt_healthcare_apis'
|
143
|
+
sdk_information = "#{sdk_information}/0.17.0"
|
144
|
+
add_user_agent_information(sdk_information)
|
145
|
+
end
|
146
|
+
end
|
147
|
+
end
|
@@ -0,0 +1,77 @@
|
|
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::HealthcareApis::Mgmt::V2020_03_30
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Entity Resource
|
10
|
+
|
11
|
+
# The resource model definition for an Azure Resource Manager resource with
|
12
|
+
# an etag.
|
13
|
+
#
|
14
|
+
class AzureEntityResource < Resource
|
15
|
+
|
16
|
+
include MsRestAzure
|
17
|
+
|
18
|
+
# @return [String] Resource Etag.
|
19
|
+
attr_accessor :etag
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for AzureEntityResource 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: 'AzureEntityResource',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'AzureEntityResource',
|
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
|
+
etag: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'etag',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
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::HealthcareApis::Mgmt::V2020_03_30
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Input values.
|
10
|
+
#
|
11
|
+
class CheckNameAvailabilityParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the service instance to check.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] The fully qualified resource type which includes
|
19
|
+
# provider namespace.
|
20
|
+
attr_accessor :type
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for CheckNameAvailabilityParameters 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: 'CheckNameAvailabilityParameters',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'CheckNameAvailabilityParameters',
|
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,47 @@
|
|
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::HealthcareApis::Mgmt::V2020_03_30
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Error details.
|
10
|
+
#
|
11
|
+
class ErrorDetails
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ErrorDetailsInternal] Object containing error details.
|
16
|
+
attr_accessor :error
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ErrorDetails class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ErrorDetails',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ErrorDetails',
|
31
|
+
model_properties: {
|
32
|
+
error: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'error',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'ErrorDetailsInternal'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,71 @@
|
|
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::HealthcareApis::Mgmt::V2020_03_30
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Error details.
|
10
|
+
#
|
11
|
+
class ErrorDetailsInternal
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The error code.
|
16
|
+
attr_accessor :code
|
17
|
+
|
18
|
+
# @return [String] The error message.
|
19
|
+
attr_accessor :message
|
20
|
+
|
21
|
+
# @return [String] The target of the particular error.
|
22
|
+
attr_accessor :target
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for ErrorDetailsInternal class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'ErrorDetailsInternal',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'ErrorDetailsInternal',
|
37
|
+
model_properties: {
|
38
|
+
code: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'code',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
message: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'message',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
target: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'target',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|