Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR @azure/arm-cdn] Fix CDN matchValues and selector fields to be optional #1982

Closed
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
34 changes: 17 additions & 17 deletions sdk/cdn/arm-cdn/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ export interface RemoteAddressMatchConditionParameters {
* semantics. If any of them match the variable with the given operator this match condition is
* considered a match.
*/
matchValues: string[];
matchValues?: string[];
/**
* List of transforms
*/
Expand Down Expand Up @@ -653,7 +653,7 @@ export interface RequestMethodMatchConditionParameters {
/**
* The match value for the condition of the delivery rule
*/
matchValues: string[];
matchValues?: string[];
}

/**
Expand Down Expand Up @@ -686,7 +686,7 @@ export interface QueryStringMatchConditionParameters {
/**
* The match value for the condition of the delivery rule
*/
matchValues: string[];
matchValues?: string[];
/**
* List of transforms
*/
Expand Down Expand Up @@ -714,7 +714,7 @@ export interface PostArgsMatchConditionParameters {
/**
* Name of PostArg to be matched
*/
selector: string;
selector?: string;
/**
* Describes operator to be matched. Possible values include: 'Any', 'Equal', 'Contains',
* 'BeginsWith', 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan', 'GreaterThanOrEqual'
Expand All @@ -727,7 +727,7 @@ export interface PostArgsMatchConditionParameters {
/**
* The match value for the condition of the delivery rule
*/
matchValues: string[];
matchValues?: string[];
/**
* List of transforms
*/
Expand Down Expand Up @@ -764,7 +764,7 @@ export interface RequestUriMatchConditionParameters {
/**
* The match value for the condition of the delivery rule
*/
matchValues: string[];
matchValues?: string[];
/**
* List of transforms
*/
Expand Down Expand Up @@ -792,7 +792,7 @@ export interface RequestHeaderMatchConditionParameters {
/**
* Name of Header to be matched
*/
selector: string;
selector?: string;
/**
* Describes operator to be matched. Possible values include: 'Any', 'Equal', 'Contains',
* 'BeginsWith', 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan', 'GreaterThanOrEqual'
Expand All @@ -805,7 +805,7 @@ export interface RequestHeaderMatchConditionParameters {
/**
* The match value for the condition of the delivery rule
*/
matchValues: string[];
matchValues?: string[];
/**
* List of transforms
*/
Expand Down Expand Up @@ -842,7 +842,7 @@ export interface RequestBodyMatchConditionParameters {
/**
* The match value for the condition of the delivery rule
*/
matchValues: string[];
matchValues?: string[];
/**
* List of transforms
*/
Expand Down Expand Up @@ -874,7 +874,7 @@ export interface RequestSchemeMatchConditionParameters {
/**
* The match value for the condition of the delivery rule
*/
matchValues: string[];
matchValues?: string[];
}

/**
Expand Down Expand Up @@ -908,7 +908,7 @@ export interface UrlPathMatchConditionParameters {
/**
* The match value for the condition of the delivery rule
*/
matchValues: string[];
matchValues?: string[];
/**
* List of transforms
*/
Expand Down Expand Up @@ -945,7 +945,7 @@ export interface UrlFileExtensionMatchConditionParameters {
/**
* The match value for the condition of the delivery rule
*/
matchValues: string[];
matchValues?: string[];
/**
* List of transforms
*/
Expand Down Expand Up @@ -982,7 +982,7 @@ export interface UrlFileNameMatchConditionParameters {
/**
* The match value for the condition of the delivery rule
*/
matchValues: string[];
matchValues?: string[];
/**
* List of transforms
*/
Expand Down Expand Up @@ -1014,7 +1014,7 @@ export interface HttpVersionMatchConditionParameters {
/**
* The match value for the condition of the delivery rule
*/
matchValues: string[];
matchValues?: string[];
}

/**
Expand All @@ -1038,7 +1038,7 @@ export interface CookiesMatchConditionParameters {
/**
* Name of Cookies to be matched
*/
selector: string;
selector?: string;
/**
* Describes operator to be matched. Possible values include: 'Any', 'Equal', 'Contains',
* 'BeginsWith', 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan', 'GreaterThanOrEqual'
Expand All @@ -1051,7 +1051,7 @@ export interface CookiesMatchConditionParameters {
/**
* The match value for the condition of the delivery rule
*/
matchValues: string[];
matchValues?: string[];
/**
* List of transforms
*/
Expand Down Expand Up @@ -1083,7 +1083,7 @@ export interface IsDeviceMatchConditionParameters {
/**
* The match value for the condition of the delivery rule
*/
matchValues: string[];
matchValues?: string[];
/**
* List of transforms
*/
Expand Down
17 changes: 0 additions & 17 deletions sdk/cdn/arm-cdn/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,6 @@ export const RemoteAddressMatchConditionParameters: msRest.CompositeMapper = {
}
},
matchValues: {
required: true,
serializedName: "matchValues",
type: {
name: "Sequence",
Expand Down Expand Up @@ -1135,7 +1134,6 @@ export const RequestMethodMatchConditionParameters: msRest.CompositeMapper = {
}
},
matchValues: {
required: true,
serializedName: "matchValues",
type: {
name: "Sequence",
Expand Down Expand Up @@ -1201,7 +1199,6 @@ export const QueryStringMatchConditionParameters: msRest.CompositeMapper = {
}
},
matchValues: {
required: true,
serializedName: "matchValues",
type: {
name: "Sequence",
Expand Down Expand Up @@ -1265,7 +1262,6 @@ export const PostArgsMatchConditionParameters: msRest.CompositeMapper = {
}
},
selector: {
required: true,
serializedName: "selector",
type: {
name: "String"
Expand All @@ -1285,7 +1281,6 @@ export const PostArgsMatchConditionParameters: msRest.CompositeMapper = {
}
},
matchValues: {
required: true,
serializedName: "matchValues",
type: {
name: "Sequence",
Expand Down Expand Up @@ -1362,7 +1357,6 @@ export const RequestUriMatchConditionParameters: msRest.CompositeMapper = {
}
},
matchValues: {
required: true,
serializedName: "matchValues",
type: {
name: "Sequence",
Expand Down Expand Up @@ -1426,7 +1420,6 @@ export const RequestHeaderMatchConditionParameters: msRest.CompositeMapper = {
}
},
selector: {
required: true,
serializedName: "selector",
type: {
name: "String"
Expand All @@ -1446,7 +1439,6 @@ export const RequestHeaderMatchConditionParameters: msRest.CompositeMapper = {
}
},
matchValues: {
required: true,
serializedName: "matchValues",
type: {
name: "Sequence",
Expand Down Expand Up @@ -1523,7 +1515,6 @@ export const RequestBodyMatchConditionParameters: msRest.CompositeMapper = {
}
},
matchValues: {
required: true,
serializedName: "matchValues",
type: {
name: "Sequence",
Expand Down Expand Up @@ -1602,7 +1593,6 @@ export const RequestSchemeMatchConditionParameters: msRest.CompositeMapper = {
}
},
matchValues: {
required: true,
serializedName: "matchValues",
type: {
name: "Sequence",
Expand Down Expand Up @@ -1668,7 +1658,6 @@ export const UrlPathMatchConditionParameters: msRest.CompositeMapper = {
}
},
matchValues: {
required: true,
serializedName: "matchValues",
type: {
name: "Sequence",
Expand Down Expand Up @@ -1745,7 +1734,6 @@ export const UrlFileExtensionMatchConditionParameters: msRest.CompositeMapper =
}
},
matchValues: {
required: true,
serializedName: "matchValues",
type: {
name: "Sequence",
Expand Down Expand Up @@ -1822,7 +1810,6 @@ export const UrlFileNameMatchConditionParameters: msRest.CompositeMapper = {
}
},
matchValues: {
required: true,
serializedName: "matchValues",
type: {
name: "Sequence",
Expand Down Expand Up @@ -1901,7 +1888,6 @@ export const HttpVersionMatchConditionParameters: msRest.CompositeMapper = {
}
},
matchValues: {
required: true,
serializedName: "matchValues",
type: {
name: "Sequence",
Expand Down Expand Up @@ -1954,7 +1940,6 @@ export const CookiesMatchConditionParameters: msRest.CompositeMapper = {
}
},
selector: {
required: true,
serializedName: "selector",
type: {
name: "String"
Expand All @@ -1974,7 +1959,6 @@ export const CookiesMatchConditionParameters: msRest.CompositeMapper = {
}
},
matchValues: {
required: true,
serializedName: "matchValues",
type: {
name: "Sequence",
Expand Down Expand Up @@ -2053,7 +2037,6 @@ export const IsDeviceMatchConditionParameters: msRest.CompositeMapper = {
}
},
matchValues: {
required: true,
serializedName: "matchValues",
type: {
name: "Sequence",
Expand Down