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

[AutoPR track2_azure-mgmt-signalr] [Azure SignalR Service]changes introduced by new version of Swashbuckle #8232

Closed
Closed
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
2 changes: 1 addition & 1 deletion sdk/signalr/azure-mgmt-signalr/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@autorest/python@5.8.4",
"@autorest/modelerfour@4.19.2"
],
"commit": "1df76adb301b0b1f78375aacd19005f151ef6f72",
"commit": "1531476f7968db701f4345933d91f825eb971a63",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/signalr/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
"readme": "specification/signalr/resource-manager/readme.md"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0"
VERSION = "1.0.0b1"
66 changes: 30 additions & 36 deletions sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/models/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class ManagedIdentity(msrest.serialization.Model):

Variables are only populated by the server, and will be ignored when sending a request.

:param type: Represent the identity type: systemAssigned, userAssigned, None. Possible values
:param type: Represents the identity type: systemAssigned, userAssigned, None. Possible values
include: "None", "SystemAssigned", "UserAssigned".
:type type: str or ~azure.mgmt.signalr.models.ManagedIdentityType
:param user_assigned_identities: Get or set the user assigned identities.
Expand Down Expand Up @@ -365,12 +365,12 @@ class Operation(msrest.serialization.Model):
:type name: str
:param is_data_action: If the operation is a data action. (for data plane rbac).
:type is_data_action: bool
:param display: The object that describes the operation.
:param display: The object that describes a operation.
:type display: ~azure.mgmt.signalr.models.OperationDisplay
:param origin: Optional. The intended executor of the operation; governs the display of the
operation in the RBAC UX and the audit logs UX.
:type origin: str
:param properties: Extra properties for the operation.
:param properties: Extra Operation properties.
:type properties: ~azure.mgmt.signalr.models.OperationProperties
"""

Expand Down Expand Up @@ -453,7 +453,7 @@ def __init__(
class OperationProperties(msrest.serialization.Model):
"""Extra Operation properties.

:param service_specification: The service specifications.
:param service_specification: An object that describes a specification.
:type service_specification: ~azure.mgmt.signalr.models.ServiceSpecification
"""

Expand Down Expand Up @@ -601,15 +601,16 @@ class PrivateEndpointConnection(ProxyResource):
:vartype type: str
:ivar system_data: Metadata pertaining to creation and last modification of the resource.
:vartype system_data: ~azure.mgmt.signalr.models.SystemData
:ivar provisioning_state: Provisioning state of the private endpoint connection. Possible
values include: "Unknown", "Succeeded", "Failed", "Canceled", "Running", "Creating",
"Updating", "Deleting", "Moving".
:ivar provisioning_state: Provisioning state of the resource. Possible values include:
"Unknown", "Succeeded", "Failed", "Canceled", "Running", "Creating", "Updating", "Deleting",
"Moving".
:vartype provisioning_state: str or ~azure.mgmt.signalr.models.ProvisioningState
:param private_endpoint: Private endpoint associated with the private endpoint connection.
:param private_endpoint: Private endpoint.
:type private_endpoint: ~azure.mgmt.signalr.models.PrivateEndpoint
:ivar group_ids: Group IDs.
:vartype group_ids: list[str]
:param private_link_service_connection_state: Connection state.
:param private_link_service_connection_state: Connection state of the private endpoint
connection.
:type private_link_service_connection_state:
~azure.mgmt.signalr.models.PrivateLinkServiceConnectionState
"""
Expand Down Expand Up @@ -778,8 +779,8 @@ def __init__(
class RegenerateKeyParameters(msrest.serialization.Model):
"""Parameters describes the request to regenerate access keys.

:param key_type: The keyType to regenerate. Must be either 'primary' or
'secondary'(case-insensitive). Possible values include: "Primary", "Secondary", "Salt".
:param key_type: The type of access key. Possible values include: "Primary", "Secondary",
"Salt".
:type key_type: str or ~azure.mgmt.signalr.models.KeyType
"""

Expand Down Expand Up @@ -1011,9 +1012,9 @@ class SharedPrivateLinkResource(ProxyResource):
:param private_link_resource_id: The resource id of the resource the shared private link
resource is for.
:type private_link_resource_id: str
:ivar provisioning_state: Provisioning state of the shared private link resource. Possible
values include: "Unknown", "Succeeded", "Failed", "Canceled", "Running", "Creating",
"Updating", "Deleting", "Moving".
:ivar provisioning_state: Provisioning state of the resource. Possible values include:
"Unknown", "Succeeded", "Failed", "Canceled", "Running", "Creating", "Updating", "Deleting",
"Moving".
:vartype provisioning_state: str or ~azure.mgmt.signalr.models.ProvisioningState
:param request_message: The request message for requesting approval of the shared private link
resource.
Expand Down Expand Up @@ -1188,10 +1189,9 @@ def __init__(
class SignalRNetworkACLs(msrest.serialization.Model):
"""Network ACLs for the resource.

:param default_action: Default action when no other rule matches. Possible values include:
"Allow", "Deny".
:param default_action: Azure Networking ACL Action. Possible values include: "Allow", "Deny".
:type default_action: str or ~azure.mgmt.signalr.models.ACLAction
:param public_network: ACL for requests from public network.
:param public_network: Network ACL.
:type public_network: ~azure.mgmt.signalr.models.NetworkACL
:param private_endpoints: ACLs for requests from private endpoints.
:type private_endpoints: list[~azure.mgmt.signalr.models.PrivateEndpointACL]
Expand Down Expand Up @@ -1272,12 +1272,12 @@ class SignalRResource(TrackedResource):
:param tags: A set of tags. Tags of the service which is a list of key value pairs that
describe the resource.
:type tags: dict[str, str]
:param sku: The billing information of the resource.(e.g. Free, Standard).
:param sku: The billing information of the resource.
:type sku: ~azure.mgmt.signalr.models.ResourceSku
:param kind: The kind of the service - e.g. "SignalR" for "Microsoft.SignalRService/SignalR".
Possible values include: "SignalR", "RawWebSockets".
:param kind: The kind of the service, it can be SignalR or RawWebSockets. Possible values
include: "SignalR", "RawWebSockets".
:type kind: str or ~azure.mgmt.signalr.models.ServiceKind
:param identity: The managed identity response.
:param identity: A class represent managed identities used for request and response.
:type identity: ~azure.mgmt.signalr.models.ManagedIdentity
:ivar system_data: Metadata pertaining to creation and last modification of the resource.
:vartype system_data: ~azure.mgmt.signalr.models.SystemData
Expand All @@ -1304,7 +1304,7 @@ class SignalRResource(TrackedResource):
:ivar shared_private_link_resources: The list of shared private link resources.
:vartype shared_private_link_resources:
list[~azure.mgmt.signalr.models.SharedPrivateLinkResource]
:param tls: TLS settings.
:param tls: TLS settings for the resource.
:type tls: ~azure.mgmt.signalr.models.SignalRTlsSettings
:ivar host_name_prefix: Deprecated.
:vartype host_name_prefix: str
Expand All @@ -1319,15 +1319,12 @@ class SignalRResource(TrackedResource):
:type features: list[~azure.mgmt.signalr.models.SignalRFeature]
:param resource_log_configuration: Resource log configuration of a Microsoft.SignalRService
resource.
If resourceLogConfiguration isn't null or empty, it will override options
"EnableConnectivityLog" and "EnableMessagingLogs" in features.
Otherwise, use options "EnableConnectivityLog" and "EnableMessagingLogs" in features.
:type resource_log_configuration: ~azure.mgmt.signalr.models.ResourceLogConfiguration
:param cors: Cross-Origin Resource Sharing (CORS) settings.
:type cors: ~azure.mgmt.signalr.models.SignalRCorsSettings
:param upstream: Upstream settings when the service is in server-less mode.
:param upstream: The settings for the Upstream when the service is in server-less mode.
:type upstream: ~azure.mgmt.signalr.models.ServerlessUpstreamSettings
:param network_ac_ls: Network ACLs.
:param network_ac_ls: Network ACLs for the resource.
:type network_ac_ls: ~azure.mgmt.signalr.models.SignalRNetworkACLs
:param public_network_access: Enable or disable public network access. Default to "Enabled".
When it's Enabled, network ACLs still apply.
Expand Down Expand Up @@ -1555,9 +1552,9 @@ class Sku(msrest.serialization.Model):

:ivar resource_type: The resource type that this object applies to.
:vartype resource_type: str
:ivar sku: The exact set of keys that define this sku.
:ivar sku: The billing information of the resource.
:vartype sku: ~azure.mgmt.signalr.models.ResourceSku
:ivar capacity: Specifies the unit of the resource.
:ivar capacity: Describes scaling information of a sku.
:vartype capacity: ~azure.mgmt.signalr.models.SkuCapacity
"""

Expand Down Expand Up @@ -1702,13 +1699,11 @@ def __init__(


class UpstreamAuthSettings(msrest.serialization.Model):
"""Upstream auth settings.
"""Upstream auth settings. If not set, no auth is used for upstream messages.

:param type: Gets or sets the type of auth. None or ManagedIdentity is supported now. Possible
values include: "None", "ManagedIdentity".
:param type: Upstream auth type enum. Possible values include: "None", "ManagedIdentity".
:type type: str or ~azure.mgmt.signalr.models.UpstreamAuthType
:param managed_identity: Gets or sets the managed identity settings. It's required if the auth
type is set to ManagedIdentity.
:param managed_identity: Managed identity settings for upstream.
:type managed_identity: ~azure.mgmt.signalr.models.ManagedIdentitySettings
"""

Expand Down Expand Up @@ -1772,8 +1767,7 @@ class UpstreamTemplate(msrest.serialization.Model):
request from hub ``chat`` connects, it will first POST to this URL:
``http://example.com/chat/api/connect``.
:type url_template: str
:param auth: Gets or sets the auth settings for an upstream. If not set, no auth is used for
upstream messages.
:param auth: Upstream auth settings. If not set, no auth is used for upstream messages.
:type auth: ~azure.mgmt.signalr.models.UpstreamAuthSettings
"""

Expand Down
Loading