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

Commit

Permalink
[Synapse Spark] Regenerate with latest release tag package-spark-2020…
Browse files Browse the repository at this point in the history
…-12-01 (Azure#17980)

* Regenerate with latest release tag package-spark-2020-12-01

* Update changelog
  • Loading branch information
joheredi authored Oct 6, 2021
1 parent 23b90ad commit 3f2fee6
Show file tree
Hide file tree
Showing 7 changed files with 243 additions and 139 deletions.
9 changes: 3 additions & 6 deletions sdk/synapse/synapse-spark/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
# Release History

## 1.0.0-beta.4 (Unreleased)
## 1.0.0-beta.4 (2021-10-05)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Re-generate with latest release tag `package-spark-2020-12-01`
- Update `LivyState` to be an extensible enum.

## 1.0.0-beta.3 (2021-08-10)

Expand Down
129 changes: 88 additions & 41 deletions sdk/synapse/synapse-spark/review/synapse-spark.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,48 @@
import * as coreAuth from '@azure/core-auth';
import * as coreClient from '@azure/core-client';

// @public
export enum KnownLivyStatementStates {
// (undocumented)
Available = "available",
// (undocumented)
Cancelled = "cancelled",
// (undocumented)
Cancelling = "cancelling",
// (undocumented)
Error = "error",
// (undocumented)
Running = "running",
// (undocumented)
Waiting = "waiting"
}

// @public
export enum KnownLivyStates {
// (undocumented)
Busy = "busy",
// (undocumented)
Dead = "dead",
// (undocumented)
Error = "error",
// (undocumented)
Idle = "idle",
// (undocumented)
Killed = "killed",
// (undocumented)
NotStarted = "not_started",
// (undocumented)
Recovering = "recovering",
// (undocumented)
Running = "running",
// (undocumented)
ShuttingDown = "shutting_down",
// (undocumented)
Starting = "starting",
// (undocumented)
Success = "success"
}

// @public
export enum KnownPluginCurrentState {
// (undocumented)
Expand Down Expand Up @@ -91,6 +133,12 @@ export enum KnownSparkStatementLanguageType {
Sql = "sql"
}

// @public
export type LivyStatementStates = string;

// @public
export type LivyStates = string;

// @public
export type PluginCurrentState = string;

Expand Down Expand Up @@ -153,7 +201,7 @@ export interface SparkBatchJob {
result?: SparkBatchJobResultType;
scheduler?: SparkScheduler;
sparkPoolName?: string;
state?: string;
state?: LivyStates;
submitterId?: string;
submitterName?: string;
tags?: {
Expand Down Expand Up @@ -357,8 +405,7 @@ export interface SparkSession {
scheduler?: SparkScheduler;
// (undocumented)
sparkPoolName?: string;
// (undocumented)
state?: string;
state?: LivyStates;
// (undocumented)
submitterId?: string;
// (undocumented)
Expand All @@ -370,6 +417,17 @@ export interface SparkSession {
workspaceName?: string;
}

// @public
export interface SparkSessionCancelSparkSessionOptionalParams extends coreClient.OperationOptions {
}

// @public
export interface SparkSessionCancelSparkStatementOptionalParams extends coreClient.OperationOptions {
}

// @public
export type SparkSessionCancelSparkStatementResponse = SparkStatementCancellationResult;

// @public (undocumented)
export interface SparkSessionCollection {
// (undocumented)
Expand All @@ -381,78 +439,63 @@ export interface SparkSessionCollection {
}

// @public
export interface SparkSessionOperations {
cancelSparkSession(sessionId: number, options?: SparkSessionOperationsCancelSparkSessionOptionalParams): Promise<void>;
cancelSparkStatement(sessionId: number, statementId: number, options?: SparkSessionOperationsCancelSparkStatementOptionalParams): Promise<SparkSessionOperationsCancelSparkStatementResponse>;
createSparkSession(sparkSessionOptions: SparkSessionOptions, options?: SparkSessionOperationsCreateSparkSessionOptionalParams): Promise<SparkSessionOperationsCreateSparkSessionResponse>;
createSparkStatement(sessionId: number, sparkStatementOptions: SparkStatementOptions, options?: SparkSessionOperationsCreateSparkStatementOptionalParams): Promise<SparkSessionOperationsCreateSparkStatementResponse>;
getSparkSession(sessionId: number, options?: SparkSessionOperationsGetSparkSessionOptionalParams): Promise<SparkSessionOperationsGetSparkSessionResponse>;
getSparkSessions(options?: SparkSessionOperationsGetSparkSessionsOptionalParams): Promise<SparkSessionOperationsGetSparkSessionsResponse>;
getSparkStatement(sessionId: number, statementId: number, options?: SparkSessionOperationsGetSparkStatementOptionalParams): Promise<SparkSessionOperationsGetSparkStatementResponse>;
getSparkStatements(sessionId: number, options?: SparkSessionOperationsGetSparkStatementsOptionalParams): Promise<SparkSessionOperationsGetSparkStatementsResponse>;
resetSparkSessionTimeout(sessionId: number, options?: SparkSessionOperationsResetSparkSessionTimeoutOptionalParams): Promise<void>;
}

// @public
export interface SparkSessionOperationsCancelSparkSessionOptionalParams extends coreClient.OperationOptions {
}

// @public
export interface SparkSessionOperationsCancelSparkStatementOptionalParams extends coreClient.OperationOptions {
}

// @public
export type SparkSessionOperationsCancelSparkStatementResponse = SparkStatementCancellationResult;

// @public
export interface SparkSessionOperationsCreateSparkSessionOptionalParams extends coreClient.OperationOptions {
export interface SparkSessionCreateSparkSessionOptionalParams extends coreClient.OperationOptions {
detailed?: boolean;
}

// @public
export type SparkSessionOperationsCreateSparkSessionResponse = SparkSession;
export type SparkSessionCreateSparkSessionResponse = SparkSession;

// @public
export interface SparkSessionOperationsCreateSparkStatementOptionalParams extends coreClient.OperationOptions {
export interface SparkSessionCreateSparkStatementOptionalParams extends coreClient.OperationOptions {
}

// @public
export type SparkSessionOperationsCreateSparkStatementResponse = SparkStatement;
export type SparkSessionCreateSparkStatementResponse = SparkStatement;

// @public
export interface SparkSessionOperationsGetSparkSessionOptionalParams extends coreClient.OperationOptions {
export interface SparkSessionGetSparkSessionOptionalParams extends coreClient.OperationOptions {
detailed?: boolean;
}

// @public
export type SparkSessionOperationsGetSparkSessionResponse = SparkSession;
export type SparkSessionGetSparkSessionResponse = SparkSession;

// @public
export interface SparkSessionOperationsGetSparkSessionsOptionalParams extends coreClient.OperationOptions {
export interface SparkSessionGetSparkSessionsOptionalParams extends coreClient.OperationOptions {
detailed?: boolean;
fromParam?: number;
size?: number;
}

// @public
export type SparkSessionOperationsGetSparkSessionsResponse = SparkSessionCollection;
export type SparkSessionGetSparkSessionsResponse = SparkSessionCollection;

// @public
export interface SparkSessionOperationsGetSparkStatementOptionalParams extends coreClient.OperationOptions {
export interface SparkSessionGetSparkStatementOptionalParams extends coreClient.OperationOptions {
}

// @public
export type SparkSessionOperationsGetSparkStatementResponse = SparkStatement;
export type SparkSessionGetSparkStatementResponse = SparkStatement;

// @public
export interface SparkSessionOperationsGetSparkStatementsOptionalParams extends coreClient.OperationOptions {
export interface SparkSessionGetSparkStatementsOptionalParams extends coreClient.OperationOptions {
}

// @public
export type SparkSessionOperationsGetSparkStatementsResponse = SparkStatementCollection;
export type SparkSessionGetSparkStatementsResponse = SparkStatementCollection;

// @public
export interface SparkSessionOperationsResetSparkSessionTimeoutOptionalParams extends coreClient.OperationOptions {
export interface SparkSessionOperations {
cancelSparkSession(sessionId: number, options?: SparkSessionCancelSparkSessionOptionalParams): Promise<void>;
cancelSparkStatement(sessionId: number, statementId: number, options?: SparkSessionCancelSparkStatementOptionalParams): Promise<SparkSessionCancelSparkStatementResponse>;
createSparkSession(sparkSessionOptions: SparkSessionOptions, options?: SparkSessionCreateSparkSessionOptionalParams): Promise<SparkSessionCreateSparkSessionResponse>;
createSparkStatement(sessionId: number, sparkStatementOptions: SparkStatementOptions, options?: SparkSessionCreateSparkStatementOptionalParams): Promise<SparkSessionCreateSparkStatementResponse>;
getSparkSession(sessionId: number, options?: SparkSessionGetSparkSessionOptionalParams): Promise<SparkSessionGetSparkSessionResponse>;
getSparkSessions(options?: SparkSessionGetSparkSessionsOptionalParams): Promise<SparkSessionGetSparkSessionsResponse>;
getSparkStatement(sessionId: number, statementId: number, options?: SparkSessionGetSparkStatementOptionalParams): Promise<SparkSessionGetSparkStatementResponse>;
getSparkStatements(sessionId: number, options?: SparkSessionGetSparkStatementsOptionalParams): Promise<SparkSessionGetSparkStatementsResponse>;
resetSparkSessionTimeout(sessionId: number, options?: SparkSessionResetSparkSessionTimeoutOptionalParams): Promise<void>;
}

// @public (undocumented)
Expand Down Expand Up @@ -493,6 +536,10 @@ export interface SparkSessionOptions {
};
}

// @public
export interface SparkSessionResetSparkSessionTimeoutOptionalParams extends coreClient.OperationOptions {
}

// @public
export type SparkSessionResultType = string;

Expand Down Expand Up @@ -531,7 +578,7 @@ export interface SparkStatement {
// (undocumented)
output?: SparkStatementOutput;
// (undocumented)
state?: string;
state?: LivyStatementStates;
}

// @public (undocumented)
Expand Down
Loading

0 comments on commit 3f2fee6

Please sign in to comment.