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 @@ -80,11 +80,8 @@ export {
ApplicationGatewayBackendHealthPool,
ApplicationGatewayBackendHealthHttpSettings,
ApplicationGatewayBackendHealthServer,
ApplicationGatewayAvailableServerVariablesResult,
ErrorModel,
ErrorDetails,
ApplicationGatewayAvailableRequestHeadersResult,
ApplicationGatewayAvailableResponseHeadersResult,
ApplicationGatewayAvailableWafRuleSetsResult,
ApplicationGatewayFirewallRuleSet,
ApplicationGatewayFirewallRuleGroup,
Expand Down
80 changes: 26 additions & 54 deletions packages/@azure/arm-network/lib/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2911,48 +2911,6 @@ export interface ApplicationGateway extends Resource {
identity?: ManagedServiceIdentity;
}

/**
* @interface
* An interface representing ApplicationGatewayAvailableServerVariablesResult.
* Response for ApplicationGatewayAvailableServerVariables API service call.
*
*/
export interface ApplicationGatewayAvailableServerVariablesResult {
/**
* @member {string[]} [value] The list of supported server variables in
* application gateway.
*/
value?: string[];
}

/**
* @interface
* An interface representing ApplicationGatewayAvailableRequestHeadersResult.
* Response for ApplicationGatewayAvailableRequestHeaders API service call.
*
*/
export interface ApplicationGatewayAvailableRequestHeadersResult {
/**
* @member {string[]} [value] The list of supported request headers in
* application gateway.
*/
value?: string[];
}

/**
* @interface
* An interface representing ApplicationGatewayAvailableResponseHeadersResult.
* Response for ApplicationGatewayAvailableResponeHeaders API service call.
*
*/
export interface ApplicationGatewayAvailableResponseHeadersResult {
/**
* @member {string[]} [value] The list of supported response header in
* application gateway.
*/
value?: string[];
}

/**
* @interface
* An interface representing ApplicationGatewayFirewallRule.
Expand Down Expand Up @@ -3242,7 +3200,7 @@ export interface AzureFirewallIPConfiguration extends SubResource {
export interface AzureFirewallRCAction {
/**
* @member {AzureFirewallRCActionType} [type] The type of action. Possible
* values include: 'Allow', 'Deny'
* values include: 'Allow', 'Deny', 'Alert'
*/
type?: AzureFirewallRCActionType;
}
Expand Down Expand Up @@ -3559,6 +3517,12 @@ export interface AzureFirewall extends Resource {
* 'Deleting', 'Failed'
*/
provisioningState?: ProvisioningState;
/**
* @member {AzureFirewallThreatIntelMode} [threatIntelMode] The operation
* mode for Threat Intelligence. Possible values include: 'Alert', 'Deny',
* 'Off'
*/
threatIntelMode?: AzureFirewallThreatIntelMode;
/**
* @member {string} [etag] Gets a unique read-only string that changes
* whenever the resource is updated.
Expand Down Expand Up @@ -7514,7 +7478,7 @@ export interface ConnectionStateSnapshot {
export interface ConnectionMonitorQueryResult {
/**
* @member {ConnectionMonitorSourceStatus} [sourceStatus] Status of
* connection monitor source. Possible values include: 'Uknown', 'Active',
* connection monitor source. Possible values include: 'Unknown', 'Active',
* 'Inactive'
*/
sourceStatus?: ConnectionMonitorSourceStatus;
Expand Down Expand Up @@ -11785,11 +11749,11 @@ export type ProvisioningState = 'Succeeded' | 'Updating' | 'Deleting' | 'Failed'

/**
* Defines values for AzureFirewallRCActionType.
* Possible values include: 'Allow', 'Deny'
* Possible values include: 'Allow', 'Deny', 'Alert'
* @readonly
* @enum {string}
*/
export type AzureFirewallRCActionType = 'Allow' | 'Deny';
export type AzureFirewallRCActionType = 'Allow' | 'Deny' | 'Alert';

/**
* Defines values for AzureFirewallApplicationRuleProtocolType.
Expand All @@ -11815,6 +11779,14 @@ export type AzureFirewallNatRCActionType = 'Snat' | 'Dnat';
*/
export type AzureFirewallNetworkRuleProtocol = 'TCP' | 'UDP' | 'Any' | 'ICMP';

/**
* Defines values for AzureFirewallThreatIntelMode.
* Possible values include: 'Alert', 'Deny', 'Off'
* @readonly
* @enum {string}
*/
export type AzureFirewallThreatIntelMode = 'Alert' | 'Deny' | 'Off';

/**
* Defines values for DdosCustomPolicyProtocol.
* Possible values include: 'Tcp', 'Udp', 'Syn'
Expand Down Expand Up @@ -12108,11 +12080,11 @@ export type ConnectionStatus = 'Unknown' | 'Connected' | 'Disconnected' | 'Degra

/**
* Defines values for ConnectionMonitorSourceStatus.
* Possible values include: 'Uknown', 'Active', 'Inactive'
* Possible values include: 'Unknown', 'Active', 'Inactive'
* @readonly
* @enum {string}
*/
export type ConnectionMonitorSourceStatus = 'Uknown' | 'Active' | 'Inactive';
export type ConnectionMonitorSourceStatus = 'Unknown' | 'Active' | 'Inactive';

/**
* Defines values for ConnectionState.
Expand Down Expand Up @@ -12476,7 +12448,7 @@ export type ApplicationGatewaysBackendHealthResponse = ApplicationGatewayBackend
/**
* Contains response data for the listAvailableServerVariables operation.
*/
export type ApplicationGatewaysListAvailableServerVariablesResponse = ApplicationGatewayAvailableServerVariablesResult & {
export type ApplicationGatewaysListAvailableServerVariablesResponse = Array<string> & {
/**
* The underlying HTTP response.
*/
Expand All @@ -12488,14 +12460,14 @@ export type ApplicationGatewaysListAvailableServerVariablesResponse = Applicatio
/**
* The response body as parsed JSON or XML
*/
parsedBody: ApplicationGatewayAvailableServerVariablesResult;
parsedBody: string[];
};
};

/**
* Contains response data for the listAvailableRequestHeaders operation.
*/
export type ApplicationGatewaysListAvailableRequestHeadersResponse = ApplicationGatewayAvailableRequestHeadersResult & {
export type ApplicationGatewaysListAvailableRequestHeadersResponse = Array<string> & {
/**
* The underlying HTTP response.
*/
Expand All @@ -12507,14 +12479,14 @@ export type ApplicationGatewaysListAvailableRequestHeadersResponse = Application
/**
* The response body as parsed JSON or XML
*/
parsedBody: ApplicationGatewayAvailableRequestHeadersResult;
parsedBody: string[];
};
};

/**
* Contains response data for the listAvailableResponseHeaders operation.
*/
export type ApplicationGatewaysListAvailableResponseHeadersResponse = ApplicationGatewayAvailableResponseHeadersResult & {
export type ApplicationGatewaysListAvailableResponseHeadersResponse = Array<string> & {
/**
* The underlying HTTP response.
*/
Expand All @@ -12526,7 +12498,7 @@ export type ApplicationGatewaysListAvailableResponseHeadersResponse = Applicatio
/**
* The response body as parsed JSON or XML
*/
parsedBody: ApplicationGatewayAvailableResponseHeadersResult;
parsedBody: string[];
};
};

Expand Down
69 changes: 6 additions & 63 deletions packages/@azure/arm-network/lib/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3910,69 +3910,6 @@ export const ApplicationGateway: msRest.CompositeMapper = {
}
};

export const ApplicationGatewayAvailableServerVariablesResult: msRest.CompositeMapper = {
serializedName: "ApplicationGatewayAvailableServerVariablesResult",
type: {
name: "Composite",
className: "ApplicationGatewayAvailableServerVariablesResult",
modelProperties: {
value: {
serializedName: "value",
type: {
name: "Sequence",
element: {
type: {
name: "String"
}
}
}
}
}
}
};

export const ApplicationGatewayAvailableRequestHeadersResult: msRest.CompositeMapper = {
serializedName: "ApplicationGatewayAvailableRequestHeadersResult",
type: {
name: "Composite",
className: "ApplicationGatewayAvailableRequestHeadersResult",
modelProperties: {
value: {
serializedName: "value",
type: {
name: "Sequence",
element: {
type: {
name: "String"
}
}
}
}
}
}
};

export const ApplicationGatewayAvailableResponseHeadersResult: msRest.CompositeMapper = {
serializedName: "ApplicationGatewayAvailableResponseHeadersResult",
type: {
name: "Composite",
className: "ApplicationGatewayAvailableResponseHeadersResult",
modelProperties: {
value: {
serializedName: "value",
type: {
name: "Sequence",
element: {
type: {
name: "String"
}
}
}
}
}
}
};

export const ApplicationGatewayFirewallRule: msRest.CompositeMapper = {
serializedName: "ApplicationGatewayFirewallRule",
type: {
Expand Down Expand Up @@ -4881,6 +4818,12 @@ export const AzureFirewall: msRest.CompositeMapper = {
name: "String"
}
},
threatIntelMode: {
serializedName: "properties.threatIntelMode",
type: {
name: "String"
}
},
etag: {
readOnly: true,
serializedName: "etag",
Expand Down
54 changes: 42 additions & 12 deletions packages/@azure/arm-network/lib/operations/applicationGateways.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,13 @@ export class ApplicationGateways {
/**
* @param callback The callback
*/
listAvailableServerVariables(callback: msRest.ServiceCallback<Models.ApplicationGatewayAvailableServerVariablesResult>): void;
listAvailableServerVariables(callback: msRest.ServiceCallback<string[]>): void;
/**
* @param options The optional parameters
* @param callback The callback
*/
listAvailableServerVariables(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationGatewayAvailableServerVariablesResult>): void;
listAvailableServerVariables(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationGatewayAvailableServerVariablesResult>, callback?: msRest.ServiceCallback<Models.ApplicationGatewayAvailableServerVariablesResult>): Promise<Models.ApplicationGatewaysListAvailableServerVariablesResponse> {
listAvailableServerVariables(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<string[]>): void;
listAvailableServerVariables(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<string[]>, callback?: msRest.ServiceCallback<string[]>): Promise<Models.ApplicationGatewaysListAvailableServerVariablesResponse> {
return this.client.sendOperationRequest(
{
options
Expand All @@ -218,13 +218,13 @@ export class ApplicationGateways {
/**
* @param callback The callback
*/
listAvailableRequestHeaders(callback: msRest.ServiceCallback<Models.ApplicationGatewayAvailableRequestHeadersResult>): void;
listAvailableRequestHeaders(callback: msRest.ServiceCallback<string[]>): void;
/**
* @param options The optional parameters
* @param callback The callback
*/
listAvailableRequestHeaders(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationGatewayAvailableRequestHeadersResult>): void;
listAvailableRequestHeaders(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationGatewayAvailableRequestHeadersResult>, callback?: msRest.ServiceCallback<Models.ApplicationGatewayAvailableRequestHeadersResult>): Promise<Models.ApplicationGatewaysListAvailableRequestHeadersResponse> {
listAvailableRequestHeaders(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<string[]>): void;
listAvailableRequestHeaders(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<string[]>, callback?: msRest.ServiceCallback<string[]>): Promise<Models.ApplicationGatewaysListAvailableRequestHeadersResponse> {
return this.client.sendOperationRequest(
{
options
Expand All @@ -242,13 +242,13 @@ export class ApplicationGateways {
/**
* @param callback The callback
*/
listAvailableResponseHeaders(callback: msRest.ServiceCallback<Models.ApplicationGatewayAvailableResponseHeadersResult>): void;
listAvailableResponseHeaders(callback: msRest.ServiceCallback<string[]>): void;
/**
* @param options The optional parameters
* @param callback The callback
*/
listAvailableResponseHeaders(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationGatewayAvailableResponseHeadersResult>): void;
listAvailableResponseHeaders(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationGatewayAvailableResponseHeadersResult>, callback?: msRest.ServiceCallback<Models.ApplicationGatewayAvailableResponseHeadersResult>): Promise<Models.ApplicationGatewaysListAvailableResponseHeadersResponse> {
listAvailableResponseHeaders(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<string[]>): void;
listAvailableResponseHeaders(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<string[]>, callback?: msRest.ServiceCallback<string[]>): Promise<Models.ApplicationGatewaysListAvailableResponseHeadersResponse> {
return this.client.sendOperationRequest(
{
options
Expand Down Expand Up @@ -642,7 +642,17 @@ const listAvailableServerVariablesOperationSpec: msRest.OperationSpec = {
],
responses: {
200: {
bodyMapper: Mappers.ApplicationGatewayAvailableServerVariablesResult
bodyMapper: {
serializedName: "parsedResponse",
type: {
name: "Sequence",
element: {
type: {
name: "String"
}
}
}
}
},
default: {
bodyMapper: Mappers.ErrorModel
Expand All @@ -665,7 +675,17 @@ const listAvailableRequestHeadersOperationSpec: msRest.OperationSpec = {
],
responses: {
200: {
bodyMapper: Mappers.ApplicationGatewayAvailableRequestHeadersResult
bodyMapper: {
serializedName: "parsedResponse",
type: {
name: "Sequence",
element: {
type: {
name: "String"
}
}
}
}
},
default: {
bodyMapper: Mappers.ErrorModel
Expand All @@ -688,7 +708,17 @@ const listAvailableResponseHeadersOperationSpec: msRest.OperationSpec = {
],
responses: {
200: {
bodyMapper: Mappers.ApplicationGatewayAvailableResponseHeadersResult
bodyMapper: {
serializedName: "parsedResponse",
type: {
name: "Sequence",
element: {
type: {
name: "String"
}
}
}
}
},
default: {
bodyMapper: Mappers.ErrorModel
Expand Down