Skip to content

Commit

Permalink
[AutoPR] web/resource-manager (Azure#324)
Browse files Browse the repository at this point in the history
* [AutoPR web/resource-manager] Fix network trace API REST format (Azure#249)

* Generated from 5d96e9d924cbd71c7d5a54352736be5621364013

Fix network trace API REST format

* Generated from f05337dd6b902f7f9125a4cc1d2096d315646214

Fix operationIds

* Generated from 25ba387503fdb8834ed08a9334068c0d8a0b2698

Fix operation Ids
  • Loading branch information
AutorestCI authored and kpajdzik committed Oct 26, 2018
1 parent 999a6df commit 44519e1
Show file tree
Hide file tree
Showing 5 changed files with 884 additions and 13 deletions.
2 changes: 1 addition & 1 deletion packages/@azure/arm-appservice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to
console.log("The result is:");
console.log(result);
}).catch((err) => {
console.log('An error occurred:');
console.log("An error occurred:");
console.error(err);
});
});
Expand Down
272 changes: 272 additions & 0 deletions packages/@azure/arm-appservice/lib/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9970,6 +9970,30 @@ export interface WebAppsRestartSlotOptionalParams extends msRest.RequestOptionsB
synchronous?: boolean;
}

/**
* @interface
* An interface representing WebAppsStartNetworkTraceSlotOptionalParams.
* Optional Parameters.
*
* @extends RequestOptionsBase
*/
export interface WebAppsStartNetworkTraceSlotOptionalParams extends msRest.RequestOptionsBase {
/**
* @member {number} [durationInSeconds] The duration to keep capturing in
* seconds.
*/
durationInSeconds?: number;
/**
* @member {number} [maxFrameLength] The maximum frame length in bytes
* (Optional).
*/
maxFrameLength?: number;
/**
* @member {string} [sasUrl] The Blob URL to store capture file.
*/
sasUrl?: string;
}

/**
* @interface
* An interface representing WebAppsListUsagesSlotOptionalParams.
Expand All @@ -9987,6 +10011,30 @@ export interface WebAppsListUsagesSlotOptionalParams extends msRest.RequestOptio
filter?: string;
}

/**
* @interface
* An interface representing WebAppsStartNetworkTraceOptionalParams.
* Optional Parameters.
*
* @extends RequestOptionsBase
*/
export interface WebAppsStartNetworkTraceOptionalParams extends msRest.RequestOptionsBase {
/**
* @member {number} [durationInSeconds] The duration to keep capturing in
* seconds.
*/
durationInSeconds?: number;
/**
* @member {number} [maxFrameLength] The maximum frame length in bytes
* (Optional).
*/
maxFrameLength?: number;
/**
* @member {string} [sasUrl] The Blob URL to store capture file.
*/
sasUrl?: string;
}

/**
* @interface
* An interface representing WebAppsListUsagesOptionalParams.
Expand Down Expand Up @@ -10052,6 +10100,54 @@ export interface WebAppsBeginStartWebSiteNetworkTraceOperationSlotOptionalParams
sasUrl?: string;
}

/**
* @interface
* An interface representing WebAppsBeginStartNetworkTraceSlotOptionalParams.
* Optional Parameters.
*
* @extends RequestOptionsBase
*/
export interface WebAppsBeginStartNetworkTraceSlotOptionalParams extends msRest.RequestOptionsBase {
/**
* @member {number} [durationInSeconds] The duration to keep capturing in
* seconds.
*/
durationInSeconds?: number;
/**
* @member {number} [maxFrameLength] The maximum frame length in bytes
* (Optional).
*/
maxFrameLength?: number;
/**
* @member {string} [sasUrl] The Blob URL to store capture file.
*/
sasUrl?: string;
}

/**
* @interface
* An interface representing WebAppsBeginStartNetworkTraceOptionalParams.
* Optional Parameters.
*
* @extends RequestOptionsBase
*/
export interface WebAppsBeginStartNetworkTraceOptionalParams extends msRest.RequestOptionsBase {
/**
* @member {number} [durationInSeconds] The duration to keep capturing in
* seconds.
*/
durationInSeconds?: number;
/**
* @member {number} [maxFrameLength] The maximum frame length in bytes
* (Optional).
*/
maxFrameLength?: number;
/**
* @member {string} [sasUrl] The Blob URL to store capture file.
*/
sasUrl?: string;
}

/**
* @interface
* An interface representing AppServiceEnvironmentsDeleteMethodOptionalParams.
Expand Down Expand Up @@ -16220,6 +16316,48 @@ export type WebAppsGetNetworkTracesResponse = Array<NetworkTrace> & {
};
};

/**
* Contains response data for the getNetworkTraceOperationV2 operation.
*/
export type WebAppsGetNetworkTraceOperationV2Response = {
/**
* The parsed response body.
*/
body: any;
/**
* 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: any;
};
};

/**
* Contains response data for the getNetworkTracesV2 operation.
*/
export type WebAppsGetNetworkTracesV2Response = Array<NetworkTrace> & {
/**
* 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: NetworkTrace[];
};
};

/**
* Contains response data for the listPerfMonCounters operation.
*/
Expand Down Expand Up @@ -18370,6 +18508,48 @@ export type WebAppsGetNetworkTracesSlotResponse = Array<NetworkTrace> & {
};
};

/**
* Contains response data for the getNetworkTraceOperationSlotV2 operation.
*/
export type WebAppsGetNetworkTraceOperationSlotV2Response = {
/**
* The parsed response body.
*/
body: any;
/**
* 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: any;
};
};

/**
* Contains response data for the getNetworkTracesSlotV2 operation.
*/
export type WebAppsGetNetworkTracesSlotV2Response = Array<NetworkTrace> & {
/**
* 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: NetworkTrace[];
};
};

/**
* Contains response data for the listPerfMonCountersSlot operation.
*/
Expand Down Expand Up @@ -18893,6 +19073,29 @@ export type WebAppsUpdateSourceControlSlotResponse = SiteSourceControl & {
};
};

/**
* Contains response data for the startNetworkTraceSlot operation.
*/
export type WebAppsStartNetworkTraceSlotResponse = {
/**
* The parsed response body.
*/
body: any;
/**
* 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: any;
};
};

/**
* Contains response data for the listTriggeredWebJobsSlot operation.
*/
Expand Down Expand Up @@ -19254,6 +19457,29 @@ export type WebAppsUpdateSourceControlResponse = SiteSourceControl & {
};
};

/**
* Contains response data for the startNetworkTrace operation.
*/
export type WebAppsStartNetworkTraceResponse = {
/**
* The parsed response body.
*/
body: any;
/**
* 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: any;
};
};

/**
* Contains response data for the listTriggeredWebJobs operation.
*/
Expand Down Expand Up @@ -19851,6 +20077,29 @@ export type WebAppsBeginCreateOrUpdateSourceControlSlotResponse = SiteSourceCont
};
};

/**
* Contains response data for the beginStartNetworkTraceSlot operation.
*/
export type WebAppsBeginStartNetworkTraceSlotResponse = {
/**
* The parsed response body.
*/
body: any;
/**
* 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: any;
};
};

/**
* Contains response data for the beginCreateOrUpdateSourceControl operation.
*/
Expand All @@ -19870,6 +20119,29 @@ export type WebAppsBeginCreateOrUpdateSourceControlResponse = SiteSourceControl
};
};

/**
* Contains response data for the beginStartNetworkTrace operation.
*/
export type WebAppsBeginStartNetworkTraceResponse = {
/**
* The parsed response body.
*/
body: any;
/**
* 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: any;
};
};

/**
* Contains response data for the listNext operation.
*/
Expand Down
Loading

0 comments on commit 44519e1

Please sign in to comment.