How to use the ms-rest-azure.CloudError function in ms-rest-azure

To help you get started, we’ve selected a few ms-rest-azure examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azure / azure-sdk-for-node / lib / services / commerce / lib / models / index.js View on Github external
*
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */

'use strict';

var msRestAzure = require('ms-rest-azure');

exports.BaseResource = msRestAzure.BaseResource;
exports.CloudError = msRestAzure.CloudError;
exports.InfoField = require('./infoField');
exports.UsageAggregation = require('./usageAggregation');
exports.RateCardQueryParameters = require('./rateCardQueryParameters');
exports.OfferTermInfo = require('./offerTermInfo');
exports.MeterInfo = require('./meterInfo');
exports.ResourceRateCardInfo = require('./resourceRateCardInfo');
exports.MonetaryCredit = require('./monetaryCredit');
exports.MonetaryCommitment = require('./monetaryCommitment');
exports.RecurringCharge = require('./recurringCharge');
exports.ErrorResponse = require('./errorResponse');
exports.UsageAggregationListResult = require('./usageAggregationListResult');
exports.discriminators = {
  'OfferTermInfo' : exports.OfferTermInfo,
  'OfferTermInfo.Monetary Credit' : exports.MonetaryCredit,
  'OfferTermInfo.Monetary Commitment' : exports.MonetaryCommitment,
  'OfferTermInfo.Recurring Charge' : exports.RecurringCharge
github Azure / azure-sdk-for-node / lib / services / serviceMapManagement / lib / models / index.js View on Github external
*
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */

'use strict';

var msRestAzure = require('ms-rest-azure');

exports.BaseResource = msRestAzure.BaseResource;
exports.CloudError = msRestAzure.CloudError;
exports.Resource = require('./resource');
exports.ResourceReference = require('./resourceReference');
exports.MachineReference = require('./machineReference');
exports.ProcessReference = require('./processReference');
exports.PortReference = require('./portReference');
exports.MachineReferenceWithHints = require('./machineReferenceWithHints');
exports.ClientGroupReference = require('./clientGroupReference');
exports.CoreResource = require('./coreResource');
exports.Timezone = require('./timezone');
exports.AgentConfiguration = require('./agentConfiguration');
exports.MachineResourcesConfiguration = require('./machineResourcesConfiguration');
exports.Ipv4NetworkInterface = require('./ipv4NetworkInterface');
exports.Ipv6NetworkInterface = require('./ipv6NetworkInterface');
exports.NetworkConfiguration = require('./networkConfiguration');
exports.OperatingSystemConfiguration = require('./operatingSystemConfiguration');
exports.VirtualMachineConfiguration = require('./virtualMachineConfiguration');
github Azure / azure-sdk-for-node / lib / services / resourceManagement / lib / policy / models / index.js View on Github external
*
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */

'use strict';

var msRestAzure = require('ms-rest-azure');

exports.BaseResource = msRestAzure.BaseResource;
exports.CloudError = msRestAzure.CloudError;
exports.PolicySku = require('./policySku');
exports.PolicyAssignment = require('./policyAssignment');
exports.ErrorResponse = require('./errorResponse');
exports.PolicyDefinitionReference = require('./policyDefinitionReference');
exports.PolicySetDefinition = require('./policySetDefinition');
exports.PolicyDefinition = require('./policyDefinition');
exports.PolicyAssignmentListResult = require('./policyAssignmentListResult');
exports.PolicySetDefinitionListResult = require('./policySetDefinitionListResult');
exports.PolicyDefinitionListResult = require('./policyDefinitionListResult');
github Azure / azure-sdk-for-node / lib / services / dataLake.Analytics / lib / job / models / index.js View on Github external
*
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */

'use strict';

var msRestAzure = require('ms-rest-azure');

exports.BaseResource = msRestAzure.BaseResource;
exports.CloudError = msRestAzure.CloudError;
exports.JobStatisticsVertexStage = require('./jobStatisticsVertexStage');
exports.JobStatistics = require('./jobStatistics');
exports.JobDataPath = require('./jobDataPath');
exports.JobStateAuditRecord = require('./jobStateAuditRecord');
exports.JobResource = require('./jobResource');
exports.Diagnostics = require('./diagnostics');
exports.JobProperties = require('./jobProperties');
exports.USqlJobProperties = require('./uSqlJobProperties');
exports.HiveJobProperties = require('./hiveJobProperties');
exports.CreateJobProperties = require('./createJobProperties');
exports.CreateUSqlJobProperties = require('./createUSqlJobProperties');
exports.JobInnerError = require('./jobInnerError');
exports.JobErrorDetails = require('./jobErrorDetails');
exports.JobRelationshipProperties = require('./jobRelationshipProperties');
exports.JobPipelineRunInformation = require('./jobPipelineRunInformation');
exports.JobPipelineInformation = require('./jobPipelineInformation');
github Azure / azure-sdk-for-node / lib / services / databricksManagement / lib / models / index.js View on Github external
*
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */

'use strict';

var msRestAzure = require('ms-rest-azure');

exports.BaseResource = msRestAzure.BaseResource;
exports.CloudError = msRestAzure.CloudError;
exports.WorkspaceProviderAuthorization = require('./workspaceProviderAuthorization');
exports.Sku = require('./sku');
exports.Resource = require('./resource');
exports.TrackedResource = require('./trackedResource');
exports.Workspace = require('./workspace');
exports.WorkspaceUpdate = require('./workspaceUpdate');
exports.ErrorDetail = require('./errorDetail');
exports.ErrorInfo = require('./errorInfo');
exports.ErrorResponse = require('./errorResponse');
exports.OperationDisplay = require('./operationDisplay');
exports.Operation = require('./operation');
exports.WorkspaceListResult = require('./workspaceListResult');
exports.OperationListResult = require('./operationListResult');
github Azure / azure-sdk-for-node / lib / services / postgresqlManagement / lib / models / index.js View on Github external
*
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */

'use strict';

var msRestAzure = require('ms-rest-azure');

exports.BaseResource = msRestAzure.BaseResource;
exports.CloudError = msRestAzure.CloudError;
exports.ProxyResource = require('./proxyResource');
exports.TrackedResource = require('./trackedResource');
exports.StorageProfile = require('./storageProfile');
exports.ServerPropertiesForCreate = require('./serverPropertiesForCreate');
exports.ServerPropertiesForDefaultCreate = require('./serverPropertiesForDefaultCreate');
exports.ServerPropertiesForRestore = require('./serverPropertiesForRestore');
exports.ServerPropertiesForGeoRestore = require('./serverPropertiesForGeoRestore');
exports.ServerPropertiesForReplica = require('./serverPropertiesForReplica');
exports.Sku = require('./sku');
exports.Server = require('./server');
exports.ServerForCreate = require('./serverForCreate');
exports.ServerUpdateParameters = require('./serverUpdateParameters');
exports.FirewallRule = require('./firewallRule');
exports.VirtualNetworkRule = require('./virtualNetworkRule');
exports.Database = require('./database');
exports.Configuration = require('./configuration');
github Azure / azure-sdk-for-node / lib / services / batchaiManagement / lib / models / index.js View on Github external
*
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */

'use strict';

var msRestAzure = require('ms-rest-azure');

exports.BaseResource = msRestAzure.BaseResource;
exports.CloudError = msRestAzure.CloudError;
exports.UsageName = require('./usageName');
exports.Usage = require('./usage');
exports.UserAccountSettings = require('./userAccountSettings');
exports.SshConfiguration = require('./sshConfiguration');
exports.DataDisks = require('./dataDisks');
exports.ResourceId = require('./resourceId');
exports.MountSettings = require('./mountSettings');
exports.Resource = require('./resource');
exports.FileServer = require('./fileServer');
exports.KeyVaultSecretReference = require('./keyVaultSecretReference');
exports.KeyVaultKeyReference = require('./keyVaultKeyReference');
exports.FileServerCreateParameters = require('./fileServerCreateParameters');
exports.ManualScaleSettings = require('./manualScaleSettings');
exports.AutoScaleSettings = require('./autoScaleSettings');
exports.ScaleSettings = require('./scaleSettings');
exports.ImageReference = require('./imageReference');
github Azure / azure-sdk-for-node / lib / services / rediscachemanagement / lib / models / index.js View on Github external
*
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */

'use strict';

var msRestAzure = require('ms-rest-azure');

exports.BaseResource = msRestAzure.BaseResource;
exports.CloudError = msRestAzure.CloudError;
exports.Sku = require('./sku');
exports.RedisAccessKeys = require('./redisAccessKeys');
exports.RedisLinkedServer = require('./redisLinkedServer');
exports.Resource = require('./resource');
exports.ProxyResource = require('./proxyResource');
exports.TrackedResource = require('./trackedResource');
exports.RedisCreateParameters = require('./redisCreateParameters');
exports.RedisUpdateParameters = require('./redisUpdateParameters');
exports.RedisFirewallRuleProperties = require('./redisFirewallRuleProperties');
exports.RedisFirewallRule = require('./redisFirewallRule');
exports.RedisFirewallRuleCreateParameters = require('./redisFirewallRuleCreateParameters');
exports.RedisResource = require('./redisResource');
exports.RedisRegenerateKeyParameters = require('./redisRegenerateKeyParameters');
exports.RedisRebootParameters = require('./redisRebootParameters');
exports.ExportRDBParameters = require('./exportRDBParameters');
exports.ImportRDBParameters = require('./importRDBParameters');
github Azure / azure-sdk-for-java / AutoRest / Generators / NodeJS / Azure.NodeJS.Tests / Expected / SwaggerBat / Report / models / index.js View on Github external
/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */

'use strict';

var msRestAzure = require('ms-rest-azure');

exports.Resource = msRestAzure.Resource;
exports.CloudError = msRestAzure.CloudError;
exports.ErrorModel = require('./ErrorModel');
github Azure / autorest / src / generator / AutoRest.NodeJS.Azure.Tests / Expected / AcceptanceTests / AzureParameterGrouping / models / index.js View on Github external
*
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */

'use strict';

var msRestAzure = require('ms-rest-azure');

exports.BaseResource = msRestAzure.BaseResource;
exports.CloudError = msRestAzure.CloudError;
exports.ErrorModel = require('./errorModel');
exports.ParameterGroupingPostRequiredParameters = require('./parameterGroupingPostRequiredParameters');
exports.ParameterGroupingPostOptionalParameters = require('./parameterGroupingPostOptionalParameters');
exports.FirstParameterGroup = require('./firstParameterGroup');
exports.ParameterGroupingPostMultiParamGroupsSecondParamGroup = require('./parameterGroupingPostMultiParamGroupsSecondParamGroup');