Skip to content

Commit

Permalink
Generated from a9e6716031821eff25f2cbb422960fa56742c0e9 (#109)
Browse files Browse the repository at this point in the history
Merge branch 'master' into akpati/ssh-property-change
  • Loading branch information
openapi-sdkautomation[bot] authored and SDK Automation committed Sep 26, 2019
1 parent d81429a commit f6af595
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class AzureMachineLearningWorkspacesContext extends msRestAzure.AzureServ

super(credentials, options);

this.apiVersion = '2019-05-01';
this.apiVersion = '2019-06-01';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,11 @@ export interface VirtualMachineSize {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly vCPUs?: number;
/**
* Number of gPUs. The number of gPUs supported by the virtual machine size.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly gpus?: number;
/**
* OS VHD Disk size. The OS VHD disk size, in MB, allowed by the virtual machine size.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand Down Expand Up @@ -705,6 +710,16 @@ export interface AmlComputeProperties {
* Subnet. Virtual network subnet resource ID the compute nodes belong to.
*/
subnet?: ResourceId;
/**
* Close remote Login Access Port. State of the public SSH port. Possible values are: Disabled -
* Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates
* that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that
* the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all
* public nodes. It can be default only during cluster creation time, after creation it will be
* either enabled or disabled. Possible values include: 'Enabled', 'Disabled', 'NotSpecified'.
* Default value: 'NotSpecified'.
*/
remoteLoginPortPublicAccess?: RemoteLoginPortPublicAccess;
/**
* Allocation state. Allocation state of the compute. Possible values are: steady - Indicates
* that the compute is not resizing. There are no changes to the number of compute nodes in the
Expand Down Expand Up @@ -1191,15 +1206,32 @@ export interface AmlComputeNodeInformation {
*/
readonly nodeId?: string;
/**
* IP address. Public IP address of the compute node.
* Private IP address. Private IP address of the compute node.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly ipAddress?: string;
readonly privateIpAddress?: string;
/**
* Public IP address. Public IP address of the compute node.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly publicIpAddress?: string;
/**
* Port. SSH port number of the node.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly port?: number;
/**
* State of the compute node. Values are idle, running, preparing, unusable, leaving and
* preempted. Possible values include: 'idle', 'running', 'preparing', 'unusable', 'leaving',
* 'preempted'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly nodeState?: NodeState;
/**
* Run ID. ID of the Experiment running on the node, if any else null.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly runId?: string;
}

/**
Expand Down Expand Up @@ -1427,6 +1459,14 @@ export type ResourceIdentityType = 'SystemAssigned';
*/
export type VmPriority = 'Dedicated' | 'LowPriority';

/**
* Defines values for RemoteLoginPortPublicAccess.
* Possible values include: 'Enabled', 'Disabled', 'NotSpecified'
* @readonly
* @enum {string}
*/
export type RemoteLoginPortPublicAccess = 'Enabled' | 'Disabled' | 'NotSpecified';

/**
* Defines values for AllocationState.
* Possible values include: 'Steady', 'Resizing'
Expand All @@ -1435,6 +1475,14 @@ export type VmPriority = 'Dedicated' | 'LowPriority';
*/
export type AllocationState = 'Steady' | 'Resizing';

/**
* Defines values for NodeState.
* Possible values include: 'idle', 'running', 'preparing', 'unusable', 'leaving', 'preempted'
* @readonly
* @enum {string}
*/
export type NodeState = 'idle' | 'running' | 'preparing' | 'unusable' | 'leaving' | 'preempted';

/**
* Defines values for ComputeType.
* Possible values include: 'AKS', 'AmlCompute', 'DataFactory', 'VirtualMachine', 'HDInsight',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,13 @@ export const VirtualMachineSize: msRest.CompositeMapper = {
name: "Number"
}
},
gpus: {
readOnly: true,
serializedName: "gpus",
type: {
name: "Number"
}
},
osVhdSizeMB: {
readOnly: true,
serializedName: "osVhdSizeMB",
Expand Down Expand Up @@ -1060,6 +1067,13 @@ export const AmlComputeProperties: msRest.CompositeMapper = {
className: "ResourceId"
}
},
remoteLoginPortPublicAccess: {
serializedName: "remoteLoginPortPublicAccess",
defaultValue: 'NotSpecified',
type: {
name: "String"
}
},
allocationState: {
readOnly: true,
serializedName: "allocationState",
Expand Down Expand Up @@ -1439,9 +1453,16 @@ export const AmlComputeNodeInformation: msRest.CompositeMapper = {
name: "String"
}
},
ipAddress: {
privateIpAddress: {
readOnly: true,
serializedName: "privateIpAddress",
type: {
name: "String"
}
},
publicIpAddress: {
readOnly: true,
serializedName: "ipAddress",
serializedName: "publicIpAddress",
type: {
name: "String"
}
Expand All @@ -1452,6 +1473,20 @@ export const AmlComputeNodeInformation: msRest.CompositeMapper = {
type: {
name: "Number"
}
},
nodeState: {
readOnly: true,
serializedName: "nodeState",
type: {
name: "String"
}
},
runId: {
readOnly: true,
serializedName: "runId",
type: {
name: "String"
}
}
}
}
Expand Down

0 comments on commit f6af595

Please sign in to comment.