azure.mgmt.signalr.operations module¶
-
class
azure.mgmt.signalr.operations.
Operations
(client, config, serializer, deserializer)[source]¶ Bases:
object
Operations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Client Api Version. Constant value: “2020-05-01”.
-
list
(custom_headers=None, raw=False, **operation_config)[source]¶ Lists all of the available REST API operations of the Microsoft.SignalRService provider.
- Parameters
- Returns
An iterator like instance of Operation
- Return type
- Raises
-
models
= <module 'azure.mgmt.signalr.models' from '/home/vsts/work/1/s/sdk/signalr/azure-mgmt-signalr/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/signalr/models/__init__.py'>¶
-
class
azure.mgmt.signalr.operations.
SignalROperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
SignalROperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Client Api Version. Constant value: “2020-05-01”.
-
check_name_availability
(location, type, name, custom_headers=None, raw=False, **operation_config)[source]¶ Checks that the SignalR name is valid and is not already in use.
- Parameters
location (str) – the region
type (str) – The resource type. Should be always “Microsoft.SignalRService/SignalR”.
name (str) – The SignalR service name to validate. e.g.”my-signalR-name-here”
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
NameAvailability or ClientRawResponse if raw=true
- Return type
NameAvailability or ClientRawResponse
- Raises
-
create_or_update
(resource_group_name, resource_name, parameters=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Create a new SignalR service and update an exiting SignalR service.
- Parameters
resource_group_name (str) – The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resource_name (str) – The name of the SignalR resource.
parameters (SignalRResource) – Parameters for the create or update operation
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns SignalRResource or ClientRawResponse<SignalRResource> if raw==True
- Return type
AzureOperationPoller[SignalRResource] or AzureOperationPoller[ClientRawResponse[SignalRResource]]
- Raises
-
delete
(resource_group_name, resource_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Operation to delete a SignalR service.
- Parameters
resource_group_name (str) – The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resource_name (str) – The name of the SignalR resource.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
-
get
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get the SignalR service and its properties.
- Parameters
resource_group_name (str) – The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resource_name (str) – The name of the SignalR resource.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
SignalRResource or ClientRawResponse if raw=true
- Return type
SignalRResource or ClientRawResponse
- Raises
-
list_by_resource_group
(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]¶ Handles requests to list all resources in a resource group.
- Parameters
resource_group_name (str) – The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of SignalRResource
- Return type
- Raises
-
list_by_subscription
(custom_headers=None, raw=False, **operation_config)[source]¶ Handles requests to list all resources in a subscription.
- Parameters
- Returns
An iterator like instance of SignalRResource
- Return type
- Raises
-
list_keys
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get the access keys of the SignalR resource.
- Parameters
resource_group_name (str) – The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resource_name (str) – The name of the SignalR resource.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
SignalRKeys or ClientRawResponse if raw=true
- Return type
SignalRKeys or ClientRawResponse
- Raises
-
regenerate_key
(resource_group_name, resource_name, key_type=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Regenerate SignalR service access key. PrimaryKey and SecondaryKey cannot be regenerated at the same time.
- Parameters
resource_group_name (str) – The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resource_name (str) – The name of the SignalR resource.
key_type (str or KeyType) – The keyType to regenerate. Must be either ‘primary’ or ‘secondary’(case-insensitive). Possible values include: ‘Primary’, ‘Secondary’
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns SignalRKeys or ClientRawResponse<SignalRKeys> if raw==True
- Return type
AzureOperationPoller[SignalRKeys] or AzureOperationPoller[ClientRawResponse[SignalRKeys]]
- Raises
-
restart
(resource_group_name, resource_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Operation to restart a SignalR service.
- Parameters
resource_group_name (str) – The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resource_name (str) – The name of the SignalR resource.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
-
update
(resource_group_name, resource_name, parameters=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Operation to update an exiting SignalR service.
- Parameters
resource_group_name (str) – The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resource_name (str) – The name of the SignalR resource.
parameters (SignalRResource) – Parameters for the update operation
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns SignalRResource or ClientRawResponse<SignalRResource> if raw==True
- Return type
AzureOperationPoller[SignalRResource] or AzureOperationPoller[ClientRawResponse[SignalRResource]]
- Raises
-
models
= <module 'azure.mgmt.signalr.models' from '/home/vsts/work/1/s/sdk/signalr/azure-mgmt-signalr/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/signalr/models/__init__.py'>¶
-
class
azure.mgmt.signalr.operations.
SignalRPrivateEndpointConnectionsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
SignalRPrivateEndpointConnectionsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Client Api Version. Constant value: “2020-05-01”.
-
delete
(private_endpoint_connection_name, resource_group_name, resource_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Delete the specified private endpoint connection associated with a SignalR resource.
- Parameters
private_endpoint_connection_name (str) – The name of the private endpoint connection associated with the SignalR resource.
resource_group_name (str) – The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resource_name (str) – The name of the SignalR resource.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
-
get
(private_endpoint_connection_name, resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get the specified private endpoint connection associated with a SignalR resource.
- Parameters
private_endpoint_connection_name (str) – The name of the private endpoint connection associated with the SignalR resource.
resource_group_name (str) – The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resource_name (str) – The name of the SignalR resource.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
PrivateEndpointConnection or ClientRawResponse if raw=true
- Return type
PrivateEndpointConnection or ClientRawResponse
- Raises
-
update
(private_endpoint_connection_name, resource_group_name, resource_name, private_endpoint=None, private_link_service_connection_state=None, custom_headers=None, raw=False, **operation_config)[source]¶ Update the state of specified private endpoint connection associated with a SignalR resource.
- Parameters
private_endpoint_connection_name (str) – The name of the private endpoint connection associated with the SignalR resource.
resource_group_name (str) – The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resource_name (str) – The name of the SignalR resource.
private_endpoint (PrivateEndpoint) – Private endpoint associated with the private endpoint connection
private_link_service_connection_state (PrivateLinkServiceConnectionState) – Connection state
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
PrivateEndpointConnection or ClientRawResponse if raw=true
- Return type
PrivateEndpointConnection or ClientRawResponse
- Raises
-
models
= <module 'azure.mgmt.signalr.models' from '/home/vsts/work/1/s/sdk/signalr/azure-mgmt-signalr/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/signalr/models/__init__.py'>¶
-
class
azure.mgmt.signalr.operations.
SignalRPrivateLinkResourcesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
SignalRPrivateLinkResourcesOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Client Api Version. Constant value: “2020-05-01”.
-
list
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get the private link resources that need to be created for a SignalR resource.
- Parameters
resource_group_name (str) – The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resource_name (str) – The name of the SignalR resource.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of PrivateLinkResource
- Return type
- Raises
-
models
= <module 'azure.mgmt.signalr.models' from '/home/vsts/work/1/s/sdk/signalr/azure-mgmt-signalr/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/signalr/models/__init__.py'>¶
-
class
azure.mgmt.signalr.operations.
UsagesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
UsagesOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Client Api Version. Constant value: “2020-05-01”.
-
list
(location, custom_headers=None, raw=False, **operation_config)[source]¶ List usage quotas for Azure SignalR service by location.
- Parameters
- Returns
An iterator like instance of SignalRUsage
- Return type
- Raises
-
models
= <module 'azure.mgmt.signalr.models' from '/home/vsts/work/1/s/sdk/signalr/azure-mgmt-signalr/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/signalr/models/__init__.py'>¶