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

Changing PUT calls to PATCH call #7946

Merged
merged 5 commits into from
Sep 5, 2024
Merged
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
3 changes: 3 additions & 0 deletions src/workloads/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
Release History
===============

1.1.0b3
+++++++
* Changing of PUT calls to PATCH calls for update
1.1.0b2
+++++++
* Fix for managed resources network access type option in create vis command
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,17 @@ def _build_schema_on_200(cls):
serialized_name="dispatcherStatus",
flags={"read_only": True},
)
properties.errors = AAZObjectType()
properties.errors = AAZObjectType(
flags={"read_only": True},
)
properties.gateway_port = AAZIntType(
serialized_name="gatewayPort",
nullable=True,
flags={"read_only": True},
)
properties.health = AAZStrType()
properties.health = AAZStrType(
flags={"read_only": True},
)
properties.hostname = AAZStrType(
flags={"read_only": True},
)
Expand Down Expand Up @@ -231,12 +235,15 @@ def _build_schema_on_200(cls):
)
properties.load_balancer_details = AAZObjectType(
serialized_name="loadBalancerDetails",
flags={"read_only": True},
)
properties.provisioning_state = AAZStrType(
serialized_name="provisioningState",
flags={"read_only": True},
)
properties.status = AAZStrType()
properties.status = AAZStrType(
flags={"read_only": True},
)
properties.subnet = AAZStrType(
flags={"read_only": True},
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,17 @@ def _build_schema_on_200(cls):
serialized_name="dispatcherStatus",
flags={"read_only": True},
)
properties.errors = AAZObjectType()
properties.errors = AAZObjectType(
flags={"read_only": True},
)
properties.gateway_port = AAZIntType(
serialized_name="gatewayPort",
nullable=True,
flags={"read_only": True},
)
properties.health = AAZStrType()
properties.health = AAZStrType(
flags={"read_only": True},
)
properties.hostname = AAZStrType(
flags={"read_only": True},
)
Expand Down Expand Up @@ -237,12 +241,15 @@ def _build_schema_on_200(cls):
)
properties.load_balancer_details = AAZObjectType(
serialized_name="loadBalancerDetails",
flags={"read_only": True},
)
properties.provisioning_state = AAZStrType(
serialized_name="provisioningState",
flags={"read_only": True},
)
properties.status = AAZStrType()
properties.status = AAZStrType(
flags={"read_only": True},
)
properties.subnet = AAZStrType(
flags={"read_only": True},
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,17 @@ def _build_schema_on_200(cls):
serialized_name="dispatcherStatus",
flags={"read_only": True},
)
properties.errors = AAZObjectType()
properties.errors = AAZObjectType(
flags={"read_only": True},
)
properties.gateway_port = AAZIntType(
serialized_name="gatewayPort",
nullable=True,
flags={"read_only": True},
)
properties.health = AAZStrType()
properties.health = AAZStrType(
flags={"read_only": True},
)
properties.hostname = AAZStrType(
flags={"read_only": True},
)
Expand Down Expand Up @@ -229,12 +233,15 @@ def _build_schema_on_200(cls):
)
properties.load_balancer_details = AAZObjectType(
serialized_name="loadBalancerDetails",
flags={"read_only": True},
)
properties.provisioning_state = AAZStrType(
serialized_name="provisioningState",
flags={"read_only": True},
)
properties.status = AAZStrType()
properties.status = AAZStrType(
flags={"read_only": True},
)
properties.subnet = AAZStrType(
flags={"read_only": True},
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,15 @@ def _build_schema_on_200(cls):
properties.enqueue_server_properties = AAZObjectType(
serialized_name="enqueueServerProperties",
)
properties.errors = AAZObjectType()
properties.errors = AAZObjectType(
flags={"read_only": True},
)
properties.gateway_server_properties = AAZObjectType(
serialized_name="gatewayServerProperties",
)
properties.health = AAZStrType()
properties.health = AAZStrType(
flags={"read_only": True},
)
properties.instance_no = AAZStrType(
serialized_name="instanceNo",
flags={"read_only": True},
Expand All @@ -216,6 +220,7 @@ def _build_schema_on_200(cls):
)
properties.load_balancer_details = AAZObjectType(
serialized_name="loadBalancerDetails",
flags={"read_only": True},
)
properties.message_server_properties = AAZObjectType(
serialized_name="messageServerProperties",
Expand All @@ -224,7 +229,9 @@ def _build_schema_on_200(cls):
serialized_name="provisioningState",
flags={"read_only": True},
)
properties.status = AAZStrType()
properties.status = AAZStrType(
flags={"read_only": True},
)
properties.subnet = AAZStrType(
flags={"read_only": True},
)
Expand All @@ -238,7 +245,9 @@ def _build_schema_on_200(cls):
serialized_name="ersVersion",
flags={"read_only": True},
)
enqueue_replication_server_properties.health = AAZStrType()
enqueue_replication_server_properties.health = AAZStrType(
flags={"read_only": True},
)
enqueue_replication_server_properties.hostname = AAZStrType(
flags={"read_only": True},
)
Expand All @@ -260,7 +269,9 @@ def _build_schema_on_200(cls):
)

enqueue_server_properties = cls._schema_on_200.value.Element.properties.enqueue_server_properties
enqueue_server_properties.health = AAZStrType()
enqueue_server_properties.health = AAZStrType(
flags={"read_only": True},
)
enqueue_server_properties.hostname = AAZStrType(
flags={"read_only": True},
)
Expand All @@ -278,7 +289,9 @@ def _build_schema_on_200(cls):
_ListHelper._build_schema_error_definition_read(errors.properties)

gateway_server_properties = cls._schema_on_200.value.Element.properties.gateway_server_properties
gateway_server_properties.health = AAZStrType()
gateway_server_properties.health = AAZStrType(
flags={"read_only": True},
)
gateway_server_properties.port = AAZIntType(
nullable=True,
flags={"read_only": True},
Expand All @@ -290,7 +303,9 @@ def _build_schema_on_200(cls):
)

message_server_properties = cls._schema_on_200.value.Element.properties.message_server_properties
message_server_properties.health = AAZStrType()
message_server_properties.health = AAZStrType(
flags={"read_only": True},
)
message_server_properties.hostname = AAZStrType(
flags={"read_only": True},
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,15 @@ def _build_schema_on_200(cls):
properties.enqueue_server_properties = AAZObjectType(
serialized_name="enqueueServerProperties",
)
properties.errors = AAZObjectType()
properties.errors = AAZObjectType(
flags={"read_only": True},
)
properties.gateway_server_properties = AAZObjectType(
serialized_name="gatewayServerProperties",
)
properties.health = AAZStrType()
properties.health = AAZStrType(
flags={"read_only": True},
)
properties.instance_no = AAZStrType(
serialized_name="instanceNo",
flags={"read_only": True},
Expand All @@ -219,6 +223,7 @@ def _build_schema_on_200(cls):
)
properties.load_balancer_details = AAZObjectType(
serialized_name="loadBalancerDetails",
flags={"read_only": True},
)
properties.message_server_properties = AAZObjectType(
serialized_name="messageServerProperties",
Expand All @@ -227,7 +232,9 @@ def _build_schema_on_200(cls):
serialized_name="provisioningState",
flags={"read_only": True},
)
properties.status = AAZStrType()
properties.status = AAZStrType(
flags={"read_only": True},
)
properties.subnet = AAZStrType(
flags={"read_only": True},
)
Expand All @@ -241,7 +248,9 @@ def _build_schema_on_200(cls):
serialized_name="ersVersion",
flags={"read_only": True},
)
enqueue_replication_server_properties.health = AAZStrType()
enqueue_replication_server_properties.health = AAZStrType(
flags={"read_only": True},
)
enqueue_replication_server_properties.hostname = AAZStrType(
flags={"read_only": True},
)
Expand All @@ -263,7 +272,9 @@ def _build_schema_on_200(cls):
)

enqueue_server_properties = cls._schema_on_200.properties.enqueue_server_properties
enqueue_server_properties.health = AAZStrType()
enqueue_server_properties.health = AAZStrType(
flags={"read_only": True},
)
enqueue_server_properties.hostname = AAZStrType(
flags={"read_only": True},
)
Expand All @@ -281,7 +292,9 @@ def _build_schema_on_200(cls):
_ShowHelper._build_schema_error_definition_read(errors.properties)

gateway_server_properties = cls._schema_on_200.properties.gateway_server_properties
gateway_server_properties.health = AAZStrType()
gateway_server_properties.health = AAZStrType(
flags={"read_only": True},
)
gateway_server_properties.port = AAZIntType(
nullable=True,
flags={"read_only": True},
Expand All @@ -293,7 +306,9 @@ def _build_schema_on_200(cls):
)

message_server_properties = cls._schema_on_200.properties.message_server_properties
message_server_properties.health = AAZStrType()
message_server_properties.health = AAZStrType(
flags={"read_only": True},
)
message_server_properties.hostname = AAZStrType(
flags={"read_only": True},
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,15 @@ def _build_schema_on_200(cls):
properties.enqueue_server_properties = AAZObjectType(
serialized_name="enqueueServerProperties",
)
properties.errors = AAZObjectType()
properties.errors = AAZObjectType(
flags={"read_only": True},
)
properties.gateway_server_properties = AAZObjectType(
serialized_name="gatewayServerProperties",
)
properties.health = AAZStrType()
properties.health = AAZStrType(
flags={"read_only": True},
)
properties.instance_no = AAZStrType(
serialized_name="instanceNo",
flags={"read_only": True},
Expand All @@ -214,6 +218,7 @@ def _build_schema_on_200(cls):
)
properties.load_balancer_details = AAZObjectType(
serialized_name="loadBalancerDetails",
flags={"read_only": True},
)
properties.message_server_properties = AAZObjectType(
serialized_name="messageServerProperties",
Expand All @@ -222,7 +227,9 @@ def _build_schema_on_200(cls):
serialized_name="provisioningState",
flags={"read_only": True},
)
properties.status = AAZStrType()
properties.status = AAZStrType(
flags={"read_only": True},
)
properties.subnet = AAZStrType(
flags={"read_only": True},
)
Expand All @@ -236,7 +243,9 @@ def _build_schema_on_200(cls):
serialized_name="ersVersion",
flags={"read_only": True},
)
enqueue_replication_server_properties.health = AAZStrType()
enqueue_replication_server_properties.health = AAZStrType(
flags={"read_only": True},
)
enqueue_replication_server_properties.hostname = AAZStrType(
flags={"read_only": True},
)
Expand All @@ -258,7 +267,9 @@ def _build_schema_on_200(cls):
)

enqueue_server_properties = cls._schema_on_200.properties.enqueue_server_properties
enqueue_server_properties.health = AAZStrType()
enqueue_server_properties.health = AAZStrType(
flags={"read_only": True},
)
enqueue_server_properties.hostname = AAZStrType(
flags={"read_only": True},
)
Expand All @@ -276,7 +287,9 @@ def _build_schema_on_200(cls):
_WaitHelper._build_schema_error_definition_read(errors.properties)

gateway_server_properties = cls._schema_on_200.properties.gateway_server_properties
gateway_server_properties.health = AAZStrType()
gateway_server_properties.health = AAZStrType(
flags={"read_only": True},
)
gateway_server_properties.port = AAZIntType(
nullable=True,
flags={"read_only": True},
Expand All @@ -288,7 +301,9 @@ def _build_schema_on_200(cls):
)

message_server_properties = cls._schema_on_200.properties.message_server_properties
message_server_properties.health = AAZStrType()
message_server_properties.health = AAZStrType(
flags={"read_only": True},
)
message_server_properties.hostname = AAZStrType(
flags={"read_only": True},
)
Expand Down
Loading
Loading