Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
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 @@ -60,6 +60,7 @@ export default class DataBoxEdgeManagementClient extends AzureServiceClient {
devices: operations.Devices;
alerts: operations.Alerts;
bandwidthSchedules: operations.BandwidthSchedules;
jobs: operations.Jobs;
operationsStatus: operations.OperationsStatus;
orders: operations.Orders;
roles: operations.Roles;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class DataBoxEdgeManagementClient extends ServiceClient {

super(credentials, options);

this.apiVersion = '2018-07-01';
this.apiVersion = '2019-03-01';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.generateClientRequestId = true;
Expand All @@ -76,6 +76,7 @@ class DataBoxEdgeManagementClient extends ServiceClient {
this.devices = new operations.Devices(this);
this.alerts = new operations.Alerts(this);
this.bandwidthSchedules = new operations.BandwidthSchedules(this);
this.jobs = new operations.Jobs(this);
this.operationsStatus = new operations.OperationsStatus(this);
this.orders = new operations.Orders(this);
this.roles = new operations.Roles(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ARMBaseModel extends models['BaseResource'] {
/**
* Create a ARMBaseModel.
* @property {string} [id] The path ID that uniquely identifies the object.
* @property {string} [name] The name of the object.
* @property {string} [name] The object name.
* @property {string} [type] The hierarchical type of the object.
*/
constructor() {
Expand Down
8 changes: 4 additions & 4 deletions lib/services/edgegatewayManagement/lib/models/address.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class Address {
/**
* Create a Address.
* @property {string} addressLine1 The address line1.
* @property {string} addressLine2 The address line2.
* @property {string} addressLine3 The address line3.
* @property {string} [addressLine2] The address line2.
* @property {string} [addressLine3] The address line3.
* @property {string} postalCode The postal code.
* @property {string} city The city name.
* @property {string} state The state name.
Expand Down Expand Up @@ -50,14 +50,14 @@ class Address {
}
},
addressLine2: {
required: true,
required: false,
serializedName: 'addressLine2',
type: {
name: 'String'
}
},
addressLine3: {
required: true,
required: false,
serializedName: 'addressLine3',
type: {
name: 'String'
Expand Down
13 changes: 5 additions & 8 deletions lib/services/edgegatewayManagement/lib/models/alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,17 @@ const models = require('./index');
class Alert extends models['ARMBaseModel'] {
/**
* Create a Alert.
* @property {string} [title] Title of the alert.
* @property {string} [alertType] Type of the alert.
* @property {date} [appearedAtDateTime] UTC time at which the alert
* appeared.
* @property {string} [recommendation] Recommendation for acting on the
* alert.
* @property {string} [title] Alert title.
* @property {string} [alertType] Alert type.
* @property {date} [appearedAtDateTime] UTC time when the alert appeared.
* @property {string} [recommendation] Alert recommendation.
* @property {string} [severity] Severity of the alert. Possible values
* include: 'Informational', 'Warning', 'Critical'
* @property {object} [errorDetails] Error details of the alert.
* @property {string} [errorDetails.errorCode] Error code.
* @property {string} [errorDetails.errorMessage] Error Message.
* @property {number} [errorDetails.occurrences] Number of occurrences.
* @property {object} [detailedInformation] Detailed information about the
* alert.
* @property {object} [detailedInformation] Alert details.
*/
constructor() {
super();
Expand Down
2 changes: 1 addition & 1 deletion lib/services/edgegatewayManagement/lib/models/alertList.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

/**
* Collection of Alerts.
* Collection of alerts.
*/
class AlertList extends Array {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class AsymmetricEncryptedSecret {
/**
* Create a AsymmetricEncryptedSecret.
* @property {string} value The value of the secret.
* @property {string} [encryptionCertThumbprint] Thumbprint certificate that
* was used to encrypt "Value". If the value in unencrypted, it will be null.
* @property {string} [encryptionCertThumbprint] Thumbprint certificate used
* to encrypt \"Value\". If the value is unencrypted, it will be null.
* @property {string} encryptionAlgorithm The algorithm used to encrypt
* "Value". Possible values include: 'None', 'AES256', 'RSAES_PKCS1_v_1_5'
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ class Authentication {
* Create a Authentication.
* @property {object} [symmetricKey] Symmetric key for authentication.
* @property {object} [symmetricKey.connectionString] Connection string based
* on symmetric key.
* on the symmetric key.
* @property {string} [symmetricKey.connectionString.value] The value of the
* secret.
* @property {string}
* [symmetricKey.connectionString.encryptionCertThumbprint] Thumbprint
* certificate that was used to encrypt "Value". If the value in unencrypted,
* it will be null.
* certificate used to encrypt \"Value\". If the value is unencrypted, it
* will be null.
* @property {string} [symmetricKey.connectionString.encryptionAlgorithm] The
* algorithm used to encrypt "Value". Possible values include: 'None',
* 'AES256', 'RSAES_PKCS1_v_1_5'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
class AzureContainerInfo {
/**
* Create a AzureContainerInfo.
* @property {string} storageAccountCredentialId ID of the Storage account
* credential to be used for accessing storage.
* @property {string} storageAccountCredentialId ID of the storage account
* credential used to access storage.
* @property {string} containerName Container name (Based on the data format
* specified, represents the name of Azure file/ Page blob / Block blob).
* specified, this represents the name of Azure Files/Page blob/Block blob).
* @property {string} dataFormat Storage format used for the file represented
* by the share. Possible values include: 'BlockBlob', 'PageBlob',
* 'AzureFile'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
'use strict';

/**
* The mapping between a particular client ip and the type of access client has
* The mapping between a particular client IP and the type of access client has
* on the NFS share.
*
*/
class ClientAccessRight {
/**
* Create a ClientAccessRight.
* @property {string} client Ip of the client.
* @property {string} client IP of the client.
* @property {string} accessPermission Type of access to be allowed for the
* client. Possible values include: 'NoAccess', 'ReadOnly', 'ReadWrite'
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
class ContactDetails {
/**
* Create a ContactDetails.
* @property {string} contactPerson Gets or sets the contact person.
* @property {string} companyName Gets or sets the name of the company.
* @property {string} phone Gets or sets the phone number.
* @property {array} emailList Gets or sets the email list.
* @property {string} contactPerson The contact person name.
* @property {string} companyName The name of the company.
* @property {string} phone The phone number.
* @property {array} emailList The email list.
*/
constructor() {
}
Expand Down
19 changes: 9 additions & 10 deletions lib/services/edgegatewayManagement/lib/models/dataBoxEdgeDevice.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,19 @@ const models = require('./index');
class DataBoxEdgeDevice extends models['ARMBaseModel'] {
/**
* Create a DataBoxEdgeDevice.
* @property {string} location The location of the device. This will be one
* of the supported and registered Azure Geo Regions (e.g. West US, East US,
* Southeast Asia, etc.). The geo region of a device cannot be changed once
* it is created, but if an identical geo region is specified on update the
* request will succeed.
* @property {string} location The location of the device. This is a
* supported and registered Azure geographical region (for example, West US,
* East US, or Southeast Asia). The geographical region of a device cannot be
* changed once it is created, but if an identical geographical region is
* specified on update, the request will succeed.
* @property {object} [tags] The list of tags that describe the device. These
* tags can be used in viewing and grouping this device (across resource
* groups).
* @property {object} [sku] The sku type.
* @property {string} [sku.name] Sku name. Possible values include:
* tags can be used to view and group this device (across resource groups).
* @property {object} [sku] The SKU type.
* @property {string} [sku.name] SKU name. Possible values include:
* 'Gateway', 'Edge'
* @property {string} [sku.tier] The SKU tier. This is based on the SKU name.
* Possible values include: 'Standard'
* @property {string} [etag] The etag of the devices.
* @property {string} [etag] The etag for the devices.
* @property {string} [dataBoxEdgeDeviceStatus] The status of the Data Box
* Edge/Gateway device. Possible values include: 'ReadyToSetup', 'Online',
* 'Offline', 'NeedsAttention', 'Disconnected', 'PartiallyDisconnected'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class DataBoxEdgeDeviceExtendedInfo extends models['ARMBaseModel'] {
* that was used to encrypt the Channel Integrity Key (CIK).
* @property {string} [encryptionKey] The Channel Integrity Key (CIK) of the
* device.
* @property {string} [resourceKey] The Resource Id of the Resource.
* @property {string} [resourceKey] The Resource ID of the Resource.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ const models = require('./index');
class FileEventTrigger extends models['Trigger'] {
/**
* Create a FileEventTrigger.
* @property {object} [sourceInfo] File event source details.
* @property {object} sourceInfo File event source details.
* @property {string} [sourceInfo.shareId] File share ID.
* @property {object} [sinkInfo] Role Sink info.
* @property {object} sinkInfo Role sink info.
* @property {string} [sinkInfo.roleId] Compute role ID.
* @property {string} [customContextTag] Custom context tag, typically used
* to co-relate the trigger against its usage. Eg. If a PeriodicTimer trigger
* may be intended for certain specific IOT modules in device, the tag can be
* the name/image url of the module.
* @property {string} [customContextTag] A custom context tag typically used
* to correlate the trigger against its usage. For example, if a periodic
* timer trigger is intended for certain specific IoT modules in the device,
* the tag can be the name or the image URL of the module.
*/
constructor() {
super();
Expand Down Expand Up @@ -85,15 +85,15 @@ class FileEventTrigger extends models['Trigger'] {
}
},
sourceInfo: {
required: false,
required: true,
serializedName: 'properties.sourceInfo',
type: {
name: 'Composite',
className: 'FileSourceInfo'
}
},
sinkInfo: {
required: false,
required: true,
serializedName: 'properties.sinkInfo',
type: {
name: 'Composite',
Expand Down
Loading