Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR resourcehealth/resource-manager] Add three new APIs to microsoft.resourcehealth #4374

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export default class MicrosoftResourceHealth extends AzureServiceClient {

// Operation groups
availabilityStatuses: operations.AvailabilityStatuses;
childAvailabilityStatuses: operations.ChildAvailabilityStatuses;
childResources: operations.ChildResources;
operations: operations.Operations;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ class MicrosoftResourceHealth extends ServiceClient {
this.generateClientRequestId = options.generateClientRequestId;
}
this.availabilityStatuses = new operations.AvailabilityStatuses(this);
this.childAvailabilityStatuses = new operations.ChildAvailabilityStatuses(this);
this.childResources = new operations.ChildResources(this);
this.operations = new operations.Operations(this);
this.models = models;
msRest.addSerializationMixin(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* availabilityStatus of a resource.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Properties of availability state.
*
Expand Down
2 changes: 0 additions & 2 deletions lib/services/resourceHealthManagement/lib/models/operation.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Operation available in the resourcehealth resource provider.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Lists the operations response.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Lists the service impacting events that may be affecting the health of the
* resource.
Expand Down
Loading