From 6c1aec33b74fb00a7cb9aa292632701f7574b204 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Tue, 6 Oct 2020 18:41:03 +0000 Subject: [PATCH] Generated from d8f6ae0d26fd2b9b75e9bc494d56bf95e5bcd851 --- sdk/cdn/arm-cdn/src/models/index.ts | 36 +++++++++++++-------------- sdk/cdn/arm-cdn/src/models/mappers.ts | 18 -------------- 2 files changed, 18 insertions(+), 36 deletions(-) diff --git a/sdk/cdn/arm-cdn/src/models/index.ts b/sdk/cdn/arm-cdn/src/models/index.ts index 59dcfb938a28..b37a0f1f4808 100644 --- a/sdk/cdn/arm-cdn/src/models/index.ts +++ b/sdk/cdn/arm-cdn/src/models/index.ts @@ -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 */ @@ -653,7 +653,7 @@ export interface RequestMethodMatchConditionParameters { /** * The match value for the condition of the delivery rule */ - matchValues: string[]; + matchValues?: string[]; } /** @@ -686,7 +686,7 @@ export interface QueryStringMatchConditionParameters { /** * The match value for the condition of the delivery rule */ - matchValues: string[]; + matchValues?: string[]; /** * List of transforms */ @@ -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' @@ -727,7 +727,7 @@ export interface PostArgsMatchConditionParameters { /** * The match value for the condition of the delivery rule */ - matchValues: string[]; + matchValues?: string[]; /** * List of transforms */ @@ -764,7 +764,7 @@ export interface RequestUriMatchConditionParameters { /** * The match value for the condition of the delivery rule */ - matchValues: string[]; + matchValues?: string[]; /** * List of transforms */ @@ -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' @@ -805,7 +805,7 @@ export interface RequestHeaderMatchConditionParameters { /** * The match value for the condition of the delivery rule */ - matchValues: string[]; + matchValues?: string[]; /** * List of transforms */ @@ -842,7 +842,7 @@ export interface RequestBodyMatchConditionParameters { /** * The match value for the condition of the delivery rule */ - matchValues: string[]; + matchValues?: string[]; /** * List of transforms */ @@ -874,7 +874,7 @@ export interface RequestSchemeMatchConditionParameters { /** * The match value for the condition of the delivery rule */ - matchValues: string[]; + matchValues?: string[]; } /** @@ -908,7 +908,7 @@ export interface UrlPathMatchConditionParameters { /** * The match value for the condition of the delivery rule */ - matchValues: string[]; + matchValues?: string[]; /** * List of transforms */ @@ -945,7 +945,7 @@ export interface UrlFileExtensionMatchConditionParameters { /** * The match value for the condition of the delivery rule */ - matchValues: string[]; + matchValues?: string[]; /** * List of transforms */ @@ -982,7 +982,7 @@ export interface UrlFileNameMatchConditionParameters { /** * The match value for the condition of the delivery rule */ - matchValues: string[]; + matchValues?: string[]; /** * List of transforms */ @@ -1014,7 +1014,7 @@ export interface HttpVersionMatchConditionParameters { /** * The match value for the condition of the delivery rule */ - matchValues: string[]; + matchValues?: string[]; } /** @@ -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' @@ -1051,7 +1051,7 @@ export interface CookiesMatchConditionParameters { /** * The match value for the condition of the delivery rule */ - matchValues: string[]; + matchValues?: string[]; /** * List of transforms */ @@ -1083,7 +1083,7 @@ export interface IsDeviceMatchConditionParameters { /** * The match value for the condition of the delivery rule */ - matchValues: string[]; + matchValues?: string[]; /** * List of transforms */ @@ -1704,7 +1704,7 @@ export interface KeyVaultCertificateSourceParameters { /** * The version(GUID) of Key Vault Secret in Key Vault. */ - secretVersion: string; + secretVersion?: string; } /** diff --git a/sdk/cdn/arm-cdn/src/models/mappers.ts b/sdk/cdn/arm-cdn/src/models/mappers.ts index 541fb6a97254..7a8abf0ac0e1 100644 --- a/sdk/cdn/arm-cdn/src/models/mappers.ts +++ b/sdk/cdn/arm-cdn/src/models/mappers.ts @@ -1056,7 +1056,6 @@ export const RemoteAddressMatchConditionParameters: msRest.CompositeMapper = { } }, matchValues: { - required: true, serializedName: "matchValues", type: { name: "Sequence", @@ -1135,7 +1134,6 @@ export const RequestMethodMatchConditionParameters: msRest.CompositeMapper = { } }, matchValues: { - required: true, serializedName: "matchValues", type: { name: "Sequence", @@ -1201,7 +1199,6 @@ export const QueryStringMatchConditionParameters: msRest.CompositeMapper = { } }, matchValues: { - required: true, serializedName: "matchValues", type: { name: "Sequence", @@ -1265,7 +1262,6 @@ export const PostArgsMatchConditionParameters: msRest.CompositeMapper = { } }, selector: { - required: true, serializedName: "selector", type: { name: "String" @@ -1285,7 +1281,6 @@ export const PostArgsMatchConditionParameters: msRest.CompositeMapper = { } }, matchValues: { - required: true, serializedName: "matchValues", type: { name: "Sequence", @@ -1362,7 +1357,6 @@ export const RequestUriMatchConditionParameters: msRest.CompositeMapper = { } }, matchValues: { - required: true, serializedName: "matchValues", type: { name: "Sequence", @@ -1426,7 +1420,6 @@ export const RequestHeaderMatchConditionParameters: msRest.CompositeMapper = { } }, selector: { - required: true, serializedName: "selector", type: { name: "String" @@ -1446,7 +1439,6 @@ export const RequestHeaderMatchConditionParameters: msRest.CompositeMapper = { } }, matchValues: { - required: true, serializedName: "matchValues", type: { name: "Sequence", @@ -1523,7 +1515,6 @@ export const RequestBodyMatchConditionParameters: msRest.CompositeMapper = { } }, matchValues: { - required: true, serializedName: "matchValues", type: { name: "Sequence", @@ -1602,7 +1593,6 @@ export const RequestSchemeMatchConditionParameters: msRest.CompositeMapper = { } }, matchValues: { - required: true, serializedName: "matchValues", type: { name: "Sequence", @@ -1668,7 +1658,6 @@ export const UrlPathMatchConditionParameters: msRest.CompositeMapper = { } }, matchValues: { - required: true, serializedName: "matchValues", type: { name: "Sequence", @@ -1745,7 +1734,6 @@ export const UrlFileExtensionMatchConditionParameters: msRest.CompositeMapper = } }, matchValues: { - required: true, serializedName: "matchValues", type: { name: "Sequence", @@ -1822,7 +1810,6 @@ export const UrlFileNameMatchConditionParameters: msRest.CompositeMapper = { } }, matchValues: { - required: true, serializedName: "matchValues", type: { name: "Sequence", @@ -1901,7 +1888,6 @@ export const HttpVersionMatchConditionParameters: msRest.CompositeMapper = { } }, matchValues: { - required: true, serializedName: "matchValues", type: { name: "Sequence", @@ -1954,7 +1940,6 @@ export const CookiesMatchConditionParameters: msRest.CompositeMapper = { } }, selector: { - required: true, serializedName: "selector", type: { name: "String" @@ -1974,7 +1959,6 @@ export const CookiesMatchConditionParameters: msRest.CompositeMapper = { } }, matchValues: { - required: true, serializedName: "matchValues", type: { name: "Sequence", @@ -2053,7 +2037,6 @@ export const IsDeviceMatchConditionParameters: msRest.CompositeMapper = { } }, matchValues: { - required: true, serializedName: "matchValues", type: { name: "Sequence", @@ -3108,7 +3091,6 @@ export const KeyVaultCertificateSourceParameters: msRest.CompositeMapper = { } }, secretVersion: { - required: true, serializedName: "secretVersion", type: { name: "String"