You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/storage/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/ConnectorsClient.java
Copy file name to clipboardExpand all lines: sdk/storage/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/DataSharesClient.java
Copy file name to clipboardExpand all lines: sdk/storage/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ConnectorInner.java
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@
7
7
importcom.azure.core.annotation.Fluent;
8
8
importcom.azure.core.management.Resource;
9
9
importcom.azure.core.management.SystemData;
10
+
importcom.azure.core.util.logging.ClientLogger;
10
11
importcom.azure.json.JsonReader;
11
12
importcom.azure.json.JsonToken;
12
13
importcom.azure.json.JsonWriter;
@@ -133,11 +134,16 @@ public ConnectorInner withTags(Map<String, String> tags) {
133
134
* @throws IllegalArgumentException thrown if the instance is not valid.
134
135
*/
135
136
publicvoidvalidate() {
136
-
if (properties() != null) {
137
+
if (properties() == null) {
138
+
throwLOGGER.atError()
139
+
.log(newIllegalArgumentException("Missing required property properties in model ConnectorInner"));
Copy file name to clipboardExpand all lines: sdk/storage/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/DataShareInner.java
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@
7
7
importcom.azure.core.annotation.Fluent;
8
8
importcom.azure.core.management.Resource;
9
9
importcom.azure.core.management.SystemData;
10
+
importcom.azure.core.util.logging.ClientLogger;
10
11
importcom.azure.json.JsonReader;
11
12
importcom.azure.json.JsonToken;
12
13
importcom.azure.json.JsonWriter;
@@ -133,11 +134,16 @@ public DataShareInner withTags(Map<String, String> tags) {
133
134
* @throws IllegalArgumentException thrown if the instance is not valid.
134
135
*/
135
136
publicvoidvalidate() {
136
-
if (properties() != null) {
137
+
if (properties() == null) {
138
+
throwLOGGER.atError()
139
+
.log(newIllegalArgumentException("Missing required property properties in model DataShareInner"));
Copy file name to clipboardExpand all lines: sdk/storage/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountInner.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -710,7 +710,7 @@ public StorageAccountInner withAllowBlobPublicAccess(Boolean allowBlobPublicAcce
710
710
711
711
/**
712
712
* Get the minimumTlsVersion property: Set the minimum TLS version to be permitted on requests to storage. The
713
-
* default interpretation is TLS 1.0 for this property.
713
+
* default interpretation is TLS 1.0 for this property. Minimum TLS version 1.3 version is not supported.
714
714
*
715
715
* @return the minimumTlsVersion value.
716
716
*/
@@ -720,7 +720,7 @@ public MinimumTlsVersion minimumTlsVersion() {
720
720
721
721
/**
722
722
* Set the minimumTlsVersion property: Set the minimum TLS version to be permitted on requests to storage. The
723
-
* default interpretation is TLS 1.0 for this property.
723
+
* default interpretation is TLS 1.0 for this property. Minimum TLS version 1.3 version is not supported.
724
724
*
725
725
* @param minimumTlsVersion the minimumTlsVersion value to set.
Copy file name to clipboardExpand all lines: sdk/storage/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountPropertiesCreateParameters.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ public final class StorageAccountPropertiesCreateParameters
134
134
135
135
/*
136
136
* Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for
137
-
* this property.
137
+
* this property. Minimum TLS version 1.3 version is not supported.
138
138
*/
139
139
privateMinimumTlsVersionminimumTlsVersion;
140
140
@@ -588,7 +588,7 @@ public StorageAccountPropertiesCreateParameters withAllowBlobPublicAccess(Boolea
588
588
589
589
/**
590
590
* Get the minimumTlsVersion property: Set the minimum TLS version to be permitted on requests to storage. The
591
-
* default interpretation is TLS 1.0 for this property.
591
+
* default interpretation is TLS 1.0 for this property. Minimum TLS version 1.3 version is not supported.
592
592
*
593
593
* @return the minimumTlsVersion value.
594
594
*/
@@ -598,7 +598,7 @@ public MinimumTlsVersion minimumTlsVersion() {
598
598
599
599
/**
600
600
* Set the minimumTlsVersion property: Set the minimum TLS version to be permitted on requests to storage. The
601
-
* default interpretation is TLS 1.0 for this property.
601
+
* default interpretation is TLS 1.0 for this property. Minimum TLS version 1.3 version is not supported.
602
602
*
603
603
* @param minimumTlsVersion the minimumTlsVersion value to set.
604
604
* @return the StorageAccountPropertiesCreateParameters object itself.
0 commit comments