Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Closed
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
2 changes: 1 addition & 1 deletion lib/services/computeManagement2/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft
Copyright (c) 2019 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib/services/computeManagement2/lib/models/accessUri.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class AccessUri {
/**
* Create a AccessUri.
* @member {string} [accessSAS] A SAS uri for accessing a disk.
* @property {string} [accessSAS] A SAS uri for accessing a disk.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
class AdditionalCapabilities {
/**
* Create a AdditionalCapabilities.
* @member {boolean} [ultraSSDEnabled] The flag that enables or disables a
* @property {boolean} [ultraSSDEnabled] The flag that enables or disables a
* capability to have one or more managed data disks with UltraSSD_LRS
* storage account type on the VM or VMSS. Managed disks with storage account
* type UltraSSD_LRS can be added to a virtual machine or virtual machine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
class AdditionalUnattendContent {
/**
* Create a AdditionalUnattendContent.
* @member {string} [passName] The pass name. Currently, the only allowable
* @property {string} [passName] The pass name. Currently, the only allowable
* value is OobeSystem. Possible values include: 'OobeSystem'
* @member {string} [componentName] The component name. Currently, the only
* @property {string} [componentName] The component name. Currently, the only
* allowable value is Microsoft-Windows-Shell-Setup. Possible values include:
* 'Microsoft-Windows-Shell-Setup'
* @member {string} [settingName] Specifies the name of the setting to which
* the content applies. Possible values are: FirstLogonCommands and
* @property {string} [settingName] Specifies the name of the setting to
* which the content applies. Possible values are: FirstLogonCommands and
* AutoLogon. Possible values include: 'AutoLogon', 'FirstLogonCommands'
* @member {string} [content] Specifies the XML formatted content that is
* @property {string} [content] Specifies the XML formatted content that is
* added to the unattend.xml file for the specified path and component. The
* XML must be less than 4KB and must include the root element for the
* setting or feature that is being inserted.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
class ApiEntityReference {
/**
* Create a ApiEntityReference.
* @member {string} [id] The ARM resource id in the form of
* /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/...
* @property {string} [id] The ARM resource id in the form of
* /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
*/
constructor() {
}
Expand Down
14 changes: 7 additions & 7 deletions lib/services/computeManagement2/lib/models/apiError.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
class ApiError {
/**
* Create a ApiError.
* @member {array} [details] The Api error details
* @member {object} [innererror] The Api inner error
* @member {string} [innererror.exceptiontype] The exception type.
* @member {string} [innererror.errordetail] The internal error message or
* @property {array} [details] The Api error details
* @property {object} [innererror] The Api inner error
* @property {string} [innererror.exceptiontype] The exception type.
* @property {string} [innererror.errordetail] The internal error message or
* exception dump.
* @member {string} [code] The error code.
* @member {string} [target] The target of the particular error.
* @member {string} [message] The error message.
* @property {string} [code] The error code.
* @property {string} [target] The target of the particular error.
* @property {string} [message] The error message.
*/
constructor() {
}
Expand Down
6 changes: 3 additions & 3 deletions lib/services/computeManagement2/lib/models/apiErrorBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
class ApiErrorBase {
/**
* Create a ApiErrorBase.
* @member {string} [code] The error code.
* @member {string} [target] The target of the particular error.
* @member {string} [message] The error message.
* @property {string} [code] The error code.
* @property {string} [target] The target of the particular error.
* @property {string} [message] The error message.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
class AutomaticOSUpgradePolicy {
/**
* Create a AutomaticOSUpgradePolicy.
* @member {boolean} [enableAutomaticOSUpgrade] Whether OS upgrades should
* @property {boolean} [enableAutomaticOSUpgrade] Whether OS upgrades should
* automatically be applied to scale set instances in a rolling fashion when
* a newer version of the image becomes available. Default value is false.
* @member {boolean} [disableAutomaticRollback] Whether OS image rollback
* @property {boolean} [disableAutomaticRollback] Whether OS image rollback
* feature should be disabled. Default value is false.
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
class AutomaticOSUpgradeProperties {
/**
* Create a AutomaticOSUpgradeProperties.
* @member {boolean} automaticOSUpgradeSupported Specifies whether automatic
* OS upgrade is supported on the image.
* @property {boolean} automaticOSUpgradeSupported Specifies whether
* automatic OS upgrade is supported on the image.
*/
constructor() {
}
Expand Down
25 changes: 13 additions & 12 deletions lib/services/computeManagement2/lib/models/availabilitySet.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const models = require('./index');
* set are allocated to different nodes to maximize availability. For more
* information about availability sets, see [Manage the availability of virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
* <br><br> For more information on Azure planned maintainance, see [Planned
* <br><br> For more information on Azure planned maintenance, see [Planned
* maintenance for virtual machines in
* Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
* <br><br> Currently, a VM can only be added to availability set at creation
Expand All @@ -29,20 +29,21 @@ const models = require('./index');
class AvailabilitySet extends models['Resource'] {
/**
* Create a AvailabilitySet.
* @member {number} [platformUpdateDomainCount] Update Domain count.
* @member {number} [platformFaultDomainCount] Fault Domain count.
* @member {array} [virtualMachines] A list of references to all virtual
* @property {number} [platformUpdateDomainCount] Update Domain count.
* @property {number} [platformFaultDomainCount] Fault Domain count.
* @property {array} [virtualMachines] A list of references to all virtual
* machines in the availability set.
* @member {array} [statuses] The resource status information.
* @member {object} [sku] Sku of the availability set, only name is required
* to be set. See AvailabilitySetSkuTypes for possible set of values. Use
* 'Aligned' for virtual machines with managed disks and 'Classic' for
* virtual machines with unmanaged disks. Default value is 'Classic'.
* @member {string} [sku.name] The sku name.
* @member {string} [sku.tier] Specifies the tier of virtual machines in a
* @property {array} [statuses] The resource status information.
* @property {object} [sku] Sku of the availability set, only name is
* required to be set. See AvailabilitySetSkuTypes for possible set of
* values. Use 'Aligned' for virtual machines with managed disks and
* 'Classic' for virtual machines with unmanaged disks. Default value is
* 'Classic'.
* @property {string} [sku.name] The sku name.
* @property {string} [sku.tier] Specifies the tier of virtual machines in a
* scale set.<br /><br /> Possible Values:<br /><br /> **Standard**<br /><br
* /> **Basic**
* @member {number} [sku.capacity] Specifies the number of virtual machines
* @property {number} [sku.capacity] Specifies the number of virtual machines
* in the scale set.
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class AvailabilitySetListResult extends Array {
/**
* Create a AvailabilitySetListResult.
* @member {string} [nextLink] The URI to fetch the next page of
* @property {string} [nextLink] The URI to fetch the next page of
* AvailabilitySets. Call ListNext() with this URI to fetch the next page of
* AvailabilitySets.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ const models = require('./index');
class AvailabilitySetUpdate extends models['UpdateResource'] {
/**
* Create a AvailabilitySetUpdate.
* @member {number} [platformUpdateDomainCount] Update Domain count.
* @member {number} [platformFaultDomainCount] Fault Domain count.
* @member {array} [virtualMachines] A list of references to all virtual
* @property {number} [platformUpdateDomainCount] Update Domain count.
* @property {number} [platformFaultDomainCount] Fault Domain count.
* @property {array} [virtualMachines] A list of references to all virtual
* machines in the availability set.
* @member {array} [statuses] The resource status information.
* @member {object} [sku] Sku of the availability set
* @member {string} [sku.name] The sku name.
* @member {string} [sku.tier] Specifies the tier of virtual machines in a
* @property {array} [statuses] The resource status information.
* @property {object} [sku] Sku of the availability set
* @property {string} [sku.name] The sku name.
* @property {string} [sku.tier] Specifies the tier of virtual machines in a
* scale set.<br /><br /> Possible Values:<br /><br /> **Standard**<br /><br
* /> **Basic**
* @member {number} [sku.capacity] Specifies the number of virtual machines
* @property {number} [sku.capacity] Specifies the number of virtual machines
* in the scale set.
*/
constructor() {
Expand Down
6 changes: 3 additions & 3 deletions lib/services/computeManagement2/lib/models/bootDiagnostics.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
class BootDiagnostics {
/**
* Create a BootDiagnostics.
* @member {boolean} [enabled] Whether boot diagnostics should be enabled on
* the Virtual Machine.
* @member {string} [storageUri] Uri of the storage account to use for
* @property {boolean} [enabled] Whether boot diagnostics should be enabled
* on the Virtual Machine.
* @property {string} [storageUri] Uri of the storage account to use for
* placing the console output and screenshot.
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@
class BootDiagnosticsInstanceView {
/**
* Create a BootDiagnosticsInstanceView.
* @member {string} [consoleScreenshotBlobUri] The console screenshot blob
* @property {string} [consoleScreenshotBlobUri] The console screenshot blob
* URI.
* @member {string} [serialConsoleLogBlobUri] The Linux serial console log
* @property {string} [serialConsoleLogBlobUri] The Linux serial console log
* blob Uri.
* @member {object} [status] The boot diagnostics status information for the
* VM. <br><br> NOTE: It will be set only if there are errors encountered in
* enabling boot diagnostics.
* @member {string} [status.code] The status code.
* @member {string} [status.level] The level code. Possible values include:
* @property {object} [status] The boot diagnostics status information for
* the VM. <br><br> NOTE: It will be set only if there are errors encountered
* in enabling boot diagnostics.
* @property {string} [status.code] The status code.
* @property {string} [status.level] The level code. Possible values include:
* 'Info', 'Warning', 'Error'
* @member {string} [status.displayStatus] The short localizable label for
* @property {string} [status.displayStatus] The short localizable label for
* the status.
* @member {string} [status.message] The detailed status message, including
* @property {string} [status.message] The detailed status message, including
* for alerts and error messages.
* @member {date} [status.time] The time of the status.
* @property {date} [status.time] The time of the status.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
class ComputeOperationValue {
/**
* Create a ComputeOperationValue.
* @member {string} [origin] The origin of the compute operation.
* @member {string} [name] The name of the compute operation.
* @member {string} [operation] The display name of the compute operation.
* @member {string} [resource] The display name of the resource the operation
* applies to.
* @member {string} [description] The description of the operation.
* @member {string} [provider] The resource provider for the operation.
* @property {string} [origin] The origin of the compute operation.
* @property {string} [name] The name of the compute operation.
* @property {string} [operation] The display name of the compute operation.
* @property {string} [resource] The display name of the resource the
* operation applies to.
* @property {string} [description] The description of the operation.
* @property {string} [provider] The resource provider for the operation.
*/
constructor() {
}
Expand Down
63 changes: 32 additions & 31 deletions lib/services/computeManagement2/lib/models/containerService.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,49 +20,50 @@ const models = require('./index');
class ContainerService extends models['Resource'] {
/**
* Create a ContainerService.
* @member {string} [provisioningState] the current deployment or
* @property {string} [provisioningState] the current deployment or
* provisioning state, which only appears in the response.
* @member {object} [orchestratorProfile] Properties of the orchestrator.
* @member {string} [orchestratorProfile.orchestratorType] The orchestrator
* @property {object} [orchestratorProfile] Properties of the orchestrator.
* @property {string} [orchestratorProfile.orchestratorType] The orchestrator
* to use to manage container service cluster resources. Valid values are
* Swarm, DCOS, and Custom. Possible values include: 'Swarm', 'DCOS',
* 'Custom', 'Kubernetes'
* @member {object} [customProfile] Properties for custom clusters.
* @member {string} [customProfile.orchestrator] The name of the custom
* @property {object} [customProfile] Properties for custom clusters.
* @property {string} [customProfile.orchestrator] The name of the custom
* orchestrator to use.
* @member {object} [servicePrincipalProfile] Properties for cluster service
* principals.
* @member {string} [servicePrincipalProfile.clientId] The ID for the service
* principal.
* @member {string} [servicePrincipalProfile.secret] The secret password
* @property {object} [servicePrincipalProfile] Properties for cluster
* service principals.
* @property {string} [servicePrincipalProfile.clientId] The ID for the
* service principal.
* @property {string} [servicePrincipalProfile.secret] The secret password
* associated with the service principal.
* @member {object} masterProfile Properties of master agents.
* @member {number} [masterProfile.count] Number of masters (VMs) in the
* @property {object} masterProfile Properties of master agents.
* @property {number} [masterProfile.count] Number of masters (VMs) in the
* container service cluster. Allowed values are 1, 3, and 5. The default
* value is 1.
* @member {string} [masterProfile.dnsPrefix] DNS prefix to be used to create
* the FQDN for master.
* @member {string} [masterProfile.fqdn] FDQN for the master.
* @member {array} agentPoolProfiles Properties of the agent pool.
* @member {object} [windowsProfile] Properties of Windows VMs.
* @member {string} [windowsProfile.adminUsername] The administrator username
* to use for Windows VMs.
* @member {string} [windowsProfile.adminPassword] The administrator password
* to use for Windows VMs.
* @member {object} linuxProfile Properties of Linux VMs.
* @member {string} [linuxProfile.adminUsername] The administrator username
* @property {string} [masterProfile.dnsPrefix] DNS prefix to be used to
* create the FQDN for master.
* @property {string} [masterProfile.fqdn] FQDN for the master.
* @property {array} agentPoolProfiles Properties of the agent pool.
* @property {object} [windowsProfile] Properties of Windows VMs.
* @property {string} [windowsProfile.adminUsername] The administrator
* username to use for Windows VMs.
* @property {string} [windowsProfile.adminPassword] The administrator
* password to use for Windows VMs.
* @property {object} linuxProfile Properties of Linux VMs.
* @property {string} [linuxProfile.adminUsername] The administrator username
* to use for Linux VMs.
* @member {object} [linuxProfile.ssh] The ssh key configuration for Linux
* @property {object} [linuxProfile.ssh] The ssh key configuration for Linux
* VMs.
* @member {array} [linuxProfile.ssh.publicKeys] the list of SSH public keys
* used to authenticate with Linux-based VMs.
* @member {object} [diagnosticsProfile] Properties of the diagnostic agent.
* @member {object} [diagnosticsProfile.vmDiagnostics] Profile for the
* @property {array} [linuxProfile.ssh.publicKeys] the list of SSH public
* keys used to authenticate with Linux-based VMs.
* @property {object} [diagnosticsProfile] Properties of the diagnostic
* agent.
* @property {object} [diagnosticsProfile.vmDiagnostics] Profile for the
* container service VM diagnostic agent.
* @member {boolean} [diagnosticsProfile.vmDiagnostics.enabled] Whether the
* @property {boolean} [diagnosticsProfile.vmDiagnostics.enabled] Whether the
* VM diagnostic agent is provisioned on the VM.
* @member {string} [diagnosticsProfile.vmDiagnostics.storageUri] The URI of
* the storage account where diagnostics are stored.
* @property {string} [diagnosticsProfile.vmDiagnostics.storageUri] The URI
* of the storage account where diagnostics are stored.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
class ContainerServiceAgentPoolProfile {
/**
* Create a ContainerServiceAgentPoolProfile.
* @member {string} name Unique name of the agent pool profile in the context
* of the subscription and resource group.
* @member {number} count Number of agents (VMs) to host docker containers.
* @property {string} name Unique name of the agent pool profile in the
* context of the subscription and resource group.
* @property {number} count Number of agents (VMs) to host docker containers.
* Allowed values must be in the range of 1 to 100 (inclusive). The default
* value is 1. . Default value: 1 .
* @member {string} vmSize Size of agent VMs. Possible values include:
* @property {string} vmSize Size of agent VMs. Possible values include:
* 'Standard_A0', 'Standard_A1', 'Standard_A2', 'Standard_A3', 'Standard_A4',
* 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A9',
* 'Standard_A10', 'Standard_A11', 'Standard_D1', 'Standard_D2',
Expand All @@ -35,9 +35,9 @@ class ContainerServiceAgentPoolProfile {
* 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14',
* 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4',
* 'Standard_GS5'
* @member {string} dnsPrefix DNS prefix to be used to create the FQDN for
* @property {string} dnsPrefix DNS prefix to be used to create the FQDN for
* the agent pool.
* @member {string} [fqdn] FDQN for the agent pool.
* @property {string} [fqdn] FQDN for the agent pool.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
class ContainerServiceCustomProfile {
/**
* Create a ContainerServiceCustomProfile.
* @member {string} orchestrator The name of the custom orchestrator to use.
* @property {string} orchestrator The name of the custom orchestrator to
* use.
*/
constructor() {
}
Expand Down
Loading