Skip to content
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2020 Microsoft
Copyright (c) 2021 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
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,8 @@ export interface Identity {
*/
readonly tenantId?: string;
/**
* The identity type. Possible values include: 'SystemAssigned', 'UserAssigned',
* 'SystemAssigned,UserAssigned', 'None'
* The identity type. Possible values include: 'SystemAssigned', 'SystemAssigned,UserAssigned',
* 'UserAssigned', 'None'
*/
type: ResourceIdentityType;
/**
Expand Down Expand Up @@ -913,7 +913,7 @@ export interface SystemService {
*/
export interface SslConfiguration {
/**
* Enable or disable ssl for scoring. Possible values include: 'Disabled', 'Enabled'
* Enable or disable ssl for scoring. Possible values include: 'Disabled', 'Enabled', 'Auto'
*/
status?: Status1;
/**
Expand Down Expand Up @@ -975,7 +975,7 @@ export interface AKSProperties {
/**
* Agent virtual machine size
*/
agentVMSize?: string;
agentVmSize?: string;
/**
* SSL configuration
*/
Expand Down Expand Up @@ -1053,7 +1053,7 @@ export interface ScaleSettings {
*/
minNodeCount?: number;
/**
* Node Idle Time before scaling down amlCompute
* Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format.
*/
nodeIdleTimeBeforeScaleDown?: string;
}
Expand Down Expand Up @@ -1116,6 +1116,10 @@ export interface NodeStateCounts {
* AML Compute properties
*/
export interface AmlComputeProperties {
/**
* Compute OS Type. Possible values include: 'Linux', 'Windows'. Default value: 'Linux'.
*/
osType?: OsType;
/**
* Virtual Machine Size
*/
Expand Down Expand Up @@ -1322,6 +1326,30 @@ export interface ComputeInstanceCreatedBy {
readonly userId?: string;
}

/**
* A user that can be assigned to a compute instance.
*/
export interface AssignedUser {
/**
* User’s AAD Object Id.
*/
objectId: string;
/**
* User’s AAD Tenant Id.
*/
tenantId: string;
}

/**
* Settings for a personal compute instance.
*/
export interface PersonalComputeInstanceSettings {
/**
* Assigned User. A user explicitly assigned to a personal compute instance.
*/
assignedUser?: AssignedUser;
}

/**
* The last operation on ComputeInstance.
*/
Expand Down Expand Up @@ -1393,6 +1421,15 @@ export interface ComputeInstanceProperties {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly state?: ComputeInstanceState;
/**
* Compute Instance Authorization type. The Compute Instance Authorization type. Available values
* are personal (default). Possible values include: 'personal'. Default value: 'personal'.
*/
computeInstanceAuthorizationType?: ComputeInstanceAuthorizationType;
/**
* Personal Compute Instance settings. Settings for a personal compute instance.
*/
personalComputeInstanceSettings?: PersonalComputeInstanceSettings;
/**
* The last operation on ComputeInstance.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand Down Expand Up @@ -1873,26 +1910,6 @@ export interface AmlComputeNodeInformation {
readonly runId?: string;
}

/**
* Compute node information related to a AmlCompute.
*/
export interface AmlComputeNodesInformation {
/**
* Polymorphic Discriminator
*/
computeType: "AmlCompute";
/**
* The continuation token.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly nextLink?: string;
/**
* The collection of returned AmlCompute nodes details.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly nodes?: AmlComputeNodeInformation[];
}

/**
* Contains the possible cases for ComputeSecrets.
*/
Expand Down Expand Up @@ -2384,6 +2401,28 @@ export interface PaginatedComputeResourcesList extends Array<ComputeResource> {
nextLink?: string;
}

/**
* @interface
* Compute node information related to a AmlCompute.
* @extends Array<AmlComputeNodeInformation>
*/
export interface AmlComputeNodesInformation extends Array<AmlComputeNodeInformation> {
/**
* Polymorphic Discriminator
*/
computeType: "AmlCompute";
/**
* The continuation token.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly nextLink?: string;
/**
* The collection of returned AmlCompute nodes details.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly nodes?: AmlComputeNodeInformation[];
}

/**
* @interface
* List of skus with features
Expand Down Expand Up @@ -2474,11 +2513,19 @@ export type Status = 'Undefined' | 'Success' | 'Failure' | 'InvalidQuotaBelowClu

/**
* Defines values for ResourceIdentityType.
* Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned', 'None'
* Possible values include: 'SystemAssigned', 'SystemAssigned,UserAssigned', 'UserAssigned', 'None'
* @readonly
* @enum {string}
*/
export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned,UserAssigned' | 'None';
export type ResourceIdentityType = 'SystemAssigned' | 'SystemAssigned,UserAssigned' | 'UserAssigned' | 'None';

/**
* Defines values for OsType.
* Possible values include: 'Linux', 'Windows'
* @readonly
* @enum {string}
*/
export type OsType = 'Linux' | 'Windows';

/**
* Defines values for VmPriority.
Expand Down Expand Up @@ -2530,6 +2577,14 @@ export type SshPublicAccess = 'Enabled' | 'Disabled';
*/
export type ComputeInstanceState = 'Creating' | 'CreateFailed' | 'Deleting' | 'Running' | 'Restarting' | 'JobRunning' | 'SettingUp' | 'SetupFailed' | 'Starting' | 'Stopped' | 'Stopping' | 'UserSettingUp' | 'UserSetupFailed' | 'Unknown' | 'Unusable';

/**
* Defines values for ComputeInstanceAuthorizationType.
* Possible values include: 'personal'
* @readonly
* @enum {string}
*/
export type ComputeInstanceAuthorizationType = 'personal';

/**
* Defines values for OperationName.
* Possible values include: 'Create', 'Start', 'Stop', 'Restart', 'Reimage', 'Delete'
Expand Down Expand Up @@ -2582,11 +2637,11 @@ export type UnderlyingResourceAction = 'Delete' | 'Detach';

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

/**
* Contains response data for the list operation.
Expand Down Expand Up @@ -3228,6 +3283,26 @@ export type MachineLearningComputeListByWorkspaceNextResponse = PaginatedCompute
};
};

/**
* Contains response data for the listNodesNext operation.
*/
export type MachineLearningComputeListNodesNextResponse = AmlComputeNodesInformation & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: AmlComputeNodesInformation;
};
};

/**
* Contains response data for the listSkus operation.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export {
AmlComputeNodeInformation,
AmlComputeNodesInformation,
AmlComputeProperties,
AssignedUser,
BaseResource,
ClusterUpdateParameters,
Compute,
Expand Down Expand Up @@ -50,6 +51,7 @@ export {
NotebookPreparationError,
NotebookResourceInfo,
PaginatedComputeResourcesList,
PersonalComputeInstanceSettings,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateLinkResource,
Expand Down
Loading