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
Expand Up @@ -81,6 +81,7 @@ export {
JobTarget,
JobVersion,
LongTermRetentionBackup,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
1 change: 1 addition & 0 deletions packages/@azure/arm-sql/lib/models/databasesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
1 change: 1 addition & 0 deletions packages/@azure/arm-sql/lib/models/elasticPoolsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
1 change: 1 addition & 0 deletions packages/@azure/arm-sql/lib/models/firewallRulesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
164 changes: 164 additions & 0 deletions packages/@azure/arm-sql/lib/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4232,6 +4232,21 @@ export interface BackupLongTermRetentionPolicy extends ProxyResource {
weekOfYear?: number;
}

/**
* @interface
* An interface representing ManagedBackupShortTermRetentionPolicy.
* A short term retention policy.
*
* @extends ProxyResource
*/
export interface ManagedBackupShortTermRetentionPolicy extends ProxyResource {
/**
* @member {number} [retentionDays] The backup retention period in days. This
* is how many days Point-in-Time Restore will be supported.
*/
retentionDays?: number;
}

/**
* @interface
* An interface representing CompleteDatabaseRestoreDefinition.
Expand Down Expand Up @@ -7350,6 +7365,22 @@ export interface LongTermRetentionBackupListResult extends Array<LongTermRetenti
readonly nextLink?: string;
}

/**
* @interface
* An interface representing the ManagedBackupShortTermRetentionPolicyListResult.
* A list of short term retention policies.
*
* @extends Array<ManagedBackupShortTermRetentionPolicy>
*/
export interface ManagedBackupShortTermRetentionPolicyListResult extends Array<ManagedBackupShortTermRetentionPolicy> {
/**
* @member {string} [nextLink] Link to retrieve next page of results.
* **NOTE: This property will not be serialized. It can only be populated by
* the server.**
*/
readonly nextLink?: string;
}

/**
* @interface
* An interface representing the ManagedDatabaseListResult.
Expand Down Expand Up @@ -13157,6 +13188,139 @@ export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupL
};
};

/**
* Contains response data for the get operation.
*/
export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & {
/**
* 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: ManagedBackupShortTermRetentionPolicy;
};
};

/**
* Contains response data for the createOrUpdate operation.
*/
export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
/**
* 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: ManagedBackupShortTermRetentionPolicy;
};
};

/**
* Contains response data for the update operation.
*/
export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
/**
* 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: ManagedBackupShortTermRetentionPolicy;
};
};

/**
* Contains response data for the listByDatabase operation.
*/
export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & {
/**
* 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: ManagedBackupShortTermRetentionPolicyListResult;
};
};

/**
* Contains response data for the beginCreateOrUpdate operation.
*/
export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
/**
* 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: ManagedBackupShortTermRetentionPolicy;
};
};

/**
* Contains response data for the beginUpdate operation.
*/
export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
/**
* 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: ManagedBackupShortTermRetentionPolicy;
};
};

/**
* Contains response data for the listByDatabaseNext operation.
*/
export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & {
/**
* 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: ManagedBackupShortTermRetentionPolicyListResult;
};
};

/**
* Contains response data for the listByInstance operation.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
1 change: 1 addition & 0 deletions packages/@azure/arm-sql/lib/models/jobAgentsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
1 change: 1 addition & 0 deletions packages/@azure/arm-sql/lib/models/jobExecutionsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export {
JobVersion,
LongTermRetentionBackup,
BackupLongTermRetentionPolicy,
ManagedBackupShortTermRetentionPolicy,
ManagedDatabase,
ServerAutomaticTuning,
AutomaticTuningServerOptions,
Expand Down
Loading