diff --git a/sdk/signalr/azure-mgmt-signalr/_meta.json b/sdk/signalr/azure-mgmt-signalr/_meta.json index 816b6e8dac99..e16e8aea8cee 100644 --- a/sdk/signalr/azure-mgmt-signalr/_meta.json +++ b/sdk/signalr/azure-mgmt-signalr/_meta.json @@ -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" diff --git a/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/_version.py b/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/_version.py index c47f66669f1b..e5754a47ce68 100644 --- a/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/_version.py +++ b/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/_version.py @@ -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" diff --git a/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/models/_models.py b/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/models/_models.py index 1141dda2a3e1..09ab077f6c87 100644 --- a/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/models/_models.py +++ b/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/models/_models.py @@ -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. @@ -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 """ @@ -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 """ @@ -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 """ @@ -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 """ @@ -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. @@ -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] @@ -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 @@ -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 @@ -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. @@ -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 """ @@ -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 """ @@ -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 """ diff --git a/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/models/_models_py3.py b/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/models/_models_py3.py index e019dca6fb79..a87c2c8caa84 100644 --- a/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/models/_models_py3.py +++ b/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/models/_models_py3.py @@ -179,7 +179,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. @@ -404,12 +404,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 """ @@ -506,7 +506,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 """ @@ -662,15 +662,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 """ @@ -857,8 +858,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 """ @@ -1113,9 +1114,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. @@ -1308,10 +1309,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] @@ -1399,12 +1399,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 @@ -1431,7 +1431,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 @@ -1446,15 +1446,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. @@ -1714,9 +1711,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 """ @@ -1868,13 +1865,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 """ @@ -1941,8 +1936,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 """ diff --git a/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/models/_signal_rmanagement_client_enums.py b/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/models/_signal_rmanagement_client_enums.py index 2ce46e801b80..0b1cd553150f 100644 --- a/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/models/_signal_rmanagement_client_enums.py +++ b/sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/models/_signal_rmanagement_client_enums.py @@ -27,7 +27,7 @@ def __getattr__(cls, name): class ACLAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Default action when no other rule matches + """Azure Networking ACL Action. """ ALLOW = "Allow" @@ -67,7 +67,7 @@ class FeatureFlags(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): ENABLE_LIVE_TRACE = "EnableLiveTrace" class KeyType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive). + """The type of access key. """ PRIMARY = "Primary" @@ -75,7 +75,7 @@ class KeyType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): SALT = "Salt" class ManagedIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Represent the identity type: systemAssigned, userAssigned, None + """Represents the identity type: systemAssigned, userAssigned, None """ NONE = "None" @@ -115,7 +115,7 @@ class ScaleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): AUTOMATIC = "Automatic" class ServiceKind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The kind of the service - e.g. "SignalR" for "Microsoft.SignalRService/SignalR" + """The kind of the service, it can be SignalR or RawWebSockets """ SIGNAL_R = "SignalR" @@ -132,8 +132,7 @@ class SharedPrivateLinkResourceStatus(with_metaclass(_CaseInsensitiveEnumMeta, s TIMEOUT = "Timeout" class SignalRRequestType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, - RESTAPI. + """The incoming request type to the service """ CLIENT_CONNECTION = "ClientConnection" @@ -153,7 +152,7 @@ class SignalRSkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): PREMIUM = "Premium" class UpstreamAuthType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Gets or sets the type of auth. None or ManagedIdentity is supported now. + """Upstream auth type enum. """ NONE = "None"