Skip to content

Commit dfee5ad

Browse files
integrated cache: make BypassIntegratedCache API GA (#4377)
Co-authored-by: Jiajun Peng <[email protected]>
1 parent 71e58ee commit dfee5ad

File tree

3 files changed

+20
-31
lines changed

3 files changed

+20
-31
lines changed

Microsoft.Azure.Cosmos/src/Resource/Settings/DedicatedGatewayRequestOptions.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,7 @@ public class DedicatedGatewayRequestOptions
5050
/// ]]>
5151
/// </code>
5252
/// </example>
53-
#if PREVIEW
54-
public
55-
#else
56-
internal
57-
#endif
58-
bool? BypassIntegratedCache { get; set; }
53+
public bool? BypassIntegratedCache { get; set; }
5954

6055
internal static void PopulateMaxIntegratedCacheStalenessOption(DedicatedGatewayRequestOptions dedicatedGatewayRequestOptions, RequestMessage request)
6156
{

Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Contracts/DotNetPreviewSDKAPI.json

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -357,31 +357,6 @@
357357
},
358358
"NestedTypes": {}
359359
},
360-
"Microsoft.Azure.Cosmos.DedicatedGatewayRequestOptions;System.Object;IsAbstract:False;IsSealed:False;IsInterface:False;IsEnum:False;IsClass:True;IsValueType:False;IsNested:False;IsGenericType:False;IsSerializable:False": {
361-
"Subclasses": {},
362-
"Members": {
363-
"System.Nullable`1[System.Boolean] BypassIntegratedCache": {
364-
"Type": "Property",
365-
"Attributes": [],
366-
"MethodInfo": "System.Nullable`1[System.Boolean] BypassIntegratedCache;CanRead:True;CanWrite:True;System.Nullable`1[System.Boolean] get_BypassIntegratedCache();IsAbstract:False;IsStatic:False;IsVirtual:False;IsGenericMethod:False;IsConstructor:False;IsFinal:False;Void set_BypassIntegratedCache(System.Nullable`1[System.Boolean]);IsAbstract:False;IsStatic:False;IsVirtual:False;IsGenericMethod:False;IsConstructor:False;IsFinal:False;"
367-
},
368-
"System.Nullable`1[System.Boolean] get_BypassIntegratedCache()[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]": {
369-
"Type": "Method",
370-
"Attributes": [
371-
"CompilerGeneratedAttribute"
372-
],
373-
"MethodInfo": "System.Nullable`1[System.Boolean] get_BypassIntegratedCache();IsAbstract:False;IsStatic:False;IsVirtual:False;IsGenericMethod:False;IsConstructor:False;IsFinal:False;"
374-
},
375-
"Void set_BypassIntegratedCache(System.Nullable`1[System.Boolean])[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]": {
376-
"Type": "Method",
377-
"Attributes": [
378-
"CompilerGeneratedAttribute"
379-
],
380-
"MethodInfo": "Void set_BypassIntegratedCache(System.Nullable`1[System.Boolean]);IsAbstract:False;IsStatic:False;IsVirtual:False;IsGenericMethod:False;IsConstructor:False;IsFinal:False;"
381-
}
382-
},
383-
"NestedTypes": {}
384-
},
385360
"Microsoft.Azure.Cosmos.Fluent.ChangeFeedPolicyDefinition;System.Object;IsAbstract:False;IsSealed:False;IsInterface:False;IsEnum:False;IsClass:True;IsValueType:False;IsNested:False;IsGenericType:False;IsSerializable:False": {
386361
"Subclasses": {},
387362
"Members": {

Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Contracts/DotNetSDKAPI.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4129,6 +4129,18 @@
41294129
"Microsoft.Azure.Cosmos.DedicatedGatewayRequestOptions;System.Object;IsAbstract:False;IsSealed:False;IsInterface:False;IsEnum:False;IsClass:True;IsValueType:False;IsNested:False;IsGenericType:False;IsSerializable:False": {
41304130
"Subclasses": {},
41314131
"Members": {
4132+
"System.Nullable`1[System.Boolean] BypassIntegratedCache": {
4133+
"Type": "Property",
4134+
"Attributes": [],
4135+
"MethodInfo": "System.Nullable`1[System.Boolean] BypassIntegratedCache;CanRead:True;CanWrite:True;System.Nullable`1[System.Boolean] get_BypassIntegratedCache();IsAbstract:False;IsStatic:False;IsVirtual:False;IsGenericMethod:False;IsConstructor:False;IsFinal:False;Void set_BypassIntegratedCache(System.Nullable`1[System.Boolean]);IsAbstract:False;IsStatic:False;IsVirtual:False;IsGenericMethod:False;IsConstructor:False;IsFinal:False;"
4136+
},
4137+
"System.Nullable`1[System.Boolean] get_BypassIntegratedCache()[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]": {
4138+
"Type": "Method",
4139+
"Attributes": [
4140+
"CompilerGeneratedAttribute"
4141+
],
4142+
"MethodInfo": "System.Nullable`1[System.Boolean] get_BypassIntegratedCache();IsAbstract:False;IsStatic:False;IsVirtual:False;IsGenericMethod:False;IsConstructor:False;IsFinal:False;"
4143+
},
41324144
"System.Nullable`1[System.TimeSpan] get_MaxIntegratedCacheStaleness()[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]": {
41334145
"Type": "Method",
41344146
"Attributes": [
@@ -4146,6 +4158,13 @@
41464158
"Attributes": [],
41474159
"MethodInfo": "[Void .ctor(), Void .ctor()]"
41484160
},
4161+
"Void set_BypassIntegratedCache(System.Nullable`1[System.Boolean])[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]": {
4162+
"Type": "Method",
4163+
"Attributes": [
4164+
"CompilerGeneratedAttribute"
4165+
],
4166+
"MethodInfo": "Void set_BypassIntegratedCache(System.Nullable`1[System.Boolean]);IsAbstract:False;IsStatic:False;IsVirtual:False;IsGenericMethod:False;IsConstructor:False;IsFinal:False;"
4167+
},
41494168
"Void set_MaxIntegratedCacheStaleness(System.Nullable`1[System.TimeSpan])[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]": {
41504169
"Type": "Method",
41514170
"Attributes": [

0 commit comments

Comments
 (0)