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

Commit

Permalink
Generated from 45ce1882ee5af7ce8fa4f25cf5f871bc7aa9821b (#3296)
Browse files Browse the repository at this point in the history
Include DRSecondary endpoint for GetPublishingProfileXml
  • Loading branch information
AutorestCI authored Aug 9, 2018
1 parent b7589fd commit 481de1e
Show file tree
Hide file tree
Showing 4 changed files with 153 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class CsmPublishingProfileOptions {
* FileZilla3
* WebDeploy -- default
* Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'
* @member {boolean} [includeDisasterRecoveryEndpoints] Include the
* DisasterRecover endpoint if true
*/
constructor() {
}
Expand All @@ -45,6 +47,13 @@ class CsmPublishingProfileOptions {
type: {
name: 'String'
}
},
includeDisasterRecoveryEndpoints: {
required: false,
serializedName: 'includeDisasterRecoveryEndpoints',
type: {
name: 'Boolean'
}
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions lib/services/websiteManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4435,9 +4435,12 @@ export interface ContinuousWebJob extends ProxyOnlyResource {
* FileZilla3
* WebDeploy -- default
* Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'
* @member {boolean} [includeDisasterRecoveryEndpoints] Include the
* DisasterRecover endpoint if true
*/
export interface CsmPublishingProfileOptions {
format?: string;
includeDisasterRecoveryEndpoints?: boolean;
}

/**
Expand Down
76 changes: 54 additions & 22 deletions lib/services/websiteManagement2/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21873,13 +21873,21 @@ export interface WebApps {
*
* @param {string} name Name of the app.
*
* @param {object} [options] Optional Parameters.
* @param {object} publishingProfileOptions Specifies publishingProfileOptions
* for publishing profile. For example, use {"format": "FileZilla3"} to get a
* FileZilla publishing profile.
*
* @param {string} [options.format] Name of the format. Valid values are:
* @param {string} [publishingProfileOptions.format] Name of the format. Valid
* values are:
* FileZilla3
* WebDeploy -- default
* Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'
*
* @param {boolean} [publishingProfileOptions.includeDisasterRecoveryEndpoints]
* Include the DisasterRecover endpoint if true
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
Expand All @@ -21889,7 +21897,7 @@ export interface WebApps {
*
* @reject {Error|ServiceError} - The error object.
*/
listPublishingProfileXmlWithSecretsWithHttpOperationResponse(resourceGroupName: string, name: string, options?: { format? : string, customHeaders? : { [headerName: string]: string; } }): Promise<HttpOperationResponse<stream.Readable>>;
listPublishingProfileXmlWithSecretsWithHttpOperationResponse(resourceGroupName: string, name: string, publishingProfileOptions: models.CsmPublishingProfileOptions, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<HttpOperationResponse<stream.Readable>>;

/**
* @summary Gets the publishing profile for an app (or deployment slot, if
Expand All @@ -21902,13 +21910,21 @@ export interface WebApps {
*
* @param {string} name Name of the app.
*
* @param {object} [options] Optional Parameters.
* @param {object} publishingProfileOptions Specifies publishingProfileOptions
* for publishing profile. For example, use {"format": "FileZilla3"} to get a
* FileZilla publishing profile.
*
* @param {string} [options.format] Name of the format. Valid values are:
* @param {string} [publishingProfileOptions.format] Name of the format. Valid
* values are:
* FileZilla3
* WebDeploy -- default
* Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'
*
* @param {boolean} [publishingProfileOptions.includeDisasterRecoveryEndpoints]
* Include the DisasterRecover endpoint if true
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
Expand All @@ -21933,9 +21949,9 @@ export interface WebApps {
*
* {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
*/
listPublishingProfileXmlWithSecrets(resourceGroupName: string, name: string, options?: { format? : string, customHeaders? : { [headerName: string]: string; } }): Promise<stream.Readable>;
listPublishingProfileXmlWithSecrets(resourceGroupName: string, name: string, callback: ServiceCallback<stream.Readable>): void;
listPublishingProfileXmlWithSecrets(resourceGroupName: string, name: string, options: { format? : string, customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<stream.Readable>): void;
listPublishingProfileXmlWithSecrets(resourceGroupName: string, name: string, publishingProfileOptions: models.CsmPublishingProfileOptions, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<stream.Readable>;
listPublishingProfileXmlWithSecrets(resourceGroupName: string, name: string, publishingProfileOptions: models.CsmPublishingProfileOptions, callback: ServiceCallback<stream.Readable>): void;
listPublishingProfileXmlWithSecrets(resourceGroupName: string, name: string, publishingProfileOptions: models.CsmPublishingProfileOptions, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<stream.Readable>): void;


/**
Expand Down Expand Up @@ -36186,16 +36202,24 @@ export interface WebApps {
*
* @param {string} name Name of the app.
*
* @param {string} slot Name of the deployment slot. If a slot is not
* specified, the API will get the publishing profile for the production slot.
* @param {object} publishingProfileOptions Specifies publishingProfileOptions
* for publishing profile. For example, use {"format": "FileZilla3"} to get a
* FileZilla publishing profile.
*
* @param {object} [options] Optional Parameters.
*
* @param {string} [options.format] Name of the format. Valid values are:
* @param {string} [publishingProfileOptions.format] Name of the format. Valid
* values are:
* FileZilla3
* WebDeploy -- default
* Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'
*
* @param {boolean} [publishingProfileOptions.includeDisasterRecoveryEndpoints]
* Include the DisasterRecover endpoint if true
*
* @param {string} slot Name of the deployment slot. If a slot is not
* specified, the API will get the publishing profile for the production slot.
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
Expand All @@ -36205,7 +36229,7 @@ export interface WebApps {
*
* @reject {Error|ServiceError} - The error object.
*/
listPublishingProfileXmlWithSecretsSlotWithHttpOperationResponse(resourceGroupName: string, name: string, slot: string, options?: { format? : string, customHeaders? : { [headerName: string]: string; } }): Promise<HttpOperationResponse<stream.Readable>>;
listPublishingProfileXmlWithSecretsSlotWithHttpOperationResponse(resourceGroupName: string, name: string, publishingProfileOptions: models.CsmPublishingProfileOptions, slot: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<HttpOperationResponse<stream.Readable>>;

/**
* @summary Gets the publishing profile for an app (or deployment slot, if
Expand All @@ -36218,16 +36242,24 @@ export interface WebApps {
*
* @param {string} name Name of the app.
*
* @param {string} slot Name of the deployment slot. If a slot is not
* specified, the API will get the publishing profile for the production slot.
*
* @param {object} [options] Optional Parameters.
* @param {object} publishingProfileOptions Specifies publishingProfileOptions
* for publishing profile. For example, use {"format": "FileZilla3"} to get a
* FileZilla publishing profile.
*
* @param {string} [options.format] Name of the format. Valid values are:
* @param {string} [publishingProfileOptions.format] Name of the format. Valid
* values are:
* FileZilla3
* WebDeploy -- default
* Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'
*
* @param {boolean} [publishingProfileOptions.includeDisasterRecoveryEndpoints]
* Include the DisasterRecover endpoint if true
*
* @param {string} slot Name of the deployment slot. If a slot is not
* specified, the API will get the publishing profile for the production slot.
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
Expand All @@ -36252,9 +36284,9 @@ export interface WebApps {
*
* {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
*/
listPublishingProfileXmlWithSecretsSlot(resourceGroupName: string, name: string, slot: string, options?: { format? : string, customHeaders? : { [headerName: string]: string; } }): Promise<stream.Readable>;
listPublishingProfileXmlWithSecretsSlot(resourceGroupName: string, name: string, slot: string, callback: ServiceCallback<stream.Readable>): void;
listPublishingProfileXmlWithSecretsSlot(resourceGroupName: string, name: string, slot: string, options: { format? : string, customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<stream.Readable>): void;
listPublishingProfileXmlWithSecretsSlot(resourceGroupName: string, name: string, publishingProfileOptions: models.CsmPublishingProfileOptions, slot: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<stream.Readable>;
listPublishingProfileXmlWithSecretsSlot(resourceGroupName: string, name: string, publishingProfileOptions: models.CsmPublishingProfileOptions, slot: string, callback: ServiceCallback<stream.Readable>): void;
listPublishingProfileXmlWithSecretsSlot(resourceGroupName: string, name: string, publishingProfileOptions: models.CsmPublishingProfileOptions, slot: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<stream.Readable>): void;


/**
Expand Down
Loading

0 comments on commit 481de1e

Please sign in to comment.