Skip to content

Commit f5e9599

Browse files
authored
{Cosmos DB} az cosmosdb postgres Fix invalid escapes (#29874)
1 parent c85d66c commit f5e9599

19 files changed

Lines changed: 23 additions & 23 deletions

File tree

src/azure-cli/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/cluster/server/_show.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
6464
required=True,
6565
id_part="child_name_1",
6666
fmt=AAZStrArgFormat(
67-
pattern="^[-\w\._]+$",
67+
pattern=r"^[-\w\._]+$",
6868
max_length=90,
6969
min_length=1,
7070
),

src/azure-cli/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/configuration/_show.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
6161
required=True,
6262
id_part="child_name_1",
6363
fmt=AAZStrArgFormat(
64-
pattern="^[-\w\._]+$",
64+
pattern=r"^[-\w\._]+$",
6565
max_length=90,
6666
min_length=1,
6767
),

src/azure-cli/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/configuration/coordinator/_show.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
6161
required=True,
6262
id_part="child_name_1",
6363
fmt=AAZStrArgFormat(
64-
pattern="^[-\w\._]+$",
64+
pattern=r"^[-\w\._]+$",
6565
max_length=90,
6666
min_length=1,
6767
),

src/azure-cli/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/configuration/coordinator/_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
6262
required=True,
6363
id_part="child_name_1",
6464
fmt=AAZStrArgFormat(
65-
pattern="^[-\w\._]+$",
65+
pattern=r"^[-\w\._]+$",
6666
max_length=90,
6767
min_length=1,
6868
),

src/azure-cli/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/configuration/coordinator/_wait.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
5757
required=True,
5858
id_part="child_name_1",
5959
fmt=AAZStrArgFormat(
60-
pattern="^[-\w\._]+$",
60+
pattern=r"^[-\w\._]+$",
6161
max_length=90,
6262
min_length=1,
6363
),

src/azure-cli/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/configuration/node/_show.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
6161
required=True,
6262
id_part="child_name_1",
6363
fmt=AAZStrArgFormat(
64-
pattern="^[-\w\._]+$",
64+
pattern=r"^[-\w\._]+$",
6565
max_length=90,
6666
min_length=1,
6767
),

src/azure-cli/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/configuration/node/_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
6262
required=True,
6363
id_part="child_name_1",
6464
fmt=AAZStrArgFormat(
65-
pattern="^[-\w\._]+$",
65+
pattern=r"^[-\w\._]+$",
6666
max_length=90,
6767
min_length=1,
6868
),

src/azure-cli/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/configuration/node/_wait.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
5757
required=True,
5858
id_part="child_name_1",
5959
fmt=AAZStrArgFormat(
60-
pattern="^[-\w\._]+$",
60+
pattern=r"^[-\w\._]+$",
6161
max_length=90,
6262
min_length=1,
6363
),

src/azure-cli/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/configuration/server/_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
6161
help="The name of the server.",
6262
required=True,
6363
fmt=AAZStrArgFormat(
64-
pattern="^[-\w\._]+$",
64+
pattern=r"^[-\w\._]+$",
6565
max_length=90,
6666
min_length=1,
6767
),

src/azure-cli/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/firewall_rule/_create.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
6060
help="The name of the cluster firewall rule.",
6161
required=True,
6262
fmt=AAZStrArgFormat(
63-
pattern="^[-\w\._]+$",
63+
pattern=r"^[-\w\._]+$",
6464
),
6565
)
6666
_args_schema.resource_group = AAZResourceGroupNameArg(
@@ -76,7 +76,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
7676
help="The end IP address of the cluster firewall rule. Must be IPv4 format.",
7777
required=True,
7878
fmt=AAZStrArgFormat(
79-
pattern="^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$",
79+
pattern=r"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$",
8080
),
8181
)
8282
_args_schema.start_ip_address = AAZStrArg(
@@ -85,7 +85,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
8585
help="The start IP address of the cluster firewall rule. Must be IPv4 format.",
8686
required=True,
8787
fmt=AAZStrArgFormat(
88-
pattern="^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$",
88+
pattern=r"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$",
8989
),
9090
)
9191
return cls._args_schema

0 commit comments

Comments
 (0)