Class: Falcon::D4cRegistrationApi
- Inherits:
-
Object
- Object
- Falcon::D4cRegistrationApi
- Defined in:
- lib/crimson-falcon/api/d4c_registration_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#connect_d4_cgcp_account(body, opts = {}) ⇒ RegistrationGCPAccountResponseExtV2
Creates a new GCP account with newly-uploaded service account or connects with existing service account with only the following fields: parent_id, parent_type and service_account_id.
-
#connect_d4_cgcp_account_with_http_info(body, opts = {}) ⇒ Array<(RegistrationGCPAccountResponseExtV2, Integer, Hash)>
Creates a new GCP account with newly-uploaded service account or connects with existing service account with only the following fields: parent_id, parent_type and service_account_id.
-
#create_d4_c_aws_account(body, opts = {}) ⇒ RegistrationAWSAccountResponseV2
Creates a new account in our system for a customer and generates a script for them to run in their AWS cloud environment to grant us access.
-
#create_d4_c_aws_account_with_http_info(body, opts = {}) ⇒ Array<(RegistrationAWSAccountResponseV2, Integer, Hash)>
Creates a new account in our system for a customer and generates a script for them to run in their AWS cloud environment to grant us access.
-
#create_d4_cgcp_account(body, opts = {}) ⇒ RegistrationGCPAccountResponseV1
Creates a new account in our system for a customer and generates a new service account for them to add access to in their GCP environment to grant us access.
-
#create_d4_cgcp_account_with_http_info(body, opts = {}) ⇒ Array<(RegistrationGCPAccountResponseV1, Integer, Hash)>
Creates a new account in our system for a customer and generates a new service account for them to add access to in their GCP environment to grant us access.
-
#create_discover_cloud_azure_account(body, opts = {}) ⇒ RegistrationAzureAccountResponseV1
Creates a new account in our system for a customer and generates a script for them to run in their cloud environment to grant us access.
-
#create_discover_cloud_azure_account_with_http_info(body, opts = {}) ⇒ Array<(RegistrationAzureAccountResponseV1, Integer, Hash)>
Creates a new account in our system for a customer and generates a script for them to run in their cloud environment to grant us access.
-
#delete_d4_c_aws_account(opts = {}) ⇒ MsaBaseEntitiesResponse
Deletes an existing AWS account or organization in our system.
-
#delete_d4_c_aws_account_with_http_info(opts = {}) ⇒ Array<(MsaBaseEntitiesResponse, Integer, Hash)>
Deletes an existing AWS account or organization in our system.
-
#delete_d4_cgcp_account(opts = {}) ⇒ MsaBaseEntitiesResponse
Deletes a GCP account from the system.
-
#delete_d4_cgcp_account_with_http_info(opts = {}) ⇒ Array<(MsaBaseEntitiesResponse, Integer, Hash)>
Deletes a GCP account from the system.
-
#discover_cloud_azure_download_certificate(tenant_id, opts = {}) ⇒ RegistrationAzureDownloadCertificateResponseV1
Returns JSON object(s) that contain the base64 encoded certificate for a service principal.
-
#discover_cloud_azure_download_certificate_with_http_info(tenant_id, opts = {}) ⇒ Array<(RegistrationAzureDownloadCertificateResponseV1, Integer, Hash)>
Returns JSON object(s) that contain the base64 encoded certificate for a service principal.
-
#get_d4_c_aws_account(opts = {}) ⇒ RegistrationAWSAccountResponseV2
Returns information about the current status of an AWS account.
-
#get_d4_c_aws_account_with_http_info(opts = {}) ⇒ Array<(RegistrationAWSAccountResponseV2, Integer, Hash)>
Returns information about the current status of an AWS account.
-
#get_d4_c_aws_console_setup_urls(opts = {}) ⇒ RegistrationAWSAccountConsoleURL
Return a URL for customer to visit in their cloud environment to grant us access to their AWS environment.
-
#get_d4_c_aws_console_setup_urls_with_http_info(opts = {}) ⇒ Array<(RegistrationAWSAccountConsoleURL, Integer, Hash)>
Return a URL for customer to visit in their cloud environment to grant us access to their AWS environment.
-
#get_d4_caws_account_scripts_attachment(opts = {}) ⇒ RegistrationAWSProvisionGetAccountScriptResponseV2
Return a script for customer to run in their cloud environment to grant us access to their AWS environment as a downloadable attachment.
-
#get_d4_caws_account_scripts_attachment_with_http_info(opts = {}) ⇒ Array<(RegistrationAWSProvisionGetAccountScriptResponseV2, Integer, Hash)>
Return a script for customer to run in their cloud environment to grant us access to their AWS environment as a downloadable attachment.
-
#get_d4_ccgp_account(opts = {}) ⇒ RegistrationGCPAccountResponseV1
Returns information about the current status of an GCP account.
-
#get_d4_ccgp_account_with_http_info(opts = {}) ⇒ Array<(RegistrationGCPAccountResponseV1, Integer, Hash)>
Returns information about the current status of an GCP account.
-
#get_d4_cgcp_service_accounts_ext(opts = {}) ⇒ RegistrationGCPServiceAccountResponseExtV1
Returns the service account id and client email for external clients.
-
#get_d4_cgcp_service_accounts_ext_with_http_info(opts = {}) ⇒ Array<(RegistrationGCPServiceAccountResponseExtV1, Integer, Hash)>
Returns the service account id and client email for external clients.
-
#get_d4_cgcp_user_scripts(opts = {}) ⇒ RegistrationGCPProvisionGetUserScriptResponseV1
Return a script for customer to run in their cloud environment to grant us access to their GCP environment.
-
#get_d4_cgcp_user_scripts_attachment(opts = {}) ⇒ RegistrationGCPProvisionGetUserScriptResponseV1
Return a script for customer to run in their cloud environment to grant us access to their GCP environment as a downloadable attachment.
-
#get_d4_cgcp_user_scripts_attachment_with_http_info(opts = {}) ⇒ Array<(RegistrationGCPProvisionGetUserScriptResponseV1, Integer, Hash)>
Return a script for customer to run in their cloud environment to grant us access to their GCP environment as a downloadable attachment.
-
#get_d4_cgcp_user_scripts_with_http_info(opts = {}) ⇒ Array<(RegistrationGCPProvisionGetUserScriptResponseV1, Integer, Hash)>
Return a script for customer to run in their cloud environment to grant us access to their GCP environment.
-
#get_discover_cloud_azure_account(opts = {}) ⇒ RegistrationAzureAccountResponseV1
Return information about Azure account registration.
-
#get_discover_cloud_azure_account_with_http_info(opts = {}) ⇒ Array<(RegistrationAzureAccountResponseV1, Integer, Hash)>
Return information about Azure account registration.
-
#get_discover_cloud_azure_tenant_ids(opts = {}) ⇒ RegistrationAzureTenantIDsResponseV1
Return available tenant ids for discover for cloud.
-
#get_discover_cloud_azure_tenant_ids_with_http_info(opts = {}) ⇒ Array<(RegistrationAzureTenantIDsResponseV1, Integer, Hash)>
Return available tenant ids for discover for cloud.
-
#get_discover_cloud_azure_user_scripts(opts = {}) ⇒ RegistrationAzureProvisionGetUserScriptResponseV1
Return a script for customer to run in their cloud environment to grant us access to their Azure environment.
-
#get_discover_cloud_azure_user_scripts_attachment(tenant_id, opts = {}) ⇒ RegistrationAzureProvisionGetUserScriptResponseV1
Return a script for customer to run in their cloud environment to grant us access to their Azure environment as a downloadable attachment.
-
#get_discover_cloud_azure_user_scripts_attachment_with_http_info(tenant_id, opts = {}) ⇒ Array<(RegistrationAzureProvisionGetUserScriptResponseV1, Integer, Hash)>
Return a script for customer to run in their cloud environment to grant us access to their Azure environment as a downloadable attachment.
-
#get_discover_cloud_azure_user_scripts_with_http_info(opts = {}) ⇒ Array<(RegistrationAzureProvisionGetUserScriptResponseV1, Integer, Hash)>
Return a script for customer to run in their cloud environment to grant us access to their Azure environment.
-
#get_horizon_d4_c_scripts(opts = {}) ⇒ RegistrationStaticScriptsResponse
Returns static install scripts for Horizon.
-
#get_horizon_d4_c_scripts_with_http_info(opts = {}) ⇒ Array<(RegistrationStaticScriptsResponse, Integer, Hash)>
Returns static install scripts for Horizon.
-
#initialize(api_client = ApiClient.default) ⇒ D4cRegistrationApi
constructor
A new instance of D4cRegistrationApi.
-
#update_discover_cloud_azure_account_client_id(id, opts = {}) ⇒ RegistrationAzureTenantConfigurationResponseV1
Update an Azure service account in our system by with the user-created client_id created with the public key we’ve provided.
-
#update_discover_cloud_azure_account_client_id_with_http_info(id, opts = {}) ⇒ Array<(RegistrationAzureTenantConfigurationResponseV1, Integer, Hash)>
Update an Azure service account in our system by with the user-created client_id created with the public key we've provided.
Constructor Details
#initialize(api_client = ApiClient.default) ⇒ D4cRegistrationApi
Returns a new instance of D4cRegistrationApi.
36 37 38 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 36 def initialize(api_client = ApiClient.default) @api_client = api_client end |
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
34 35 36 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 34 def api_client @api_client end |
Instance Method Details
#connect_d4_cgcp_account(body, opts = {}) ⇒ RegistrationGCPAccountResponseExtV2
Creates a new GCP account with newly-uploaded service account or connects with existing service account with only the following fields: parent_id, parent_type and service_account_id
43 44 45 46 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 43 def connect_d4_cgcp_account(body, opts = {}) data, _status_code, _headers = connect_d4_cgcp_account_with_http_info(body, opts) data end |
#connect_d4_cgcp_account_with_http_info(body, opts = {}) ⇒ Array<(RegistrationGCPAccountResponseExtV2, Integer, Hash)>
Creates a new GCP account with newly-uploaded service account or connects with existing service account with only the following fields: parent_id, parent_type and service_account_id
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 52 def connect_d4_cgcp_account_with_http_info(body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.connect_d4_cgcp_account ...' end # verify the required parameter 'body' is set if @api_client.config.client_side_validation && body.nil? fail ArgumentError, "Missing the required parameter 'body' when calling D4cRegistrationApi.connect_d4_cgcp_account" end # resource path local_var_path = '/cloud-connect-gcp/entities/account/v2' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? header_params['Content-Type'] = content_type end # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] || @api_client.object_to_http_body(body) # return_type return_type = opts[:debug_return_type] || 'RegistrationGCPAccountResponseExtV2' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.connect_d4_cgcp_account", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:POST, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#connect_d4_cgcp_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_d4_c_aws_account(body, opts = {}) ⇒ RegistrationAWSAccountResponseV2
Creates a new account in our system for a customer and generates a script for them to run in their AWS cloud environment to grant us access.
109 110 111 112 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 109 def create_d4_c_aws_account(body, opts = {}) data, _status_code, _headers = create_d4_c_aws_account_with_http_info(body, opts) data end |
#create_d4_c_aws_account_with_http_info(body, opts = {}) ⇒ Array<(RegistrationAWSAccountResponseV2, Integer, Hash)>
Creates a new account in our system for a customer and generates a script for them to run in their AWS cloud environment to grant us access.
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 118 def create_d4_c_aws_account_with_http_info(body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.create_d4_c_aws_account ...' end # verify the required parameter 'body' is set if @api_client.config.client_side_validation && body.nil? fail ArgumentError, "Missing the required parameter 'body' when calling D4cRegistrationApi.create_d4_c_aws_account" end # resource path local_var_path = '/cloud-connect-aws/entities/account/v2' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? header_params['Content-Type'] = content_type end # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] || @api_client.object_to_http_body(body) # return_type return_type = opts[:debug_return_type] || 'RegistrationAWSAccountResponseV2' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.create_d4_c_aws_account", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:POST, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#create_d4_c_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_d4_cgcp_account(body, opts = {}) ⇒ RegistrationGCPAccountResponseV1
Creates a new account in our system for a customer and generates a new service account for them to add access to in their GCP environment to grant us access.
175 176 177 178 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 175 def create_d4_cgcp_account(body, opts = {}) data, _status_code, _headers = create_d4_cgcp_account_with_http_info(body, opts) data end |
#create_d4_cgcp_account_with_http_info(body, opts = {}) ⇒ Array<(RegistrationGCPAccountResponseV1, Integer, Hash)>
Creates a new account in our system for a customer and generates a new service account for them to add access to in their GCP environment to grant us access.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 184 def create_d4_cgcp_account_with_http_info(body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.create_d4_cgcp_account ...' end # verify the required parameter 'body' is set if @api_client.config.client_side_validation && body.nil? fail ArgumentError, "Missing the required parameter 'body' when calling D4cRegistrationApi.create_d4_cgcp_account" end # resource path local_var_path = '/cloud-connect-gcp/entities/account/v1' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? header_params['Content-Type'] = content_type end # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] || @api_client.object_to_http_body(body) # return_type return_type = opts[:debug_return_type] || 'RegistrationGCPAccountResponseV1' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.create_d4_cgcp_account", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:POST, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#create_d4_cgcp_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_discover_cloud_azure_account(body, opts = {}) ⇒ RegistrationAzureAccountResponseV1
Creates a new account in our system for a customer and generates a script for them to run in their cloud environment to grant us access.
241 242 243 244 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 241 def create_discover_cloud_azure_account(body, opts = {}) data, _status_code, _headers = create_discover_cloud_azure_account_with_http_info(body, opts) data end |
#create_discover_cloud_azure_account_with_http_info(body, opts = {}) ⇒ Array<(RegistrationAzureAccountResponseV1, Integer, Hash)>
Creates a new account in our system for a customer and generates a script for them to run in their cloud environment to grant us access.
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 250 def create_discover_cloud_azure_account_with_http_info(body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.create_discover_cloud_azure_account ...' end # verify the required parameter 'body' is set if @api_client.config.client_side_validation && body.nil? fail ArgumentError, "Missing the required parameter 'body' when calling D4cRegistrationApi.create_discover_cloud_azure_account" end # resource path local_var_path = '/cloud-connect-azure/entities/account/v1' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? header_params['Content-Type'] = content_type end # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] || @api_client.object_to_http_body(body) # return_type return_type = opts[:debug_return_type] || 'RegistrationAzureAccountResponseV1' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.create_discover_cloud_azure_account", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:POST, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#create_discover_cloud_azure_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#delete_d4_c_aws_account(opts = {}) ⇒ MsaBaseEntitiesResponse
Deletes an existing AWS account or organization in our system.
308 309 310 311 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 308 def delete_d4_c_aws_account(opts = {}) data, _status_code, _headers = delete_d4_c_aws_account_with_http_info(opts) data end |
#delete_d4_c_aws_account_with_http_info(opts = {}) ⇒ Array<(MsaBaseEntitiesResponse, Integer, Hash)>
Deletes an existing AWS account or organization in our system.
318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 318 def delete_d4_c_aws_account_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.delete_d4_c_aws_account ...' end # resource path local_var_path = '/cloud-connect-aws/entities/account/v2' # query parameters query_params = opts[:query_params] || {} query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil? query_params[:'organization-ids'] = @api_client.build_collection_param(opts[:'organization_ids'], :multi) if !opts[:'organization_ids'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'MsaBaseEntitiesResponse' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.delete_d4_c_aws_account", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#delete_d4_c_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#delete_d4_cgcp_account(opts = {}) ⇒ MsaBaseEntitiesResponse
Deletes a GCP account from the system.
368 369 370 371 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 368 def delete_d4_cgcp_account(opts = {}) data, _status_code, _headers = delete_d4_cgcp_account_with_http_info(opts) data end |
#delete_d4_cgcp_account_with_http_info(opts = {}) ⇒ Array<(MsaBaseEntitiesResponse, Integer, Hash)>
Deletes a GCP account from the system.
377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 377 def delete_d4_cgcp_account_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.delete_d4_cgcp_account ...' end # resource path local_var_path = '/cloud-connect-gcp/entities/account/v1' # query parameters query_params = opts[:query_params] || {} query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'MsaBaseEntitiesResponse' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.delete_d4_cgcp_account", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#delete_d4_cgcp_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#discover_cloud_azure_download_certificate(tenant_id, opts = {}) ⇒ RegistrationAzureDownloadCertificateResponseV1
Returns JSON object(s) that contain the base64 encoded certificate for a service principal.
428 429 430 431 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 428 def discover_cloud_azure_download_certificate(tenant_id, opts = {}) data, _status_code, _headers = discover_cloud_azure_download_certificate_with_http_info(tenant_id, opts) data end |
#discover_cloud_azure_download_certificate_with_http_info(tenant_id, opts = {}) ⇒ Array<(RegistrationAzureDownloadCertificateResponseV1, Integer, Hash)>
Returns JSON object(s) that contain the base64 encoded certificate for a service principal.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 439 def discover_cloud_azure_download_certificate_with_http_info(tenant_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.discover_cloud_azure_download_certificate ...' end # verify the required parameter 'tenant_id' is set if @api_client.config.client_side_validation && tenant_id.nil? fail ArgumentError, "Missing the required parameter 'tenant_id' when calling D4cRegistrationApi.discover_cloud_azure_download_certificate" end if @api_client.config.client_side_validation && !opts[:'years_valid'].nil? && opts[:'years_valid'].to_s.length > 2 fail ArgumentError, 'invalid value for "opts[:"years_valid"]" when calling D4cRegistrationApi.discover_cloud_azure_download_certificate, the character length must be smaller than or equal to 2.' end if @api_client.config.client_side_validation && !opts[:'years_valid'].nil? && opts[:'years_valid'].to_s.length < 1 fail ArgumentError, 'invalid value for "opts[:"years_valid"]" when calling D4cRegistrationApi.discover_cloud_azure_download_certificate, the character length must be great than or equal to 1.' end pattern = Regexp.new(/^[0-9]{1,2}$/) if @api_client.config.client_side_validation && !opts[:'years_valid'].nil? && opts[:'years_valid'] !~ pattern fail ArgumentError, "invalid value for 'opts[:\"years_valid\"]' when calling D4cRegistrationApi.discover_cloud_azure_download_certificate, must conform to the pattern #{pattern}." end # resource path local_var_path = '/cloud-connect-azure/entities/download-certificate/v1' # query parameters query_params = opts[:query_params] || {} query_params[:'tenant_id'] = @api_client.build_collection_param(tenant_id, :multi) query_params[:'refresh'] = opts[:'refresh'] if !opts[:'refresh'].nil? query_params[:'years_valid'] = opts[:'years_valid'] if !opts[:'years_valid'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/octet-stream']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'RegistrationAzureDownloadCertificateResponseV1' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.discover_cloud_azure_download_certificate", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#discover_cloud_azure_download_certificate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_d4_c_aws_account(opts = {}) ⇒ RegistrationAWSAccountResponseV2
Returns information about the current status of an AWS account.
513 514 515 516 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 513 def get_d4_c_aws_account(opts = {}) data, _status_code, _headers = get_d4_c_aws_account_with_http_info(opts) data end |
#get_d4_c_aws_account_with_http_info(opts = {}) ⇒ Array<(RegistrationAWSAccountResponseV2, Integer, Hash)>
Returns information about the current status of an AWS account.
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 528 def get_d4_c_aws_account_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.get_d4_c_aws_account ...' end if @api_client.config.client_side_validation && !opts[:'scan_type'].nil? && opts[:'scan_type'].to_s.length > 4 fail ArgumentError, 'invalid value for "opts[:"scan_type"]" when calling D4cRegistrationApi.get_d4_c_aws_account, the character length must be smaller than or equal to 4.' end if @api_client.config.client_side_validation && !opts[:'scan_type'].nil? && opts[:'scan_type'].to_s.length < 3 fail ArgumentError, 'invalid value for "opts[:"scan_type"]" when calling D4cRegistrationApi.get_d4_c_aws_account, the character length must be great than or equal to 3.' end pattern = Regexp.new(/^(full|dry)$/) if @api_client.config.client_side_validation && !opts[:'scan_type'].nil? && opts[:'scan_type'] !~ pattern fail ArgumentError, "invalid value for 'opts[:\"scan_type\"]' when calling D4cRegistrationApi.get_d4_c_aws_account, must conform to the pattern #{pattern}." end pattern = Regexp.new(/^(provisioned|operational)$/) if @api_client.config.client_side_validation && !opts[:'status'].nil? && opts[:'status'] !~ pattern fail ArgumentError, "invalid value for 'opts[:\"status\"]' when calling D4cRegistrationApi.get_d4_c_aws_account, must conform to the pattern #{pattern}." end allowable_values = ["true", "false"] if @api_client.config.client_side_validation && opts[:'migrated'] && !allowable_values.include?(opts[:'migrated']) fail ArgumentError, "invalid value for \"migrated\", must be one of #{allowable_values}" end # resource path local_var_path = '/cloud-connect-aws/entities/account/v2' # query parameters query_params = opts[:query_params] || {} query_params[:'scan-type'] = opts[:'scan_type'] if !opts[:'scan_type'].nil? query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil? query_params[:'organization-ids'] = @api_client.build_collection_param(opts[:'organization_ids'], :multi) if !opts[:'organization_ids'].nil? query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil? query_params[:'migrated'] = opts[:'migrated'] if !opts[:'migrated'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'RegistrationAWSAccountResponseV2' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.get_d4_c_aws_account", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#get_d4_c_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_d4_c_aws_console_setup_urls(opts = {}) ⇒ RegistrationAWSAccountConsoleURL
Return a URL for customer to visit in their cloud environment to grant us access to their AWS environment.
605 606 607 608 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 605 def get_d4_c_aws_console_setup_urls(opts = {}) data, _status_code, _headers = get_d4_c_aws_console_setup_urls_with_http_info(opts) data end |
#get_d4_c_aws_console_setup_urls_with_http_info(opts = {}) ⇒ Array<(RegistrationAWSAccountConsoleURL, Integer, Hash)>
Return a URL for customer to visit in their cloud environment to grant us access to their AWS environment.
614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 614 def get_d4_c_aws_console_setup_urls_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.get_d4_c_aws_console_setup_urls ...' end pattern = Regexp.new(/^[0-9a-z-]{2,}$/) if @api_client.config.client_side_validation && !opts[:'region'].nil? && opts[:'region'] !~ pattern fail ArgumentError, "invalid value for 'opts[:\"region\"]' when calling D4cRegistrationApi.get_d4_c_aws_console_setup_urls, must conform to the pattern #{pattern}." end # resource path local_var_path = '/cloud-connect-aws/entities/console-setup-urls/v1' # query parameters query_params = opts[:query_params] || {} query_params[:'region'] = opts[:'region'] if !opts[:'region'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'RegistrationAWSAccountConsoleURL' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.get_d4_c_aws_console_setup_urls", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#get_d4_c_aws_console_setup_urls\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_d4_caws_account_scripts_attachment(opts = {}) ⇒ RegistrationAWSProvisionGetAccountScriptResponseV2
Return a script for customer to run in their cloud environment to grant us access to their AWS environment as a downloadable attachment.
668 669 670 671 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 668 def (opts = {}) data, _status_code, _headers = (opts) data end |
#get_d4_caws_account_scripts_attachment_with_http_info(opts = {}) ⇒ Array<(RegistrationAWSProvisionGetAccountScriptResponseV2, Integer, Hash)>
Return a script for customer to run in their cloud environment to grant us access to their AWS environment as a downloadable attachment.
677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 677 def (opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.get_d4_caws_account_scripts_attachment ...' end # resource path local_var_path = '/cloud-connect-aws/entities/user-scripts-download/v1' # query parameters query_params = opts[:query_params] || {} query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/octet-stream']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'RegistrationAWSProvisionGetAccountScriptResponseV2' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.get_d4_caws_account_scripts_attachment", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#get_d4_caws_account_scripts_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_d4_ccgp_account(opts = {}) ⇒ RegistrationGCPAccountResponseV1
Returns information about the current status of an GCP account.
732 733 734 735 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 732 def get_d4_ccgp_account(opts = {}) data, _status_code, _headers = get_d4_ccgp_account_with_http_info(opts) data end |
#get_d4_ccgp_account_with_http_info(opts = {}) ⇒ Array<(RegistrationGCPAccountResponseV1, Integer, Hash)>
Returns information about the current status of an GCP account.
747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 747 def get_d4_ccgp_account_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.get_d4_ccgp_account ...' end allowable_values = ["Folder", "Organization", "Project"] if @api_client.config.client_side_validation && opts[:'parent_type'] && !allowable_values.include?(opts[:'parent_type']) fail ArgumentError, "invalid value for \"parent_type\", must be one of #{allowable_values}" end allowable_values = ["dry", "full"] if @api_client.config.client_side_validation && opts[:'scan_type'] && !allowable_values.include?(opts[:'scan_type']) fail ArgumentError, "invalid value for \"scan_type\", must be one of #{allowable_values}" end allowable_values = ["operational", "provisioned"] if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status']) fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}" end # resource path local_var_path = '/cloud-connect-gcp/entities/account/v1' # query parameters query_params = opts[:query_params] || {} query_params[:'parent_type'] = opts[:'parent_type'] if !opts[:'parent_type'].nil? query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil? query_params[:'scan-type'] = opts[:'scan_type'] if !opts[:'scan_type'].nil? query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil? query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'RegistrationGCPAccountResponseV1' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.get_d4_ccgp_account", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#get_d4_ccgp_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_d4_cgcp_service_accounts_ext(opts = {}) ⇒ RegistrationGCPServiceAccountResponseExtV1
Returns the service account id and client email for external clients.
814 815 816 817 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 814 def get_d4_cgcp_service_accounts_ext(opts = {}) data, _status_code, _headers = get_d4_cgcp_service_accounts_ext_with_http_info(opts) data end |
#get_d4_cgcp_service_accounts_ext_with_http_info(opts = {}) ⇒ Array<(RegistrationGCPServiceAccountResponseExtV1, Integer, Hash)>
Returns the service account id and client email for external clients.
823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 823 def get_d4_cgcp_service_accounts_ext_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.get_d4_cgcp_service_accounts_ext ...' end pattern = Regexp.new(/^\d+$/) if @api_client.config.client_side_validation && !opts[:'id'].nil? && opts[:'id'] !~ pattern fail ArgumentError, "invalid value for 'opts[:\"id\"]' when calling D4cRegistrationApi.get_d4_cgcp_service_accounts_ext, must conform to the pattern #{pattern}." end # resource path local_var_path = '/cloud-connect-gcp/entities/service-accounts/v1' # query parameters query_params = opts[:query_params] || {} query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'RegistrationGCPServiceAccountResponseExtV1' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.get_d4_cgcp_service_accounts_ext", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#get_d4_cgcp_service_accounts_ext\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_d4_cgcp_user_scripts(opts = {}) ⇒ RegistrationGCPProvisionGetUserScriptResponseV1
Return a script for customer to run in their cloud environment to grant us access to their GCP environment
877 878 879 880 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 877 def get_d4_cgcp_user_scripts(opts = {}) data, _status_code, _headers = get_d4_cgcp_user_scripts_with_http_info(opts) data end |
#get_d4_cgcp_user_scripts_attachment(opts = {}) ⇒ RegistrationGCPProvisionGetUserScriptResponseV1
Return a script for customer to run in their cloud environment to grant us access to their GCP environment as a downloadable attachment
941 942 943 944 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 941 def (opts = {}) data, _status_code, _headers = (opts) data end |
#get_d4_cgcp_user_scripts_attachment_with_http_info(opts = {}) ⇒ Array<(RegistrationGCPProvisionGetUserScriptResponseV1, Integer, Hash)>
Return a script for customer to run in their cloud environment to grant us access to their GCP environment as a downloadable attachment
952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 952 def (opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.get_d4_cgcp_user_scripts_attachment ...' end allowable_values = ["Folder", "Organization", "Project"] if @api_client.config.client_side_validation && opts[:'parent_type'] && !allowable_values.include?(opts[:'parent_type']) fail ArgumentError, "invalid value for \"parent_type\", must be one of #{allowable_values}" end allowable_values = ["operational", "provisioned"] if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status']) fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}" end # resource path local_var_path = '/cloud-connect-gcp/entities/user-scripts-download/v1' # query parameters query_params = opts[:query_params] || {} query_params[:'parent_type'] = opts[:'parent_type'] if !opts[:'parent_type'].nil? query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil? query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/octet-stream']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'RegistrationGCPProvisionGetUserScriptResponseV1' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.get_d4_cgcp_user_scripts_attachment", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#get_d4_cgcp_user_scripts_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_d4_cgcp_user_scripts_with_http_info(opts = {}) ⇒ Array<(RegistrationGCPProvisionGetUserScriptResponseV1, Integer, Hash)>
Return a script for customer to run in their cloud environment to grant us access to their GCP environment
886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 886 def get_d4_cgcp_user_scripts_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.get_d4_cgcp_user_scripts ...' end allowable_values = ["Folder", "Organization", "Project"] if @api_client.config.client_side_validation && opts[:'parent_type'] && !allowable_values.include?(opts[:'parent_type']) fail ArgumentError, "invalid value for \"parent_type\", must be one of #{allowable_values}" end # resource path local_var_path = '/cloud-connect-gcp/entities/user-scripts/v1' # query parameters query_params = opts[:query_params] || {} query_params[:'parent_type'] = opts[:'parent_type'] if !opts[:'parent_type'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'RegistrationGCPProvisionGetUserScriptResponseV1' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.get_d4_cgcp_user_scripts", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#get_d4_cgcp_user_scripts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_discover_cloud_azure_account(opts = {}) ⇒ RegistrationAzureAccountResponseV1
Return information about Azure account registration
1016 1017 1018 1019 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 1016 def get_discover_cloud_azure_account(opts = {}) data, _status_code, _headers = get_discover_cloud_azure_account_with_http_info(opts) data end |
#get_discover_cloud_azure_account_with_http_info(opts = {}) ⇒ Array<(RegistrationAzureAccountResponseV1, Integer, Hash)>
Return information about Azure account registration
1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 1030 def get_discover_cloud_azure_account_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.get_discover_cloud_azure_account ...' end if @api_client.config.client_side_validation && !opts[:'scan_type'].nil? && opts[:'scan_type'].to_s.length > 4 fail ArgumentError, 'invalid value for "opts[:"scan_type"]" when calling D4cRegistrationApi.get_discover_cloud_azure_account, the character length must be smaller than or equal to 4.' end if @api_client.config.client_side_validation && !opts[:'scan_type'].nil? && opts[:'scan_type'].to_s.length < 3 fail ArgumentError, 'invalid value for "opts[:"scan_type"]" when calling D4cRegistrationApi.get_discover_cloud_azure_account, the character length must be great than or equal to 3.' end pattern = Regexp.new(/^(full|dry)$/) if @api_client.config.client_side_validation && !opts[:'scan_type'].nil? && opts[:'scan_type'] !~ pattern fail ArgumentError, "invalid value for 'opts[:\"scan_type\"]' when calling D4cRegistrationApi.get_discover_cloud_azure_account, must conform to the pattern #{pattern}." end pattern = Regexp.new(/^(provisioned|operational)$/) if @api_client.config.client_side_validation && !opts[:'status'].nil? && opts[:'status'] !~ pattern fail ArgumentError, "invalid value for 'opts[:\"status\"]' when calling D4cRegistrationApi.get_discover_cloud_azure_account, must conform to the pattern #{pattern}." end # resource path local_var_path = '/cloud-connect-azure/entities/account/v1' # query parameters query_params = opts[:query_params] || {} query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil? query_params[:'tenant_ids'] = @api_client.build_collection_param(opts[:'tenant_ids'], :multi) if !opts[:'tenant_ids'].nil? query_params[:'scan-type'] = opts[:'scan_type'] if !opts[:'scan_type'].nil? query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'RegistrationAzureAccountResponseV1' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.get_discover_cloud_azure_account", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#get_discover_cloud_azure_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_discover_cloud_azure_tenant_ids(opts = {}) ⇒ RegistrationAzureTenantIDsResponseV1
Return available tenant ids for discover for cloud
1101 1102 1103 1104 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 1101 def get_discover_cloud_azure_tenant_ids(opts = {}) data, _status_code, _headers = get_discover_cloud_azure_tenant_ids_with_http_info(opts) data end |
#get_discover_cloud_azure_tenant_ids_with_http_info(opts = {}) ⇒ Array<(RegistrationAzureTenantIDsResponseV1, Integer, Hash)>
Return available tenant ids for discover for cloud
1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 1109 def get_discover_cloud_azure_tenant_ids_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.get_discover_cloud_azure_tenant_ids ...' end # resource path local_var_path = '/cloud-connect-azure/entities/tenant-id/v1' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'RegistrationAzureTenantIDsResponseV1' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.get_discover_cloud_azure_tenant_ids", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#get_discover_cloud_azure_tenant_ids\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_discover_cloud_azure_user_scripts(opts = {}) ⇒ RegistrationAzureProvisionGetUserScriptResponseV1
Return a script for customer to run in their cloud environment to grant us access to their Azure environment
1156 1157 1158 1159 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 1156 def get_discover_cloud_azure_user_scripts(opts = {}) data, _status_code, _headers = get_discover_cloud_azure_user_scripts_with_http_info(opts) data end |
#get_discover_cloud_azure_user_scripts_attachment(tenant_id, opts = {}) ⇒ RegistrationAzureProvisionGetUserScriptResponseV1
Return a script for customer to run in their cloud environment to grant us access to their Azure environment as a downloadable attachment
1215 1216 1217 1218 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 1215 def (tenant_id, opts = {}) data, _status_code, _headers = (tenant_id, opts) data end |
#get_discover_cloud_azure_user_scripts_attachment_with_http_info(tenant_id, opts = {}) ⇒ Array<(RegistrationAzureProvisionGetUserScriptResponseV1, Integer, Hash)>
Return a script for customer to run in their cloud environment to grant us access to their Azure environment as a downloadable attachment
1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 1227 def (tenant_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.get_discover_cloud_azure_user_scripts_attachment ...' end # verify the required parameter 'tenant_id' is set if @api_client.config.client_side_validation && tenant_id.nil? fail ArgumentError, "Missing the required parameter 'tenant_id' when calling D4cRegistrationApi.get_discover_cloud_azure_user_scripts_attachment" end # resource path local_var_path = '/cloud-connect-azure/entities/user-scripts-download/v1' # query parameters query_params = opts[:query_params] || {} query_params[:'tenant-id'] = @api_client.build_collection_param(tenant_id, :csv) query_params[:'subscription_ids'] = @api_client.build_collection_param(opts[:'subscription_ids'], :csv) if !opts[:'subscription_ids'].nil? query_params[:'template'] = opts[:'template'] if !opts[:'template'].nil? query_params[:'azure_management_group'] = opts[:'azure_management_group'] if !opts[:'azure_management_group'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/octet-stream']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'RegistrationAzureProvisionGetUserScriptResponseV1' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.get_discover_cloud_azure_user_scripts_attachment", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#get_discover_cloud_azure_user_scripts_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_discover_cloud_azure_user_scripts_with_http_info(opts = {}) ⇒ Array<(RegistrationAzureProvisionGetUserScriptResponseV1, Integer, Hash)>
Return a script for customer to run in their cloud environment to grant us access to their Azure environment
1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 1164 def get_discover_cloud_azure_user_scripts_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.get_discover_cloud_azure_user_scripts ...' end # resource path local_var_path = '/cloud-connect-azure/entities/user-scripts/v1' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'RegistrationAzureProvisionGetUserScriptResponseV1' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.get_discover_cloud_azure_user_scripts", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#get_discover_cloud_azure_user_scripts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_horizon_d4_c_scripts(opts = {}) ⇒ RegistrationStaticScriptsResponse
Returns static install scripts for Horizon.
1286 1287 1288 1289 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 1286 def get_horizon_d4_c_scripts(opts = {}) data, _status_code, _headers = get_horizon_d4_c_scripts_with_http_info(opts) data end |
#get_horizon_d4_c_scripts_with_http_info(opts = {}) ⇒ Array<(RegistrationStaticScriptsResponse, Integer, Hash)>
Returns static install scripts for Horizon.
1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 1298 def get_horizon_d4_c_scripts_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.get_horizon_d4_c_scripts ...' end allowable_values = ["false", "true"] if @api_client.config.client_side_validation && opts[:'single_account'] && !allowable_values.include?(opts[:'single_account']) fail ArgumentError, "invalid value for \"single_account\", must be one of #{allowable_values}" end pattern = Regexp.new(/^(true|false)$/) if @api_client.config.client_side_validation && !opts[:'single_account'].nil? && opts[:'single_account'] !~ pattern fail ArgumentError, "invalid value for 'opts[:\"single_account\"]' when calling D4cRegistrationApi.get_horizon_d4_c_scripts, must conform to the pattern #{pattern}." end pattern = Regexp.new(/^o-[0-9a-z]{10,32}$/) if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ pattern fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling D4cRegistrationApi.get_horizon_d4_c_scripts, must conform to the pattern #{pattern}." end allowable_values = ["false", "true"] if @api_client.config.client_side_validation && opts[:'delete'] && !allowable_values.include?(opts[:'delete']) fail ArgumentError, "invalid value for \"delete\", must be one of #{allowable_values}" end pattern = Regexp.new(/^(true|false)$/) if @api_client.config.client_side_validation && !opts[:'delete'].nil? && opts[:'delete'] !~ pattern fail ArgumentError, "invalid value for 'opts[:\"delete\"]' when calling D4cRegistrationApi.get_horizon_d4_c_scripts, must conform to the pattern #{pattern}." end allowable_values = ["commercial", "gov"] if @api_client.config.client_side_validation && opts[:'account_type'] && !allowable_values.include?(opts[:'account_type']) fail ArgumentError, "invalid value for \"account_type\", must be one of #{allowable_values}" end pattern = Regexp.new(/^(commercial|gov)$/) if @api_client.config.client_side_validation && !opts[:'account_type'].nil? && opts[:'account_type'] !~ pattern fail ArgumentError, "invalid value for 'opts[:\"account_type\"]' when calling D4cRegistrationApi.get_horizon_d4_c_scripts, must conform to the pattern #{pattern}." end # resource path local_var_path = '/settings-discover/entities/gen/scripts/v1' # query parameters query_params = opts[:query_params] || {} query_params[:'single_account'] = opts[:'single_account'] if !opts[:'single_account'].nil? query_params[:'organization-id'] = opts[:'organization_id'] if !opts[:'organization_id'].nil? query_params[:'delete'] = opts[:'delete'] if !opts[:'delete'].nil? query_params[:'account_type'] = opts[:'account_type'] if !opts[:'account_type'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'RegistrationStaticScriptsResponse' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.get_horizon_d4_c_scripts", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#get_horizon_d4_c_scripts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#update_discover_cloud_azure_account_client_id(id, opts = {}) ⇒ RegistrationAzureTenantConfigurationResponseV1
Update an Azure service account in our system by with the user-created client_id created with the public key we’ve provided
1384 1385 1386 1387 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 1384 def update_discover_cloud_azure_account_client_id(id, opts = {}) data, _status_code, _headers = update_discover_cloud_azure_account_client_id_with_http_info(id, opts) data end |
#update_discover_cloud_azure_account_client_id_with_http_info(id, opts = {}) ⇒ Array<(RegistrationAzureTenantConfigurationResponseV1, Integer, Hash)>
Update an Azure service account in our system by with the user-created client_id created with the public key we've provided
1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 |
# File 'lib/crimson-falcon/api/d4c_registration_api.rb', line 1395 def update_discover_cloud_azure_account_client_id_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: D4cRegistrationApi.update_discover_cloud_azure_account_client_id ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling D4cRegistrationApi.update_discover_cloud_azure_account_client_id" end if @api_client.config.client_side_validation && id.to_s.length > 36 fail ArgumentError, 'invalid value for "id" when calling D4cRegistrationApi.update_discover_cloud_azure_account_client_id, the character length must be smaller than or equal to 36.' end if @api_client.config.client_side_validation && id.to_s.length < 36 fail ArgumentError, 'invalid value for "id" when calling D4cRegistrationApi.update_discover_cloud_azure_account_client_id, the character length must be great than or equal to 36.' end pattern = Regexp.new(/^[0-9a-z-]{36}$/) if @api_client.config.client_side_validation && id !~ pattern fail ArgumentError, "invalid value for 'id' when calling D4cRegistrationApi.update_discover_cloud_azure_account_client_id, must conform to the pattern #{pattern}." end if @api_client.config.client_side_validation && !opts[:'object_id'].nil? && opts[:'object_id'].to_s.length > 36 fail ArgumentError, 'invalid value for "opts[:"object_id"]" when calling D4cRegistrationApi.update_discover_cloud_azure_account_client_id, the character length must be smaller than or equal to 36.' end if @api_client.config.client_side_validation && !opts[:'object_id'].nil? && opts[:'object_id'].to_s.length < 36 fail ArgumentError, 'invalid value for "opts[:"object_id"]" when calling D4cRegistrationApi.update_discover_cloud_azure_account_client_id, the character length must be great than or equal to 36.' end pattern = Regexp.new(/^[0-9a-z-]{36}$/) if @api_client.config.client_side_validation && !opts[:'object_id'].nil? && opts[:'object_id'] !~ pattern fail ArgumentError, "invalid value for 'opts[:\"object_id\"]' when calling D4cRegistrationApi.update_discover_cloud_azure_account_client_id, must conform to the pattern #{pattern}." end if @api_client.config.client_side_validation && !opts[:'tenant_id'].nil? && opts[:'tenant_id'].to_s.length > 36 fail ArgumentError, 'invalid value for "opts[:"tenant_id"]" when calling D4cRegistrationApi.update_discover_cloud_azure_account_client_id, the character length must be smaller than or equal to 36.' end if @api_client.config.client_side_validation && !opts[:'tenant_id'].nil? && opts[:'tenant_id'].to_s.length < 36 fail ArgumentError, 'invalid value for "opts[:"tenant_id"]" when calling D4cRegistrationApi.update_discover_cloud_azure_account_client_id, the character length must be great than or equal to 36.' end pattern = Regexp.new(/^[0-9a-z-]{36}$/) if @api_client.config.client_side_validation && !opts[:'tenant_id'].nil? && opts[:'tenant_id'] !~ pattern fail ArgumentError, "invalid value for 'opts[:\"tenant_id\"]' when calling D4cRegistrationApi.update_discover_cloud_azure_account_client_id, must conform to the pattern #{pattern}." end # resource path local_var_path = '/cloud-connect-azure/entities/client-id/v1' # query parameters query_params = opts[:query_params] || {} query_params[:'id'] = id query_params[:'object_id'] = opts[:'object_id'] if !opts[:'object_id'].nil? query_params[:'tenant-id'] = opts[:'tenant_id'] if !opts[:'tenant_id'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'RegistrationAzureTenantConfigurationResponseV1' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"D4cRegistrationApi.update_discover_cloud_azure_account_client_id", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: D4cRegistrationApi#update_discover_cloud_azure_account_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |