partition
stringclasses
3 values
func_name
stringlengths
1
134
docstring
stringlengths
1
46.9k
path
stringlengths
4
223
original_string
stringlengths
75
104k
code
stringlengths
75
104k
docstring_tokens
listlengths
1
1.97k
repo
stringlengths
7
55
language
stringclasses
1 value
url
stringlengths
87
315
code_tokens
listlengths
19
28.4k
sha
stringlengths
40
40
test
ServiceManagementService.delete_os_image
Deletes the specified OS image from your image repository. image_name: The name of the image. delete_vhd: Deletes the underlying vhd blob in Azure storage.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def delete_os_image(self, image_name, delete_vhd=False): ''' Deletes the specified OS image from your image repository. image_name: The name of the image. delete_vhd: Deletes the underlying vhd blob in Azure storage. ''' _validate_not_none('image_...
def delete_os_image(self, image_name, delete_vhd=False): ''' Deletes the specified OS image from your image repository. image_name: The name of the image. delete_vhd: Deletes the underlying vhd blob in Azure storage. ''' _validate_not_none('image_...
[ "Deletes", "the", "specified", "OS", "image", "from", "your", "image", "repository", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L2342-L2355
[ "def", "delete_os_image", "(", "self", ",", "image_name", ",", "delete_vhd", "=", "False", ")", ":", "_validate_not_none", "(", "'image_name'", ",", "image_name", ")", "path", "=", "self", ".", "_get_image_path", "(", "image_name", ")", "if", "delete_vhd", ":"...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.get_data_disk
Retrieves the specified data disk from a virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. lun: The Logical Unit Number (LUN) for the disk.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def get_data_disk(self, service_name, deployment_name, role_name, lun): ''' Retrieves the specified data disk from a virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of th...
def get_data_disk(self, service_name, deployment_name, role_name, lun): ''' Retrieves the specified data disk from a virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of th...
[ "Retrieves", "the", "specified", "data", "disk", "from", "a", "virtual", "machine", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L2358-L2378
[ "def", "get_data_disk", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_name", ",", "lun", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deployment_name'", ",", "deployment_name", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.add_data_disk
Adds a data disk to a virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. lun: Specifies the Logical Unit Number (LUN) for the disk. The LUN spec...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def add_data_disk(self, service_name, deployment_name, role_name, lun, host_caching=None, media_link=None, disk_label=None, disk_name=None, logical_disk_size_in_gb=None, source_media_link=None): ''' Adds a data disk to a virtual machine. ...
def add_data_disk(self, service_name, deployment_name, role_name, lun, host_caching=None, media_link=None, disk_label=None, disk_name=None, logical_disk_size_in_gb=None, source_media_link=None): ''' Adds a data disk to a virtual machine. ...
[ "Adds", "a", "data", "disk", "to", "a", "virtual", "machine", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L2380-L2440
[ "def", "add_data_disk", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_name", ",", "lun", ",", "host_caching", "=", "None", ",", "media_link", "=", "None", ",", "disk_label", "=", "None", ",", "disk_name", "=", "None", ",", "logical_dis...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.update_data_disk
Updates the specified data disk attached to the specified virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. lun: Specifies the Logical Unit Number ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def update_data_disk(self, service_name, deployment_name, role_name, lun, host_caching=None, media_link=None, updated_lun=None, disk_label=None, disk_name=None, logical_disk_size_in_gb=None): ''' Updates the specified data disk a...
def update_data_disk(self, service_name, deployment_name, role_name, lun, host_caching=None, media_link=None, updated_lun=None, disk_label=None, disk_name=None, logical_disk_size_in_gb=None): ''' Updates the specified data disk a...
[ "Updates", "the", "specified", "data", "disk", "attached", "to", "the", "specified", "virtual", "machine", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L2442-L2506
[ "def", "update_data_disk", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_name", ",", "lun", ",", "host_caching", "=", "None", ",", "media_link", "=", "None", ",", "updated_lun", "=", "None", ",", "disk_label", "=", "None", ",", "disk_n...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.delete_data_disk
Removes the specified data disk from a virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: The name of the role. lun: The Logical Unit Number (LUN) for the disk. delete_vh...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def delete_data_disk(self, service_name, deployment_name, role_name, lun, delete_vhd=False): ''' Removes the specified data disk from a virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: ...
def delete_data_disk(self, service_name, deployment_name, role_name, lun, delete_vhd=False): ''' Removes the specified data disk from a virtual machine. service_name: The name of the service. deployment_name: The name of the deployment. role_name: ...
[ "Removes", "the", "specified", "data", "disk", "from", "a", "virtual", "machine", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L2508-L2530
[ "def", "delete_data_disk", "(", "self", ",", "service_name", ",", "deployment_name", ",", "role_name", ",", "lun", ",", "delete_vhd", "=", "False", ")", ":", "_validate_not_none", "(", "'service_name'", ",", "service_name", ")", "_validate_not_none", "(", "'deploy...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.add_disk
Adds a disk to the user image repository. The disk can be an OS disk or a data disk. has_operating_system: Deprecated. label: Specifies the description of the disk. media_link: Specifies the location of the blob in Windows Azure blob store ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def add_disk(self, has_operating_system, label, media_link, name, os): ''' Adds a disk to the user image repository. The disk can be an OS disk or a data disk. has_operating_system: Deprecated. label: Specifies the description of the disk. media_l...
def add_disk(self, has_operating_system, label, media_link, name, os): ''' Adds a disk to the user image repository. The disk can be an OS disk or a data disk. has_operating_system: Deprecated. label: Specifies the description of the disk. media_l...
[ "Adds", "a", "disk", "to", "the", "user", "image", "repository", ".", "The", "disk", "can", "be", "an", "OS", "disk", "or", "a", "data", "disk", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L2547-L2577
[ "def", "add_disk", "(", "self", ",", "has_operating_system", ",", "label", ",", "media_link", ",", "name", ",", "os", ")", ":", "_validate_not_none", "(", "'label'", ",", "label", ")", "_validate_not_none", "(", "'media_link'", ",", "media_link", ")", "_valida...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.update_disk
Updates an existing disk in your image repository. disk_name: The name of the disk to update. has_operating_system: Deprecated. label: Specifies the description of the disk. media_link: Deprecated. name: Deprecated. ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def update_disk(self, disk_name, has_operating_system=None, label=None, media_link=None, name=None, os=None): ''' Updates an existing disk in your image repository. disk_name: The name of the disk to update. has_operating_system: Deprecated. ...
def update_disk(self, disk_name, has_operating_system=None, label=None, media_link=None, name=None, os=None): ''' Updates an existing disk in your image repository. disk_name: The name of the disk to update. has_operating_system: Deprecated. ...
[ "Updates", "an", "existing", "disk", "in", "your", "image", "repository", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L2579-L2604
[ "def", "update_disk", "(", "self", ",", "disk_name", ",", "has_operating_system", "=", "None", ",", "label", "=", "None", ",", "media_link", "=", "None", ",", "name", "=", "None", ",", "os", "=", "None", ")", ":", "_validate_not_none", "(", "'disk_name'", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceManagementService.delete_disk
Deletes the specified data or operating system disk from your image repository. disk_name: The name of the disk to delete. delete_vhd: Deletes the underlying vhd blob in Azure storage.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def delete_disk(self, disk_name, delete_vhd=False): ''' Deletes the specified data or operating system disk from your image repository. disk_name: The name of the disk to delete. delete_vhd: Deletes the underlying vhd blob in Azure storage. ''' ...
def delete_disk(self, disk_name, delete_vhd=False): ''' Deletes the specified data or operating system disk from your image repository. disk_name: The name of the disk to delete. delete_vhd: Deletes the underlying vhd blob in Azure storage. ''' ...
[ "Deletes", "the", "specified", "data", "or", "operating", "system", "disk", "from", "your", "image", "repository", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L2606-L2620
[ "def", "delete_disk", "(", "self", ",", "disk_name", ",", "delete_vhd", "=", "False", ")", ":", "_validate_not_none", "(", "'disk_name'", ",", "disk_name", ")", "path", "=", "self", ".", "_get_disk_path", "(", "disk_name", ")", "if", "delete_vhd", ":", "path...
d7306fde32f60a293a7567678692bdad31e4b667
test
SmartGroupsOperations.get_all
Get all smartGroups within the subscription. List all the smartGroups within the specified subscription. . :param target_resource: Filter by target resource( which is full ARM ID) Default value is select all. :type target_resource: str :param target_resource_group: Filter by t...
azure-mgmt-alertsmanagement/azure/mgmt/alertsmanagement/operations/smart_groups_operations.py
def get_all( self, target_resource=None, target_resource_group=None, target_resource_type=None, monitor_service=None, monitor_condition=None, severity=None, smart_group_state=None, time_range=None, page_count=None, sort_by=None, sort_order=None, custom_headers=None, raw=False, **operation_config): "...
def get_all( self, target_resource=None, target_resource_group=None, target_resource_type=None, monitor_service=None, monitor_condition=None, severity=None, smart_group_state=None, time_range=None, page_count=None, sort_by=None, sort_order=None, custom_headers=None, raw=False, **operation_config): "...
[ "Get", "all", "smartGroups", "within", "the", "subscription", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-alertsmanagement/azure/mgmt/alertsmanagement/operations/smart_groups_operations.py#L39-L165
[ "def", "get_all", "(", "self", ",", "target_resource", "=", "None", ",", "target_resource_group", "=", "None", ",", "target_resource_type", "=", "None", ",", "monitor_service", "=", "None", ",", "monitor_condition", "=", "None", ",", "severity", "=", "None", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
PolicyStatesOperations.summarize_for_management_group
Summarizes policy states for the resources under the management group. :param management_group_name: Management group name. :type management_group_name: str :param query_options: Additional parameters for the operation :type query_options: ~azure.mgmt.policyinsights.models.QueryOptions ...
azure-mgmt-policyinsights/azure/mgmt/policyinsights/operations/policy_states_operations.py
def summarize_for_management_group( self, management_group_name, query_options=None, custom_headers=None, raw=False, **operation_config): """Summarizes policy states for the resources under the management group. :param management_group_name: Management group name. :type management_g...
def summarize_for_management_group( self, management_group_name, query_options=None, custom_headers=None, raw=False, **operation_config): """Summarizes policy states for the resources under the management group. :param management_group_name: Management group name. :type management_g...
[ "Summarizes", "policy", "states", "for", "the", "resources", "under", "the", "management", "group", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-policyinsights/azure/mgmt/policyinsights/operations/policy_states_operations.py#L148-L227
[ "def", "summarize_for_management_group", "(", "self", ",", "management_group_name", ",", "query_options", "=", "None", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "*", "*", "operation_config", ")", ":", "top", "=", "None", "if", "query_o...
d7306fde32f60a293a7567678692bdad31e4b667
test
Receiver._build_receiver
This is a temporary patch pending a fix in uAMQP.
azure-servicebus/azure/servicebus/receive_handler.py
def _build_receiver(self): """This is a temporary patch pending a fix in uAMQP.""" # pylint: disable=protected-access self._handler.message_handler = self._handler.receiver_type( self._handler._session, self._handler._remote_address, self._handler._name, ...
def _build_receiver(self): """This is a temporary patch pending a fix in uAMQP.""" # pylint: disable=protected-access self._handler.message_handler = self._handler.receiver_type( self._handler._session, self._handler._remote_address, self._handler._name, ...
[ "This", "is", "a", "temporary", "patch", "pending", "a", "fix", "in", "uAMQP", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/receive_handler.py#L154-L173
[ "def", "_build_receiver", "(", "self", ")", ":", "# pylint: disable=protected-access", "self", ".", "_handler", ".", "message_handler", "=", "self", ".", "_handler", ".", "receiver_type", "(", "self", ".", "_handler", ".", "_session", ",", "self", ".", "_handler...
d7306fde32f60a293a7567678692bdad31e4b667
test
Receiver.open
Open receiver connection and authenticate session. If the receiver is already open, this operation will do nothing. This method will be called automatically when one starts to iterate messages in the receiver, so there should be no need to call it directly. A receiver opened with this m...
azure-servicebus/azure/servicebus/receive_handler.py
def open(self): """Open receiver connection and authenticate session. If the receiver is already open, this operation will do nothing. This method will be called automatically when one starts to iterate messages in the receiver, so there should be no need to call it directly. A ...
def open(self): """Open receiver connection and authenticate session. If the receiver is already open, this operation will do nothing. This method will be called automatically when one starts to iterate messages in the receiver, so there should be no need to call it directly. A ...
[ "Open", "receiver", "connection", "and", "authenticate", "session", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/receive_handler.py#L292-L321
[ "def", "open", "(", "self", ")", ":", "if", "self", ".", "running", ":", "return", "self", ".", "running", "=", "True", "try", ":", "self", ".", "_handler", ".", "open", "(", "connection", "=", "self", ".", "connection", ")", "self", ".", "message_it...
d7306fde32f60a293a7567678692bdad31e4b667
test
Receiver.fetch_next
Receive a batch of messages at once. This approach it optimal if you wish to process multiple messages simultaneously. Note that the number of messages retrieved in a single batch will be dependent on whether `prefetch` was set for the receiver. This call will prioritize returning quick...
azure-servicebus/azure/servicebus/receive_handler.py
def fetch_next(self, max_batch_size=None, timeout=None): """Receive a batch of messages at once. This approach it optimal if you wish to process multiple messages simultaneously. Note that the number of messages retrieved in a single batch will be dependent on whether `prefetch` was set...
def fetch_next(self, max_batch_size=None, timeout=None): """Receive a batch of messages at once. This approach it optimal if you wish to process multiple messages simultaneously. Note that the number of messages retrieved in a single batch will be dependent on whether `prefetch` was set...
[ "Receive", "a", "batch", "of", "messages", "at", "once", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/receive_handler.py#L356-L397
[ "def", "fetch_next", "(", "self", ",", "max_batch_size", "=", "None", ",", "timeout", "=", "None", ")", ":", "self", ".", "_can_run", "(", ")", "wrapped_batch", "=", "[", "]", "max_batch_size", "=", "max_batch_size", "or", "self", ".", "_handler", ".", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
SessionReceiver.renew_lock
Renew the session lock. This operation must be performed periodically in order to retain a lock on the session to continue message processing. Once the lock is lost the connection will be closed. This operation can also be performed as a threaded background task by registering the sessi...
azure-servicebus/azure/servicebus/receive_handler.py
def renew_lock(self): """Renew the session lock. This operation must be performed periodically in order to retain a lock on the session to continue message processing. Once the lock is lost the connection will be closed. This operation can also be performed as a threaded backgro...
def renew_lock(self): """Renew the session lock. This operation must be performed periodically in order to retain a lock on the session to continue message processing. Once the lock is lost the connection will be closed. This operation can also be performed as a threaded backgro...
[ "Renew", "the", "session", "lock", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/receive_handler.py#L556-L579
[ "def", "renew_lock", "(", "self", ")", ":", "self", ".", "_can_run", "(", ")", "expiry", "=", "self", ".", "_mgmt_request_response", "(", "REQUEST_RESPONSE_RENEW_SESSION_LOCK_OPERATION", ",", "{", "'session-id'", ":", "self", ".", "session_id", "}", ",", "mgmt_h...
d7306fde32f60a293a7567678692bdad31e4b667
test
SessionReceiver.peek
Browse messages currently pending in the queue. Peeked messages are not removed from queue, nor are they locked. They cannot be completed, deferred or dead-lettered. This operation will only peek pending messages in the current session. :param count: The maximum number of messages to t...
azure-servicebus/azure/servicebus/receive_handler.py
def peek(self, count=1, start_from=None): """Browse messages currently pending in the queue. Peeked messages are not removed from queue, nor are they locked. They cannot be completed, deferred or dead-lettered. This operation will only peek pending messages in the current session. ...
def peek(self, count=1, start_from=None): """Browse messages currently pending in the queue. Peeked messages are not removed from queue, nor are they locked. They cannot be completed, deferred or dead-lettered. This operation will only peek pending messages in the current session. ...
[ "Browse", "messages", "currently", "pending", "in", "the", "queue", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/receive_handler.py#L581-L619
[ "def", "peek", "(", "self", ",", "count", "=", "1", ",", "start_from", "=", "None", ")", ":", "if", "not", "start_from", ":", "start_from", "=", "self", ".", "last_received", "or", "1", "if", "int", "(", "count", ")", "<", "1", ":", "raise", "Value...
d7306fde32f60a293a7567678692bdad31e4b667
test
SessionReceiver.list_sessions
List session IDs. List the Session IDs with pending messages in the queue where the state of the session has been updated since the timestamp provided. If no timestamp is provided, all will be returned. If the state of a Session has never been set, it will not be returned regardless of whether ...
azure-servicebus/azure/servicebus/receive_handler.py
def list_sessions(self, updated_since=None, max_results=100, skip=0): """List session IDs. List the Session IDs with pending messages in the queue where the state of the session has been updated since the timestamp provided. If no timestamp is provided, all will be returned. If the stat...
def list_sessions(self, updated_since=None, max_results=100, skip=0): """List session IDs. List the Session IDs with pending messages in the queue where the state of the session has been updated since the timestamp provided. If no timestamp is provided, all will be returned. If the stat...
[ "List", "session", "IDs", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/receive_handler.py#L665-L702
[ "def", "list_sessions", "(", "self", ",", "updated_since", "=", "None", ",", "max_results", "=", "100", ",", "skip", "=", "0", ")", ":", "if", "int", "(", "max_results", ")", "<", "1", ":", "raise", "ValueError", "(", "\"max_results must be 1 or greater.\"",...
d7306fde32f60a293a7567678692bdad31e4b667
test
VirtualMachineScaleSetsOperations.create_or_update
Create or update a VM scale set. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param vm_scale_set_name: The name of the VM scale set to create or update. :type vm_scale_set_name: str :param parameters: The scale set object. ...
azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/virtual_machine_scale_sets_operations.py
def create_or_update( self, resource_group_name, vm_scale_set_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): """Create or update a VM scale set. :param resource_group_name: The name of the resource group. :type resource_group_name: str :...
def create_or_update( self, resource_group_name, vm_scale_set_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): """Create or update a VM scale set. :param resource_group_name: The name of the resource group. :type resource_group_name: str :...
[ "Create", "or", "update", "a", "VM", "scale", "set", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/virtual_machine_scale_sets_operations.py#L94-L143
[ "def", "create_or_update", "(", "self", ",", "resource_group_name", ",", "vm_scale_set_name", ",", "parameters", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "polling", "=", "True", ",", "*", "*", "operation_config", ")", ":", "raw_result...
d7306fde32f60a293a7567678692bdad31e4b667
test
VirtualMachineScaleSetsOperations.convert_to_single_placement_group
Converts SinglePlacementGroup property to false for a existing virtual machine scale set. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param vm_scale_set_name: The name of the virtual machine scale set to create or update. ...
azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/virtual_machine_scale_sets_operations.py
def convert_to_single_placement_group( self, resource_group_name, vm_scale_set_name, active_placement_group_id=None, custom_headers=None, raw=False, **operation_config): """Converts SinglePlacementGroup property to false for a existing virtual machine scale set. :param resource_grou...
def convert_to_single_placement_group( self, resource_group_name, vm_scale_set_name, active_placement_group_id=None, custom_headers=None, raw=False, **operation_config): """Converts SinglePlacementGroup property to false for a existing virtual machine scale set. :param resource_grou...
[ "Converts", "SinglePlacementGroup", "property", "to", "false", "for", "a", "existing", "virtual", "machine", "scale", "set", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/virtual_machine_scale_sets_operations.py#L1766-L1829
[ "def", "convert_to_single_placement_group", "(", "self", ",", "resource_group_name", ",", "vm_scale_set_name", ",", "active_placement_group_id", "=", "None", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "*", "*", "operation_config", ")", ":", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
find_autorest_generated_folder
Find all Autorest generated code in that module prefix. This actually looks for a "models" package only (not file). We could be smarter if necessary.
azure-sdk-tools/packaging_tools/code_report.py
def find_autorest_generated_folder(module_prefix="azure"): """Find all Autorest generated code in that module prefix. This actually looks for a "models" package only (not file). We could be smarter if necessary. """ _LOGGER.info(f"Looking for Autorest generated package in {module_prefix}") # Manual...
def find_autorest_generated_folder(module_prefix="azure"): """Find all Autorest generated code in that module prefix. This actually looks for a "models" package only (not file). We could be smarter if necessary. """ _LOGGER.info(f"Looking for Autorest generated package in {module_prefix}") # Manual...
[ "Find", "all", "Autorest", "generated", "code", "in", "that", "module", "prefix", ".", "This", "actually", "looks", "for", "a", "models", "package", "only", "(", "not", "file", ")", ".", "We", "could", "be", "smarter", "if", "necessary", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-sdk-tools/packaging_tools/code_report.py#L176-L202
[ "def", "find_autorest_generated_folder", "(", "module_prefix", "=", "\"azure\"", ")", ":", "_LOGGER", ".", "info", "(", "f\"Looking for Autorest generated package in {module_prefix}\"", ")", "# Manually skip some namespaces for now", "if", "module_prefix", "in", "[", "\"azure.c...
d7306fde32f60a293a7567678692bdad31e4b667
test
get_sub_module_part
Assuming package is azure-mgmt-compute and module name is azure.mgmt.compute.v2018-08-01 will return v2018-08-01
azure-sdk-tools/packaging_tools/code_report.py
def get_sub_module_part(package_name, module_name): """Assuming package is azure-mgmt-compute and module name is azure.mgmt.compute.v2018-08-01 will return v2018-08-01 """ sub_module_from_package = package_name.replace("-", ".") if not module_name.startswith(sub_module_from_package): _LOGGER...
def get_sub_module_part(package_name, module_name): """Assuming package is azure-mgmt-compute and module name is azure.mgmt.compute.v2018-08-01 will return v2018-08-01 """ sub_module_from_package = package_name.replace("-", ".") if not module_name.startswith(sub_module_from_package): _LOGGER...
[ "Assuming", "package", "is", "azure", "-", "mgmt", "-", "compute", "and", "module", "name", "is", "azure", ".", "mgmt", ".", "compute", ".", "v2018", "-", "08", "-", "01", "will", "return", "v2018", "-", "08", "-", "01" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-sdk-tools/packaging_tools/code_report.py#L205-L213
[ "def", "get_sub_module_part", "(", "package_name", ",", "module_name", ")", ":", "sub_module_from_package", "=", "package_name", ".", "replace", "(", "\"-\"", ",", "\".\"", ")", "if", "not", "module_name", ".", "startswith", "(", "sub_module_from_package", ")", ":...
d7306fde32f60a293a7567678692bdad31e4b667
test
ResourceManagementClient.models
Module depends on the API version: * 2016-02-01: :mod:`v2016_02_01.models<azure.mgmt.resource.resources.v2016_02_01.models>` * 2016-09-01: :mod:`v2016_09_01.models<azure.mgmt.resource.resources.v2016_09_01.models>` * 2017-05-10: :mod:`v2017_05_10.models<azure.mgmt.resource.resources.v2...
azure-mgmt-resource/azure/mgmt/resource/resources/resource_management_client.py
def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * 2016-02-01: :mod:`v2016_02_01.models<azure.mgmt.resource.resources.v2016_02_01.models>` * 2016-09-01: :mod:`v2016_09_01.models<azure.mgmt.resource.resources.v2016_09_01.models>` * 2017-05-...
def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * 2016-02-01: :mod:`v2016_02_01.models<azure.mgmt.resource.resources.v2016_02_01.models>` * 2016-09-01: :mod:`v2016_09_01.models<azure.mgmt.resource.resources.v2016_09_01.models>` * 2017-05-...
[ "Module", "depends", "on", "the", "API", "version", ":" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-resource/azure/mgmt/resource/resources/resource_management_client.py#L96-L120
[ "def", "models", "(", "cls", ",", "api_version", "=", "DEFAULT_API_VERSION", ")", ":", "if", "api_version", "==", "'2016-02-01'", ":", "from", ".", "v2016_02_01", "import", "models", "return", "models", "elif", "api_version", "==", "'2016-09-01'", ":", "from", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ResourceManagementClient.resource_groups
Instance depends on the API version: * 2016-02-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2016_02_01.operations.ResourceGroupsOperations>` * 2016-09-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2016_09_01.operations.ResourceGroupsOperations>` ...
azure-mgmt-resource/azure/mgmt/resource/resources/resource_management_client.py
def resource_groups(self): """Instance depends on the API version: * 2016-02-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2016_02_01.operations.ResourceGroupsOperations>` * 2016-09-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2016_09_01.operat...
def resource_groups(self): """Instance depends on the API version: * 2016-02-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2016_02_01.operations.ResourceGroupsOperations>` * 2016-09-01: :class:`ResourceGroupsOperations<azure.mgmt.resource.resources.v2016_09_01.operat...
[ "Instance", "depends", "on", "the", "API", "version", ":" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-resource/azure/mgmt/resource/resources/resource_management_client.py#L211-L233
[ "def", "resource_groups", "(", "self", ")", ":", "api_version", "=", "self", ".", "_get_api_version", "(", "'resource_groups'", ")", "if", "api_version", "==", "'2016-02-01'", ":", "from", ".", "v2016_02_01", ".", "operations", "import", "ResourceGroupsOperations", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
PolicyClient.models
Module depends on the API version: * 2015-10-01-preview: :mod:`v2015_10_01_preview.models<azure.mgmt.resource.policy.v2015_10_01_preview.models>` * 2016-04-01: :mod:`v2016_04_01.models<azure.mgmt.resource.policy.v2016_04_01.models>` * 2016-12-01: :mod:`v2016_12_01.models<azure.mgmt.res...
azure-mgmt-resource/azure/mgmt/resource/policy/policy_client.py
def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * 2015-10-01-preview: :mod:`v2015_10_01_preview.models<azure.mgmt.resource.policy.v2015_10_01_preview.models>` * 2016-04-01: :mod:`v2016_04_01.models<azure.mgmt.resource.policy.v2016_04_01.models>` ...
def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * 2015-10-01-preview: :mod:`v2015_10_01_preview.models<azure.mgmt.resource.policy.v2015_10_01_preview.models>` * 2016-04-01: :mod:`v2016_04_01.models<azure.mgmt.resource.policy.v2016_04_01.models>` ...
[ "Module", "depends", "on", "the", "API", "version", ":" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-resource/azure/mgmt/resource/policy/policy_client.py#L96-L124
[ "def", "models", "(", "cls", ",", "api_version", "=", "DEFAULT_API_VERSION", ")", ":", "if", "api_version", "==", "'2015-10-01-preview'", ":", "from", ".", "v2015_10_01_preview", "import", "models", "return", "models", "elif", "api_version", "==", "'2016-04-01'", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
PolicyClient.policy_assignments
Instance depends on the API version: * 2015-10-01-preview: :class:`PolicyAssignmentsOperations<azure.mgmt.resource.policy.v2015_10_01_preview.operations.PolicyAssignmentsOperations>` * 2016-04-01: :class:`PolicyAssignmentsOperations<azure.mgmt.resource.policy.v2016_04_01.operations.PolicyAssignme...
azure-mgmt-resource/azure/mgmt/resource/policy/policy_client.py
def policy_assignments(self): """Instance depends on the API version: * 2015-10-01-preview: :class:`PolicyAssignmentsOperations<azure.mgmt.resource.policy.v2015_10_01_preview.operations.PolicyAssignmentsOperations>` * 2016-04-01: :class:`PolicyAssignmentsOperations<azure.mgmt.resource.pol...
def policy_assignments(self): """Instance depends on the API version: * 2015-10-01-preview: :class:`PolicyAssignmentsOperations<azure.mgmt.resource.policy.v2015_10_01_preview.operations.PolicyAssignmentsOperations>` * 2016-04-01: :class:`PolicyAssignmentsOperations<azure.mgmt.resource.pol...
[ "Instance", "depends", "on", "the", "API", "version", ":" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-resource/azure/mgmt/resource/policy/policy_client.py#L127-L152
[ "def", "policy_assignments", "(", "self", ")", ":", "api_version", "=", "self", ".", "_get_api_version", "(", "'policy_assignments'", ")", "if", "api_version", "==", "'2015-10-01-preview'", ":", "from", ".", "v2015_10_01_preview", ".", "operations", "import", "Polic...
d7306fde32f60a293a7567678692bdad31e4b667
test
PolicyClient.policy_set_definitions
Instance depends on the API version: * 2017-06-01-preview: :class:`PolicySetDefinitionsOperations<azure.mgmt.resource.policy.v2017_06_01_preview.operations.PolicySetDefinitionsOperations>` * 2018-03-01: :class:`PolicySetDefinitionsOperations<azure.mgmt.resource.policy.v2018_03_01.operations.Polic...
azure-mgmt-resource/azure/mgmt/resource/policy/policy_client.py
def policy_set_definitions(self): """Instance depends on the API version: * 2017-06-01-preview: :class:`PolicySetDefinitionsOperations<azure.mgmt.resource.policy.v2017_06_01_preview.operations.PolicySetDefinitionsOperations>` * 2018-03-01: :class:`PolicySetDefinitionsOperations<azure.mgmt...
def policy_set_definitions(self): """Instance depends on the API version: * 2017-06-01-preview: :class:`PolicySetDefinitionsOperations<azure.mgmt.resource.policy.v2017_06_01_preview.operations.PolicySetDefinitionsOperations>` * 2018-03-01: :class:`PolicySetDefinitionsOperations<azure.mgmt...
[ "Instance", "depends", "on", "the", "API", "version", ":" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-resource/azure/mgmt/resource/policy/policy_client.py#L183-L199
[ "def", "policy_set_definitions", "(", "self", ")", ":", "api_version", "=", "self", ".", "_get_api_version", "(", "'policy_set_definitions'", ")", "if", "api_version", "==", "'2017-06-01-preview'", ":", "from", ".", "v2017_06_01_preview", ".", "operations", "import", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
TextModerationOperations.screen_text
Detect profanity and match against custom and shared blacklists. Detects profanity in more than 100 languages and match against custom and shared blacklists. :param text_content_type: The content type. Possible values include: 'text/plain', 'text/html', 'text/xml', 'text/markdown' ...
azure-cognitiveservices-vision-contentmoderator/azure/cognitiveservices/vision/contentmoderator/operations/text_moderation_operations.py
def screen_text( self, text_content_type, text_content, language=None, autocorrect=False, pii=False, list_id=None, classify=False, custom_headers=None, raw=False, callback=None, **operation_config): """Detect profanity and match against custom and shared blacklists. Detects profanity in mor...
def screen_text( self, text_content_type, text_content, language=None, autocorrect=False, pii=False, list_id=None, classify=False, custom_headers=None, raw=False, callback=None, **operation_config): """Detect profanity and match against custom and shared blacklists. Detects profanity in mor...
[ "Detect", "profanity", "and", "match", "against", "custom", "and", "shared", "blacklists", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-cognitiveservices-vision-contentmoderator/azure/cognitiveservices/vision/contentmoderator/operations/text_moderation_operations.py#L36-L121
[ "def", "screen_text", "(", "self", ",", "text_content_type", ",", "text_content", ",", "language", "=", "None", ",", "autocorrect", "=", "False", ",", "pii", "=", "False", ",", "list_id", "=", "None", ",", "classify", "=", "False", ",", "custom_headers", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
KeyVaultClient.create_key
Creates a new key, stores it, then returns key parameters and attributes to the client. The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permissi...
azure-keyvault/azure/keyvault/v2016_10_01/key_vault_client.py
def create_key( self, vault_base_url, key_name, kty, key_size=None, key_ops=None, key_attributes=None, tags=None, curve=None, custom_headers=None, raw=False, **operation_config): """Creates a new key, stores it, then returns key parameters and attributes to the client. The create ke...
def create_key( self, vault_base_url, key_name, kty, key_size=None, key_ops=None, key_attributes=None, tags=None, curve=None, custom_headers=None, raw=False, **operation_config): """Creates a new key, stores it, then returns key parameters and attributes to the client. The create ke...
[ "Creates", "a", "new", "key", "stores", "it", "then", "returns", "key", "parameters", "and", "attributes", "to", "the", "client", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-keyvault/azure/keyvault/v2016_10_01/key_vault_client.py#L69-L159
[ "def", "create_key", "(", "self", ",", "vault_base_url", ",", "key_name", ",", "kty", ",", "key_size", "=", "None", ",", "key_ops", "=", "None", ",", "key_attributes", "=", "None", ",", "tags", "=", "None", ",", "curve", "=", "None", ",", "custom_headers...
d7306fde32f60a293a7567678692bdad31e4b667
test
KeyVaultClient.import_key
Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation r...
azure-keyvault/azure/keyvault/v2016_10_01/key_vault_client.py
def import_key( self, vault_base_url, key_name, key, hsm=None, key_attributes=None, tags=None, custom_headers=None, raw=False, **operation_config): """Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may ...
def import_key( self, vault_base_url, key_name, key, hsm=None, key_attributes=None, tags=None, custom_headers=None, raw=False, **operation_config): """Imports an externally created key, stores it, and returns key parameters and attributes to the client. The import key operation may ...
[ "Imports", "an", "externally", "created", "key", "stores", "it", "and", "returns", "key", "parameters", "and", "attributes", "to", "the", "client", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-keyvault/azure/keyvault/v2016_10_01/key_vault_client.py#L162-L241
[ "def", "import_key", "(", "self", ",", "vault_base_url", ",", "key_name", ",", "key", ",", "hsm", "=", "None", ",", "key_attributes", "=", "None", ",", "tags", "=", "None", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "*", "*", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
KeyVaultClient.update_key
The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault. In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be...
azure-keyvault/azure/keyvault/v2016_10_01/key_vault_client.py
def update_key( self, vault_base_url, key_name, key_version, key_ops=None, key_attributes=None, tags=None, custom_headers=None, raw=False, **operation_config): """The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored i...
def update_key( self, vault_base_url, key_name, key_version, key_ops=None, key_attributes=None, tags=None, custom_headers=None, raw=False, **operation_config): """The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored i...
[ "The", "update", "key", "operation", "changes", "specified", "attributes", "of", "a", "stored", "key", "and", "can", "be", "applied", "to", "any", "key", "type", "and", "key", "version", "stored", "in", "Azure", "Key", "Vault", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-keyvault/azure/keyvault/v2016_10_01/key_vault_client.py#L311-L393
[ "def", "update_key", "(", "self", ",", "vault_base_url", ",", "key_name", ",", "key_version", ",", "key_ops", "=", "None", ",", "key_attributes", "=", "None", ",", "tags", "=", "None", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "*...
d7306fde32f60a293a7567678692bdad31e4b667
test
KeyVaultClient.set_secret
Sets a secret in a specified key vault. The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission. :param vault_base_url: The vault name, for examp...
azure-keyvault/azure/keyvault/v2016_10_01/key_vault_client.py
def set_secret( self, vault_base_url, secret_name, value, tags=None, content_type=None, secret_attributes=None, custom_headers=None, raw=False, **operation_config): """Sets a secret in a specified key vault. The SET operation adds a secret to the Azure Key Vault. If the named secret...
def set_secret( self, vault_base_url, secret_name, value, tags=None, content_type=None, secret_attributes=None, custom_headers=None, raw=False, **operation_config): """Sets a secret in a specified key vault. The SET operation adds a secret to the Azure Key Vault. If the named secret...
[ "Sets", "a", "secret", "in", "a", "specified", "key", "vault", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-keyvault/azure/keyvault/v2016_10_01/key_vault_client.py#L1566-L1644
[ "def", "set_secret", "(", "self", ",", "vault_base_url", ",", "secret_name", ",", "value", ",", "tags", "=", "None", ",", "content_type", "=", "None", ",", "secret_attributes", "=", "None", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",",...
d7306fde32f60a293a7567678692bdad31e4b667
test
KeyVaultClient.set_certificate_issuer
Sets the specified certificate issuer. The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. :param vault_base_url: The vault name, for example https://myvault.vault.azure.net. ...
azure-keyvault/azure/keyvault/v2016_10_01/key_vault_client.py
def set_certificate_issuer( self, vault_base_url, issuer_name, provider, credentials=None, organization_details=None, attributes=None, custom_headers=None, raw=False, **operation_config): """Sets the specified certificate issuer. The SetCertificateIssuer operation adds or updates the specif...
def set_certificate_issuer( self, vault_base_url, issuer_name, provider, credentials=None, organization_details=None, attributes=None, custom_headers=None, raw=False, **operation_config): """Sets the specified certificate issuer. The SetCertificateIssuer operation adds or updates the specif...
[ "Sets", "the", "specified", "certificate", "issuer", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-keyvault/azure/keyvault/v2016_10_01/key_vault_client.py#L2828-L2907
[ "def", "set_certificate_issuer", "(", "self", ",", "vault_base_url", ",", "issuer_name", ",", "provider", ",", "credentials", "=", "None", ",", "organization_details", "=", "None", ",", "attributes", "=", "None", ",", "custom_headers", "=", "None", ",", "raw", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
KeyVaultClient.set_storage_account
Creates or updates a new storage account. This operation requires the storage/set permission. :param vault_base_url: The vault name, for example https://myvault.vault.azure.net. :type vault_base_url: str :param storage_account_name: The name of the storage account. :typ...
azure-keyvault/azure/keyvault/v2016_10_01/key_vault_client.py
def set_storage_account( self, vault_base_url, storage_account_name, resource_id, active_key_name, auto_regenerate_key, regeneration_period=None, storage_account_attributes=None, tags=None, custom_headers=None, raw=False, **operation_config): """Creates or updates a new storage account. This operati...
def set_storage_account( self, vault_base_url, storage_account_name, resource_id, active_key_name, auto_regenerate_key, regeneration_period=None, storage_account_attributes=None, tags=None, custom_headers=None, raw=False, **operation_config): """Creates or updates a new storage account. This operati...
[ "Creates", "or", "updates", "a", "new", "storage", "account", ".", "This", "operation", "requires", "the", "storage", "/", "set", "permission", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-keyvault/azure/keyvault/v2016_10_01/key_vault_client.py#L4414-L4496
[ "def", "set_storage_account", "(", "self", ",", "vault_base_url", ",", "storage_account_name", ",", "resource_id", ",", "active_key_name", ",", "auto_regenerate_key", ",", "regeneration_period", "=", "None", ",", "storage_account_attributes", "=", "None", ",", "tags", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
StorageManagementClient.models
Module depends on the API version: * 2015-06-15: :mod:`v2015_06_15.models<azure.mgmt.storage.v2015_06_15.models>` * 2016-01-01: :mod:`v2016_01_01.models<azure.mgmt.storage.v2016_01_01.models>` * 2016-12-01: :mod:`v2016_12_01.models<azure.mgmt.storage.v2016_12_01.models>` * 2...
azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py
def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * 2015-06-15: :mod:`v2015_06_15.models<azure.mgmt.storage.v2015_06_15.models>` * 2016-01-01: :mod:`v2016_01_01.models<azure.mgmt.storage.v2016_01_01.models>` * 2016-12-01: :mod:`v2016_12_01....
def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * 2015-06-15: :mod:`v2015_06_15.models<azure.mgmt.storage.v2015_06_15.models>` * 2016-01-01: :mod:`v2016_01_01.models<azure.mgmt.storage.v2016_01_01.models>` * 2016-12-01: :mod:`v2016_12_01....
[ "Module", "depends", "on", "the", "API", "version", ":" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py#L108-L144
[ "def", "models", "(", "cls", ",", "api_version", "=", "DEFAULT_API_VERSION", ")", ":", "if", "api_version", "==", "'2015-06-15'", ":", "from", ".", "v2015_06_15", "import", "models", "return", "models", "elif", "api_version", "==", "'2016-01-01'", ":", "from", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
StorageManagementClient.blob_containers
Instance depends on the API version: * 2018-02-01: :class:`BlobContainersOperations<azure.mgmt.storage.v2018_02_01.operations.BlobContainersOperations>` * 2018-03-01-preview: :class:`BlobContainersOperations<azure.mgmt.storage.v2018_03_01_preview.operations.BlobContainersOperations>` *...
azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py
def blob_containers(self): """Instance depends on the API version: * 2018-02-01: :class:`BlobContainersOperations<azure.mgmt.storage.v2018_02_01.operations.BlobContainersOperations>` * 2018-03-01-preview: :class:`BlobContainersOperations<azure.mgmt.storage.v2018_03_01_preview.operations.B...
def blob_containers(self): """Instance depends on the API version: * 2018-02-01: :class:`BlobContainersOperations<azure.mgmt.storage.v2018_02_01.operations.BlobContainersOperations>` * 2018-03-01-preview: :class:`BlobContainersOperations<azure.mgmt.storage.v2018_03_01_preview.operations.B...
[ "Instance", "depends", "on", "the", "API", "version", ":" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py#L147-L163
[ "def", "blob_containers", "(", "self", ")", ":", "api_version", "=", "self", ".", "_get_api_version", "(", "'blob_containers'", ")", "if", "api_version", "==", "'2018-02-01'", ":", "from", ".", "v2018_02_01", ".", "operations", "import", "BlobContainersOperations", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
StorageManagementClient.blob_services
Instance depends on the API version: * 2018-07-01: :class:`BlobServicesOperations<azure.mgmt.storage.v2018_07_01.operations.BlobServicesOperations>`
azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py
def blob_services(self): """Instance depends on the API version: * 2018-07-01: :class:`BlobServicesOperations<azure.mgmt.storage.v2018_07_01.operations.BlobServicesOperations>` """ api_version = self._get_api_version('blob_services') if api_version == '2018-07-01': ...
def blob_services(self): """Instance depends on the API version: * 2018-07-01: :class:`BlobServicesOperations<azure.mgmt.storage.v2018_07_01.operations.BlobServicesOperations>` """ api_version = self._get_api_version('blob_services') if api_version == '2018-07-01': ...
[ "Instance", "depends", "on", "the", "API", "version", ":" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py#L166-L176
[ "def", "blob_services", "(", "self", ")", ":", "api_version", "=", "self", ".", "_get_api_version", "(", "'blob_services'", ")", "if", "api_version", "==", "'2018-07-01'", ":", "from", ".", "v2018_07_01", ".", "operations", "import", "BlobServicesOperations", "as"...
d7306fde32f60a293a7567678692bdad31e4b667
test
StorageManagementClient.management_policies
Instance depends on the API version: * 2018-07-01: :class:`ManagementPoliciesOperations<azure.mgmt.storage.v2018_07_01.operations.ManagementPoliciesOperations>`
azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py
def management_policies(self): """Instance depends on the API version: * 2018-07-01: :class:`ManagementPoliciesOperations<azure.mgmt.storage.v2018_07_01.operations.ManagementPoliciesOperations>` """ api_version = self._get_api_version('management_policies') if api_version == ...
def management_policies(self): """Instance depends on the API version: * 2018-07-01: :class:`ManagementPoliciesOperations<azure.mgmt.storage.v2018_07_01.operations.ManagementPoliciesOperations>` """ api_version = self._get_api_version('management_policies') if api_version == ...
[ "Instance", "depends", "on", "the", "API", "version", ":" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py#L179-L189
[ "def", "management_policies", "(", "self", ")", ":", "api_version", "=", "self", ".", "_get_api_version", "(", "'management_policies'", ")", "if", "api_version", "==", "'2018-07-01'", ":", "from", ".", "v2018_07_01", ".", "operations", "import", "ManagementPoliciesO...
d7306fde32f60a293a7567678692bdad31e4b667
test
StorageManagementClient.skus
Instance depends on the API version: * 2017-06-01: :class:`SkusOperations<azure.mgmt.storage.v2017_06_01.operations.SkusOperations>` * 2017-10-01: :class:`SkusOperations<azure.mgmt.storage.v2017_10_01.operations.SkusOperations>` * 2018-02-01: :class:`SkusOperations<azure.mgmt.storage.v...
azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py
def skus(self): """Instance depends on the API version: * 2017-06-01: :class:`SkusOperations<azure.mgmt.storage.v2017_06_01.operations.SkusOperations>` * 2017-10-01: :class:`SkusOperations<azure.mgmt.storage.v2017_10_01.operations.SkusOperations>` * 2018-02-01: :class:`SkusOper...
def skus(self): """Instance depends on the API version: * 2017-06-01: :class:`SkusOperations<azure.mgmt.storage.v2017_06_01.operations.SkusOperations>` * 2017-10-01: :class:`SkusOperations<azure.mgmt.storage.v2017_10_01.operations.SkusOperations>` * 2018-02-01: :class:`SkusOper...
[ "Instance", "depends", "on", "the", "API", "version", ":" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py#L217-L239
[ "def", "skus", "(", "self", ")", ":", "api_version", "=", "self", ".", "_get_api_version", "(", "'skus'", ")", "if", "api_version", "==", "'2017-06-01'", ":", "from", ".", "v2017_06_01", ".", "operations", "import", "SkusOperations", "as", "OperationClass", "e...
d7306fde32f60a293a7567678692bdad31e4b667
test
StorageManagementClient.storage_accounts
Instance depends on the API version: * 2015-06-15: :class:`StorageAccountsOperations<azure.mgmt.storage.v2015_06_15.operations.StorageAccountsOperations>` * 2016-01-01: :class:`StorageAccountsOperations<azure.mgmt.storage.v2016_01_01.operations.StorageAccountsOperations>` * 2016-12-01:...
azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py
def storage_accounts(self): """Instance depends on the API version: * 2015-06-15: :class:`StorageAccountsOperations<azure.mgmt.storage.v2015_06_15.operations.StorageAccountsOperations>` * 2016-01-01: :class:`StorageAccountsOperations<azure.mgmt.storage.v2016_01_01.operations.StorageAccoun...
def storage_accounts(self): """Instance depends on the API version: * 2015-06-15: :class:`StorageAccountsOperations<azure.mgmt.storage.v2015_06_15.operations.StorageAccountsOperations>` * 2016-01-01: :class:`StorageAccountsOperations<azure.mgmt.storage.v2016_01_01.operations.StorageAccoun...
[ "Instance", "depends", "on", "the", "API", "version", ":" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py#L242-L273
[ "def", "storage_accounts", "(", "self", ")", ":", "api_version", "=", "self", ".", "_get_api_version", "(", "'storage_accounts'", ")", "if", "api_version", "==", "'2015-06-15'", ":", "from", ".", "v2015_06_15", ".", "operations", "import", "StorageAccountsOperations...
d7306fde32f60a293a7567678692bdad31e4b667
test
StorageManagementClient.usage
Instance depends on the API version: * 2015-06-15: :class:`UsageOperations<azure.mgmt.storage.v2015_06_15.operations.UsageOperations>` * 2016-01-01: :class:`UsageOperations<azure.mgmt.storage.v2016_01_01.operations.UsageOperations>` * 2016-12-01: :class:`UsageOperations<azure.mgmt.stor...
azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py
def usage(self): """Instance depends on the API version: * 2015-06-15: :class:`UsageOperations<azure.mgmt.storage.v2015_06_15.operations.UsageOperations>` * 2016-01-01: :class:`UsageOperations<azure.mgmt.storage.v2016_01_01.operations.UsageOperations>` * 2016-12-01: :class:`Usa...
def usage(self): """Instance depends on the API version: * 2015-06-15: :class:`UsageOperations<azure.mgmt.storage.v2015_06_15.operations.UsageOperations>` * 2016-01-01: :class:`UsageOperations<azure.mgmt.storage.v2016_01_01.operations.UsageOperations>` * 2016-12-01: :class:`Usa...
[ "Instance", "depends", "on", "the", "API", "version", ":" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py#L276-L301
[ "def", "usage", "(", "self", ")", ":", "api_version", "=", "self", ".", "_get_api_version", "(", "'usage'", ")", "if", "api_version", "==", "'2015-06-15'", ":", "from", ".", "v2015_06_15", ".", "operations", "import", "UsageOperations", "as", "OperationClass", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
StorageManagementClient.usages
Instance depends on the API version: * 2018-03-01-preview: :class:`UsagesOperations<azure.mgmt.storage.v2018_03_01_preview.operations.UsagesOperations>` * 2018-07-01: :class:`UsagesOperations<azure.mgmt.storage.v2018_07_01.operations.UsagesOperations>`
azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py
def usages(self): """Instance depends on the API version: * 2018-03-01-preview: :class:`UsagesOperations<azure.mgmt.storage.v2018_03_01_preview.operations.UsagesOperations>` * 2018-07-01: :class:`UsagesOperations<azure.mgmt.storage.v2018_07_01.operations.UsagesOperations>` """ ...
def usages(self): """Instance depends on the API version: * 2018-03-01-preview: :class:`UsagesOperations<azure.mgmt.storage.v2018_03_01_preview.operations.UsagesOperations>` * 2018-07-01: :class:`UsagesOperations<azure.mgmt.storage.v2018_07_01.operations.UsagesOperations>` """ ...
[ "Instance", "depends", "on", "the", "API", "version", ":" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-storage/azure/mgmt/storage/storage_management_client.py#L304-L317
[ "def", "usages", "(", "self", ")", ":", "api_version", "=", "self", ".", "_get_api_version", "(", "'usages'", ")", "if", "api_version", "==", "'2018-03-01-preview'", ":", "from", ".", "v2018_03_01_preview", ".", "operations", "import", "UsagesOperations", "as", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
SubscriptionClient.models
Module depends on the API version: * 2016-06-01: :mod:`v2016_06_01.models<azure.mgmt.resource.subscriptions.v2016_06_01.models>`
azure-mgmt-resource/azure/mgmt/resource/subscriptions/subscription_client.py
def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * 2016-06-01: :mod:`v2016_06_01.models<azure.mgmt.resource.subscriptions.v2016_06_01.models>` """ if api_version == '2016-06-01': from .v2016_06_01 import models return mod...
def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * 2016-06-01: :mod:`v2016_06_01.models<azure.mgmt.resource.subscriptions.v2016_06_01.models>` """ if api_version == '2016-06-01': from .v2016_06_01 import models return mod...
[ "Module", "depends", "on", "the", "API", "version", ":" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-resource/azure/mgmt/resource/subscriptions/subscription_client.py#L89-L97
[ "def", "models", "(", "cls", ",", "api_version", "=", "DEFAULT_API_VERSION", ")", ":", "if", "api_version", "==", "'2016-06-01'", ":", "from", ".", "v2016_06_01", "import", "models", "return", "models", "raise", "NotImplementedError", "(", "\"APIVersion {} is not av...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusClient.from_connection_string
Create a Service Bus client from a connection string. :param conn_str: The connection string. :type conn_str: str Example: .. literalinclude:: ../examples/async_examples/test_examples_async.py :start-after: [START create_async_servicebus_client_connstr] ...
azure-servicebus/azure/servicebus/aio/async_client.py
def from_connection_string(cls, conn_str, *, loop=None, **kwargs): """Create a Service Bus client from a connection string. :param conn_str: The connection string. :type conn_str: str Example: .. literalinclude:: ../examples/async_examples/test_examples_async.py ...
def from_connection_string(cls, conn_str, *, loop=None, **kwargs): """Create a Service Bus client from a connection string. :param conn_str: The connection string. :type conn_str: str Example: .. literalinclude:: ../examples/async_examples/test_examples_async.py ...
[ "Create", "a", "Service", "Bus", "client", "from", "a", "connection", "string", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/aio/async_client.py#L73-L97
[ "def", "from_connection_string", "(", "cls", ",", "conn_str", ",", "*", ",", "loop", "=", "None", ",", "*", "*", "kwargs", ")", ":", "address", ",", "policy", ",", "key", ",", "_", "=", "parse_conn_str", "(", "conn_str", ")", "parsed_namespace", "=", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusClient.get_subscription
Get an async client for a subscription entity. :param topic_name: The name of the topic. :type topic_name: str :param subscription_name: The name of the subscription. :type subscription_name: str :rtype: ~azure.servicebus.aio.async_client.SubscriptionClient :raises: ~azu...
azure-servicebus/azure/servicebus/aio/async_client.py
def get_subscription(self, topic_name, subscription_name): """Get an async client for a subscription entity. :param topic_name: The name of the topic. :type topic_name: str :param subscription_name: The name of the subscription. :type subscription_name: str :rtype: ~azur...
def get_subscription(self, topic_name, subscription_name): """Get an async client for a subscription entity. :param topic_name: The name of the topic. :type topic_name: str :param subscription_name: The name of the subscription. :type subscription_name: str :rtype: ~azur...
[ "Get", "an", "async", "client", "for", "a", "subscription", "entity", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/aio/async_client.py#L203-L234
[ "def", "get_subscription", "(", "self", ",", "topic_name", ",", "subscription_name", ")", ":", "try", ":", "subscription", "=", "self", ".", "mgmt_client", ".", "get_subscription", "(", "topic_name", ",", "subscription_name", ")", "except", "requests", ".", "exc...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusClient.list_subscriptions
Get an async client for all subscription entities in the topic. :param topic_name: The topic to list subscriptions for. :type topic_name: str :rtype: list[~azure.servicebus.aio.async_client.SubscriptionClient] :raises: ~azure.servicebus.common.errors.ServiceBusConnectionError if the nam...
azure-servicebus/azure/servicebus/aio/async_client.py
def list_subscriptions(self, topic_name): """Get an async client for all subscription entities in the topic. :param topic_name: The topic to list subscriptions for. :type topic_name: str :rtype: list[~azure.servicebus.aio.async_client.SubscriptionClient] :raises: ~azure.serviceb...
def list_subscriptions(self, topic_name): """Get an async client for all subscription entities in the topic. :param topic_name: The topic to list subscriptions for. :type topic_name: str :rtype: list[~azure.servicebus.aio.async_client.SubscriptionClient] :raises: ~azure.serviceb...
[ "Get", "an", "async", "client", "for", "all", "subscription", "entities", "in", "the", "topic", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/aio/async_client.py#L236-L259
[ "def", "list_subscriptions", "(", "self", ",", "topic_name", ")", ":", "try", ":", "subs", "=", "self", ".", "mgmt_client", ".", "list_subscriptions", "(", "topic_name", ")", "except", "requests", ".", "exceptions", ".", "ConnectionError", "as", "e", ":", "r...
d7306fde32f60a293a7567678692bdad31e4b667
test
SendClientMixin.send
Send one or more messages to the current entity. This operation will open a single-use connection, send the supplied messages, and close connection. If the entity requires sessions, a session ID must be either provided here, or set on each outgoing message. :param messages: One or more...
azure-servicebus/azure/servicebus/aio/async_client.py
async def send(self, messages, message_timeout=0, session=None, **kwargs): """Send one or more messages to the current entity. This operation will open a single-use connection, send the supplied messages, and close connection. If the entity requires sessions, a session ID must be either ...
async def send(self, messages, message_timeout=0, session=None, **kwargs): """Send one or more messages to the current entity. This operation will open a single-use connection, send the supplied messages, and close connection. If the entity requires sessions, a session ID must be either ...
[ "Send", "one", "or", "more", "messages", "to", "the", "current", "entity", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/aio/async_client.py#L264-L321
[ "async", "def", "send", "(", "self", ",", "messages", ",", "message_timeout", "=", "0", ",", "session", "=", "None", ",", "*", "*", "kwargs", ")", ":", "async", "with", "self", ".", "get_sender", "(", "message_timeout", "=", "message_timeout", ",", "sess...
d7306fde32f60a293a7567678692bdad31e4b667
test
SendClientMixin.get_sender
Get a Sender for the Service Bus endpoint. A Sender represents a single open connection within which multiple send operations can be made. :param message_timeout: The period in seconds during which messages sent with this Sender must be sent. If the send is not completed in this time it will ...
azure-servicebus/azure/servicebus/aio/async_client.py
def get_sender(self, message_timeout=0, session=None, **kwargs): """Get a Sender for the Service Bus endpoint. A Sender represents a single open connection within which multiple send operations can be made. :param message_timeout: The period in seconds during which messages sent with ...
def get_sender(self, message_timeout=0, session=None, **kwargs): """Get a Sender for the Service Bus endpoint. A Sender represents a single open connection within which multiple send operations can be made. :param message_timeout: The period in seconds during which messages sent with ...
[ "Get", "a", "Sender", "for", "the", "Service", "Bus", "endpoint", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/aio/async_client.py#L323-L368
[ "def", "get_sender", "(", "self", ",", "message_timeout", "=", "0", ",", "session", "=", "None", ",", "*", "*", "kwargs", ")", ":", "handler_id", "=", "str", "(", "uuid", ".", "uuid4", "(", ")", ")", "if", "self", ".", "entity", "and", "self", ".",...
d7306fde32f60a293a7567678692bdad31e4b667
test
ReceiveClientMixin.get_receiver
Get a Receiver for the Service Bus endpoint. A Receiver represents a single open connection with which multiple receive operations can be made. :param session: A specific session from which to receive. This must be specified for a sessionful entity, otherwise it must be None. In order to rece...
azure-servicebus/azure/servicebus/aio/async_client.py
def get_receiver(self, session=None, prefetch=0, mode=ReceiveSettleMode.PeekLock, idle_timeout=0, **kwargs): """Get a Receiver for the Service Bus endpoint. A Receiver represents a single open connection with which multiple receive operations can be made. :param session: A specific session fro...
def get_receiver(self, session=None, prefetch=0, mode=ReceiveSettleMode.PeekLock, idle_timeout=0, **kwargs): """Get a Receiver for the Service Bus endpoint. A Receiver represents a single open connection with which multiple receive operations can be made. :param session: A specific session fro...
[ "Get", "a", "Receiver", "for", "the", "Service", "Bus", "endpoint", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/aio/async_client.py#L526-L591
[ "def", "get_receiver", "(", "self", ",", "session", "=", "None", ",", "prefetch", "=", "0", ",", "mode", "=", "ReceiveSettleMode", ".", "PeekLock", ",", "idle_timeout", "=", "0", ",", "*", "*", "kwargs", ")", ":", "if", "self", ".", "entity", "and", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ReceiveClientMixin.get_deadletter_receiver
Get a Receiver for the deadletter endpoint of the entity. A Receiver represents a single open connection with which multiple receive operations can be made. :param transfer_deadletter: Whether to connect to the transfer deadletter queue, or the standard deadletter queue. Default is False, usi...
azure-servicebus/azure/servicebus/aio/async_client.py
def get_deadletter_receiver( self, transfer_deadletter=False, prefetch=0, mode=ReceiveSettleMode.PeekLock, idle_timeout=0, **kwargs): """Get a Receiver for the deadletter endpoint of the entity. A Receiver represents a single open connection with which multiple receive operation...
def get_deadletter_receiver( self, transfer_deadletter=False, prefetch=0, mode=ReceiveSettleMode.PeekLock, idle_timeout=0, **kwargs): """Get a Receiver for the deadletter endpoint of the entity. A Receiver represents a single open connection with which multiple receive operation...
[ "Get", "a", "Receiver", "for", "the", "deadletter", "endpoint", "of", "the", "entity", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/aio/async_client.py#L593-L647
[ "def", "get_deadletter_receiver", "(", "self", ",", "transfer_deadletter", "=", "False", ",", "prefetch", "=", "0", ",", "mode", "=", "ReceiveSettleMode", ".", "PeekLock", ",", "idle_timeout", "=", "0", ",", "*", "*", "kwargs", ")", ":", "if", "int", "(", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
parse_response_for_async_op
Extracts request id from response header.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py
def parse_response_for_async_op(response): ''' Extracts request id from response header. ''' if response is None: return None result = AsynchronousOperationResult() if response.headers: for name, value in response.headers: if name.lower() == 'x-ms-request-id': ...
def parse_response_for_async_op(response): ''' Extracts request id from response header. ''' if response is None: return None result = AsynchronousOperationResult() if response.headers: for name, value in response.headers: if name.lower() == 'x-ms-request-id': ...
[ "Extracts", "request", "id", "from", "response", "header", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py#L422-L434
[ "def", "parse_response_for_async_op", "(", "response", ")", ":", "if", "response", "is", "None", ":", "return", "None", "result", "=", "AsynchronousOperationResult", "(", ")", "if", "response", ".", "headers", ":", "for", "name", ",", "value", "in", "response"...
d7306fde32f60a293a7567678692bdad31e4b667
test
_ServiceManagementClient.with_filter
Returns a new service which will process requests with the specified filter. Filtering operations can include logging, automatic retrying, etc... The filter is a lambda which receives the HTTPRequest and another lambda. The filter can perform any pre-processing on the request, pass it...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py
def with_filter(self, filter): '''Returns a new service which will process requests with the specified filter. Filtering operations can include logging, automatic retrying, etc... The filter is a lambda which receives the HTTPRequest and another lambda. The filter can perform any pre-...
def with_filter(self, filter): '''Returns a new service which will process requests with the specified filter. Filtering operations can include logging, automatic retrying, etc... The filter is a lambda which receives the HTTPRequest and another lambda. The filter can perform any pre-...
[ "Returns", "a", "new", "service", "which", "will", "process", "requests", "with", "the", "specified", "filter", ".", "Filtering", "operations", "can", "include", "logging", "automatic", "retrying", "etc", "...", "The", "filter", "is", "a", "lambda", "which", "...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py#L118-L133
[ "def", "with_filter", "(", "self", ",", "filter", ")", ":", "res", "=", "type", "(", "self", ")", "(", "self", ".", "subscription_id", ",", "self", ".", "cert_file", ",", "self", ".", "host", ",", "self", ".", "request_session", ",", "self", ".", "_h...
d7306fde32f60a293a7567678692bdad31e4b667
test
_ServiceManagementClient.set_proxy
Sets the proxy server host and port for the HTTP CONNECT Tunnelling. host: Address of the proxy. Ex: '192.168.0.100' port: Port of the proxy. Ex: 6000 user: User for proxy authorization. password: Password for proxy authorization.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py
def set_proxy(self, host, port, user=None, password=None): ''' Sets the proxy server host and port for the HTTP CONNECT Tunnelling. host: Address of the proxy. Ex: '192.168.0.100' port: Port of the proxy. Ex: 6000 user: User for proxy authoriz...
def set_proxy(self, host, port, user=None, password=None): ''' Sets the proxy server host and port for the HTTP CONNECT Tunnelling. host: Address of the proxy. Ex: '192.168.0.100' port: Port of the proxy. Ex: 6000 user: User for proxy authoriz...
[ "Sets", "the", "proxy", "server", "host", "and", "port", "for", "the", "HTTP", "CONNECT", "Tunnelling", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py#L135-L148
[ "def", "set_proxy", "(", "self", ",", "host", ",", "port", ",", "user", "=", "None", ",", "password", "=", "None", ")", ":", "self", ".", "_httpclient", ".", "set_proxy", "(", "host", ",", "port", ",", "user", ",", "password", ")" ]
d7306fde32f60a293a7567678692bdad31e4b667
test
_ServiceManagementClient.perform_get
Performs a GET request and returns the response. path: Path to the resource. Ex: '/<subscription-id>/services/hostedservices/<service-name>' x_ms_version: If specified, this is used for the x-ms-version header. Otherwise, self.x_ms_version is used.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py
def perform_get(self, path, x_ms_version=None): ''' Performs a GET request and returns the response. path: Path to the resource. Ex: '/<subscription-id>/services/hostedservices/<service-name>' x_ms_version: If specified, this is used for the x-ms-vers...
def perform_get(self, path, x_ms_version=None): ''' Performs a GET request and returns the response. path: Path to the resource. Ex: '/<subscription-id>/services/hostedservices/<service-name>' x_ms_version: If specified, this is used for the x-ms-vers...
[ "Performs", "a", "GET", "request", "and", "returns", "the", "response", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py#L158-L177
[ "def", "perform_get", "(", "self", ",", "path", ",", "x_ms_version", "=", "None", ")", ":", "request", "=", "HTTPRequest", "(", ")", "request", ".", "method", "=", "'GET'", "request", ".", "host", "=", "self", ".", "host", "request", ".", "path", "=", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
_ServiceManagementClient.perform_put
Performs a PUT request and returns the response. path: Path to the resource. Ex: '/<subscription-id>/services/hostedservices/<service-name>' body: Body for the PUT request. x_ms_version: If specified, this is used for the x-ms-version header. ...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py
def perform_put(self, path, body, x_ms_version=None): ''' Performs a PUT request and returns the response. path: Path to the resource. Ex: '/<subscription-id>/services/hostedservices/<service-name>' body: Body for the PUT request. x_ms_version...
def perform_put(self, path, body, x_ms_version=None): ''' Performs a PUT request and returns the response. path: Path to the resource. Ex: '/<subscription-id>/services/hostedservices/<service-name>' body: Body for the PUT request. x_ms_version...
[ "Performs", "a", "PUT", "request", "and", "returns", "the", "response", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py#L179-L201
[ "def", "perform_put", "(", "self", ",", "path", ",", "body", ",", "x_ms_version", "=", "None", ")", ":", "request", "=", "HTTPRequest", "(", ")", "request", ".", "method", "=", "'PUT'", "request", ".", "host", "=", "self", ".", "host", "request", ".", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
_ServiceManagementClient.wait_for_operation_status
Waits for an asynchronous operation to complete. This calls get_operation_status in a loop and returns when the expected status is reached. The result of get_operation_status is returned. By default, an exception is raised on timeout or error status. request_id: The request...
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py
def wait_for_operation_status(self, request_id, wait_for_status='Succeeded', timeout=30, sleep_interval=5, progress_callback=wait_for_operation_status_progress_default_callback, success_callback=wait_for_operation_status_success_default_callback, failure_callback=wait_for_operation_statu...
def wait_for_operation_status(self, request_id, wait_for_status='Succeeded', timeout=30, sleep_interval=5, progress_callback=wait_for_operation_status_progress_default_callback, success_callback=wait_for_operation_status_success_default_callback, failure_callback=wait_for_operation_statu...
[ "Waits", "for", "an", "asynchronous", "operation", "to", "complete", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py#L264-L318
[ "def", "wait_for_operation_status", "(", "self", ",", "request_id", ",", "wait_for_status", "=", "'Succeeded'", ",", "timeout", "=", "30", ",", "sleep_interval", "=", "5", ",", "progress_callback", "=", "wait_for_operation_status_progress_default_callback", ",", "succes...
d7306fde32f60a293a7567678692bdad31e4b667
test
_ServiceManagementClient.get_operation_status
Returns the status of the specified operation. After calling an asynchronous operation, you can call Get Operation Status to determine whether the operation has succeeded, failed, or is still in progress. request_id: The request ID for the request you wish to track.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py
def get_operation_status(self, request_id): ''' Returns the status of the specified operation. After calling an asynchronous operation, you can call Get Operation Status to determine whether the operation has succeeded, failed, or is still in progress. request_id: Th...
def get_operation_status(self, request_id): ''' Returns the status of the specified operation. After calling an asynchronous operation, you can call Get Operation Status to determine whether the operation has succeeded, failed, or is still in progress. request_id: Th...
[ "Returns", "the", "status", "of", "the", "specified", "operation", ".", "After", "calling", "an", "asynchronous", "operation", "you", "can", "call", "Get", "Operation", "Status", "to", "determine", "whether", "the", "operation", "has", "succeeded", "failed", "or...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py#L320-L332
[ "def", "get_operation_status", "(", "self", ",", "request_id", ")", ":", "_validate_not_none", "(", "'request_id'", ",", "request_id", ")", "return", "self", ".", "_perform_get", "(", "'/'", "+", "self", ".", "subscription_id", "+", "'/operations/'", "+", "_str"...
d7306fde32f60a293a7567678692bdad31e4b667
test
_ServiceManagementClient._update_management_header
Add additional headers for management.
azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py
def _update_management_header(self, request, x_ms_version): ''' Add additional headers for management. ''' if request.method in ['PUT', 'POST', 'MERGE', 'DELETE']: request.headers.append(('Content-Length', str(len(request.body)))) # append additional headers base on the service ...
def _update_management_header(self, request, x_ms_version): ''' Add additional headers for management. ''' if request.method in ['PUT', 'POST', 'MERGE', 'DELETE']: request.headers.append(('Content-Length', str(len(request.body)))) # append additional headers base on the service ...
[ "Add", "additional", "headers", "for", "management", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementclient.py#L343-L362
[ "def", "_update_management_header", "(", "self", ",", "request", ",", "x_ms_version", ")", ":", "if", "request", ".", "method", "in", "[", "'PUT'", ",", "'POST'", ",", "'MERGE'", ",", "'DELETE'", "]", ":", "request", ".", "headers", ".", "append", "(", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
travis_build_package
Assumed called on Travis, to prepare a package to be deployed This method prints on stdout for Travis. Return is obj to pass to sys.exit() directly
build_package.py
def travis_build_package(): """Assumed called on Travis, to prepare a package to be deployed This method prints on stdout for Travis. Return is obj to pass to sys.exit() directly """ travis_tag = os.environ.get('TRAVIS_TAG') if not travis_tag: print("TRAVIS_TAG environment variable is ...
def travis_build_package(): """Assumed called on Travis, to prepare a package to be deployed This method prints on stdout for Travis. Return is obj to pass to sys.exit() directly """ travis_tag = os.environ.get('TRAVIS_TAG') if not travis_tag: print("TRAVIS_TAG environment variable is ...
[ "Assumed", "called", "on", "Travis", "to", "prepare", "a", "package", "to", "be", "deployed" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/build_package.py#L29-L67
[ "def", "travis_build_package", "(", ")", ":", "travis_tag", "=", "os", ".", "environ", ".", "get", "(", "'TRAVIS_TAG'", ")", "if", "not", "travis_tag", ":", "print", "(", "\"TRAVIS_TAG environment variable is not present\"", ")", "return", "\"TRAVIS_TAG environment va...
d7306fde32f60a293a7567678692bdad31e4b667
test
KeyVaultClient.get_certificates
List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission. :param vault_base_url: The vault name, for example https://myvault.vault.az...
azure-keyvault/azure/keyvault/v7_0/key_vault_client.py
def get_certificates( self, vault_base_url, maxresults=None, include_pending=None, custom_headers=None, raw=False, **operation_config): """List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. ...
def get_certificates( self, vault_base_url, maxresults=None, include_pending=None, custom_headers=None, raw=False, **operation_config): """List certificates in a specified key vault. The GetCertificates operation returns the set of certificates resources in the specified key vault. ...
[ "List", "certificates", "in", "a", "specified", "key", "vault", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-keyvault/azure/keyvault/v7_0/key_vault_client.py#L2415-L2493
[ "def", "get_certificates", "(", "self", ",", "vault_base_url", ",", "maxresults", "=", "None", ",", "include_pending", "=", "None", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "*", "*", "operation_config", ")", ":", "def", "internal_pa...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.get_regions
Get list of available service bus regions.
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def get_regions(self): ''' Get list of available service bus regions. ''' response = self._perform_get( self._get_path('services/serviceBus/Regions/', None), None) return _MinidomXmlToObject.convert_response_to_feeds( response, _Se...
def get_regions(self): ''' Get list of available service bus regions. ''' response = self._perform_get( self._get_path('services/serviceBus/Regions/', None), None) return _MinidomXmlToObject.convert_response_to_feeds( response, _Se...
[ "Get", "list", "of", "available", "service", "bus", "regions", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L81-L91
[ "def", "get_regions", "(", "self", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_path", "(", "'services/serviceBus/Regions/'", ",", "None", ")", ",", "None", ")", "return", "_MinidomXmlToObject", ".", "convert_response_to_feeds", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.list_namespaces
List the service bus namespaces defined on the account.
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def list_namespaces(self): ''' List the service bus namespaces defined on the account. ''' response = self._perform_get( self._get_path('services/serviceBus/Namespaces/', None), None) return _MinidomXmlToObject.convert_response_to_feeds( respo...
def list_namespaces(self): ''' List the service bus namespaces defined on the account. ''' response = self._perform_get( self._get_path('services/serviceBus/Namespaces/', None), None) return _MinidomXmlToObject.convert_response_to_feeds( respo...
[ "List", "the", "service", "bus", "namespaces", "defined", "on", "the", "account", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L93-L103
[ "def", "list_namespaces", "(", "self", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_path", "(", "'services/serviceBus/Namespaces/'", ",", "None", ")", ",", "None", ")", "return", "_MinidomXmlToObject", ".", "convert_response_to_f...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.get_namespace
Get details about a specific namespace. name: Name of the service bus namespace.
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def get_namespace(self, name): ''' Get details about a specific namespace. name: Name of the service bus namespace. ''' response = self._perform_get( self._get_path('services/serviceBus/Namespaces', name), None) return _ServiceBusMana...
def get_namespace(self, name): ''' Get details about a specific namespace. name: Name of the service bus namespace. ''' response = self._perform_get( self._get_path('services/serviceBus/Namespaces', name), None) return _ServiceBusMana...
[ "Get", "details", "about", "a", "specific", "namespace", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L105-L117
[ "def", "get_namespace", "(", "self", ",", "name", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_path", "(", "'services/serviceBus/Namespaces'", ",", "name", ")", ",", "None", ")", "return", "_ServiceBusManagementXmlSerializer", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.create_namespace
Create a new service bus namespace. name: Name of the service bus namespace to create. region: Region to create the namespace in.
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def create_namespace(self, name, region): ''' Create a new service bus namespace. name: Name of the service bus namespace to create. region: Region to create the namespace in. ''' _validate_not_none('name', name) return self._perform_put(...
def create_namespace(self, name, region): ''' Create a new service bus namespace. name: Name of the service bus namespace to create. region: Region to create the namespace in. ''' _validate_not_none('name', name) return self._perform_put(...
[ "Create", "a", "new", "service", "bus", "namespace", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L119-L132
[ "def", "create_namespace", "(", "self", ",", "name", ",", "region", ")", ":", "_validate_not_none", "(", "'name'", ",", "name", ")", "return", "self", ".", "_perform_put", "(", "self", ".", "_get_path", "(", "'services/serviceBus/Namespaces'", ",", "name", ")"...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.delete_namespace
Delete a service bus namespace. name: Name of the service bus namespace to delete.
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def delete_namespace(self, name): ''' Delete a service bus namespace. name: Name of the service bus namespace to delete. ''' _validate_not_none('name', name) return self._perform_delete( self._get_path('services/serviceBus/Namespaces', name), ...
def delete_namespace(self, name): ''' Delete a service bus namespace. name: Name of the service bus namespace to delete. ''' _validate_not_none('name', name) return self._perform_delete( self._get_path('services/serviceBus/Namespaces', name), ...
[ "Delete", "a", "service", "bus", "namespace", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L134-L145
[ "def", "delete_namespace", "(", "self", ",", "name", ")", ":", "_validate_not_none", "(", "'name'", ",", "name", ")", "return", "self", ".", "_perform_delete", "(", "self", ".", "_get_path", "(", "'services/serviceBus/Namespaces'", ",", "name", ")", ",", "None...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.check_namespace_availability
Checks to see if the specified service bus namespace is available, or if it has already been taken. name: Name of the service bus namespace to validate.
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def check_namespace_availability(self, name): ''' Checks to see if the specified service bus namespace is available, or if it has already been taken. name: Name of the service bus namespace to validate. ''' _validate_not_none('name', name) response =...
def check_namespace_availability(self, name): ''' Checks to see if the specified service bus namespace is available, or if it has already been taken. name: Name of the service bus namespace to validate. ''' _validate_not_none('name', name) response =...
[ "Checks", "to", "see", "if", "the", "specified", "service", "bus", "namespace", "is", "available", "or", "if", "it", "has", "already", "been", "taken", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L147-L162
[ "def", "check_namespace_availability", "(", "self", ",", "name", ")", ":", "_validate_not_none", "(", "'name'", ",", "name", ")", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_path", "(", "'services/serviceBus/CheckNamespaceAvailability'", ",...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.list_queues
Enumerates the queues in the service namespace. name: Name of the service bus namespace.
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def list_queues(self, name): ''' Enumerates the queues in the service namespace. name: Name of the service bus namespace. ''' _validate_not_none('name', name) response = self._perform_get( self._get_list_queues_path(name), None) ...
def list_queues(self, name): ''' Enumerates the queues in the service namespace. name: Name of the service bus namespace. ''' _validate_not_none('name', name) response = self._perform_get( self._get_list_queues_path(name), None) ...
[ "Enumerates", "the", "queues", "in", "the", "service", "namespace", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L164-L183
[ "def", "list_queues", "(", "self", ",", "name", ")", ":", "_validate_not_none", "(", "'name'", ",", "name", ")", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_list_queues_path", "(", "name", ")", ",", "None", ")", "return", "_Minido...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.list_topics
Retrieves the topics in the service namespace. name: Name of the service bus namespace.
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def list_topics(self, name): ''' Retrieves the topics in the service namespace. name: Name of the service bus namespace. ''' response = self._perform_get( self._get_list_topics_path(name), None) return _MinidomXmlToObject.convert_resp...
def list_topics(self, name): ''' Retrieves the topics in the service namespace. name: Name of the service bus namespace. ''' response = self._perform_get( self._get_list_topics_path(name), None) return _MinidomXmlToObject.convert_resp...
[ "Retrieves", "the", "topics", "in", "the", "service", "namespace", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L185-L202
[ "def", "list_topics", "(", "self", ",", "name", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_list_topics_path", "(", "name", ")", ",", "None", ")", "return", "_MinidomXmlToObject", ".", "convert_response_to_feeds", "(", "resp...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.list_notification_hubs
Retrieves the notification hubs in the service namespace. name: Name of the service bus namespace.
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def list_notification_hubs(self, name): ''' Retrieves the notification hubs in the service namespace. name: Name of the service bus namespace. ''' response = self._perform_get( self._get_list_notification_hubs_path(name), None) return...
def list_notification_hubs(self, name): ''' Retrieves the notification hubs in the service namespace. name: Name of the service bus namespace. ''' response = self._perform_get( self._get_list_notification_hubs_path(name), None) return...
[ "Retrieves", "the", "notification", "hubs", "in", "the", "service", "namespace", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L204-L221
[ "def", "list_notification_hubs", "(", "self", ",", "name", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_list_notification_hubs_path", "(", "name", ")", ",", "None", ")", "return", "_MinidomXmlToObject", ".", "convert_response_to_...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.list_relays
Retrieves the relays in the service namespace. name: Name of the service bus namespace.
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def list_relays(self, name): ''' Retrieves the relays in the service namespace. name: Name of the service bus namespace. ''' response = self._perform_get( self._get_list_relays_path(name), None) return _MinidomXmlToObject.convert_resp...
def list_relays(self, name): ''' Retrieves the relays in the service namespace. name: Name of the service bus namespace. ''' response = self._perform_get( self._get_list_relays_path(name), None) return _MinidomXmlToObject.convert_resp...
[ "Retrieves", "the", "relays", "in", "the", "service", "namespace", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L223-L240
[ "def", "list_relays", "(", "self", ",", "name", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_list_relays_path", "(", "name", ")", ",", "None", ")", "return", "_MinidomXmlToObject", ".", "convert_response_to_feeds", "(", "resp...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.get_supported_metrics_queue
Retrieves the list of supported metrics for this namespace and queue name: Name of the service bus namespace. queue_name: Name of the service bus queue in this namespace.
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def get_supported_metrics_queue(self, name, queue_name): ''' Retrieves the list of supported metrics for this namespace and queue name: Name of the service bus namespace. queue_name: Name of the service bus queue in this namespace. ''' response = ...
def get_supported_metrics_queue(self, name, queue_name): ''' Retrieves the list of supported metrics for this namespace and queue name: Name of the service bus namespace. queue_name: Name of the service bus queue in this namespace. ''' response = ...
[ "Retrieves", "the", "list", "of", "supported", "metrics", "for", "this", "namespace", "and", "queue" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L242-L261
[ "def", "get_supported_metrics_queue", "(", "self", ",", "name", ",", "queue_name", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_get_supported_metrics_queue_path", "(", "name", ",", "queue_name", ")", ",", "None", ")", "return",...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.get_supported_metrics_topic
Retrieves the list of supported metrics for this namespace and topic name: Name of the service bus namespace. topic_name: Name of the service bus queue in this namespace.
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def get_supported_metrics_topic(self, name, topic_name): ''' Retrieves the list of supported metrics for this namespace and topic name: Name of the service bus namespace. topic_name: Name of the service bus queue in this namespace. ''' response = ...
def get_supported_metrics_topic(self, name, topic_name): ''' Retrieves the list of supported metrics for this namespace and topic name: Name of the service bus namespace. topic_name: Name of the service bus queue in this namespace. ''' response = ...
[ "Retrieves", "the", "list", "of", "supported", "metrics", "for", "this", "namespace", "and", "topic" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L263-L282
[ "def", "get_supported_metrics_topic", "(", "self", ",", "name", ",", "topic_name", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_get_supported_metrics_topic_path", "(", "name", ",", "topic_name", ")", ",", "None", ")", "return",...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.get_supported_metrics_notification_hub
Retrieves the list of supported metrics for this namespace and topic name: Name of the service bus namespace. hub_name: Name of the service bus notification hub in this namespace.
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def get_supported_metrics_notification_hub(self, name, hub_name): ''' Retrieves the list of supported metrics for this namespace and topic name: Name of the service bus namespace. hub_name: Name of the service bus notification hub in this namespace. ''' ...
def get_supported_metrics_notification_hub(self, name, hub_name): ''' Retrieves the list of supported metrics for this namespace and topic name: Name of the service bus namespace. hub_name: Name of the service bus notification hub in this namespace. ''' ...
[ "Retrieves", "the", "list", "of", "supported", "metrics", "for", "this", "namespace", "and", "topic" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L284-L303
[ "def", "get_supported_metrics_notification_hub", "(", "self", ",", "name", ",", "hub_name", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_get_supported_metrics_hub_path", "(", "name", ",", "hub_name", ")", ",", "None", ")", "ret...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.get_supported_metrics_relay
Retrieves the list of supported metrics for this namespace and relay name: Name of the service bus namespace. relay_name: Name of the service bus relay in this namespace.
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def get_supported_metrics_relay(self, name, relay_name): ''' Retrieves the list of supported metrics for this namespace and relay name: Name of the service bus namespace. relay_name: Name of the service bus relay in this namespace. ''' response = ...
def get_supported_metrics_relay(self, name, relay_name): ''' Retrieves the list of supported metrics for this namespace and relay name: Name of the service bus namespace. relay_name: Name of the service bus relay in this namespace. ''' response = ...
[ "Retrieves", "the", "list", "of", "supported", "metrics", "for", "this", "namespace", "and", "relay" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L305-L324
[ "def", "get_supported_metrics_relay", "(", "self", ",", "name", ",", "relay_name", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_get_supported_metrics_relay_path", "(", "name", ",", "relay_name", ")", ",", "None", ")", "return",...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.get_metrics_data_queue
Retrieves the list of supported metrics for this namespace and queue name: Name of the service bus namespace. queue_name: Name of the service bus queue in this namespace. metric: name of a supported metric rollup: name of a supported rollu...
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def get_metrics_data_queue(self, name, queue_name, metric, rollup, filter_expresssion): ''' Retrieves the list of supported metrics for this namespace and queue name: Name of the service bus namespace. queue_name: Name of the service bus queue in this namespace. ...
def get_metrics_data_queue(self, name, queue_name, metric, rollup, filter_expresssion): ''' Retrieves the list of supported metrics for this namespace and queue name: Name of the service bus namespace. queue_name: Name of the service bus queue in this namespace. ...
[ "Retrieves", "the", "list", "of", "supported", "metrics", "for", "this", "namespace", "and", "queue" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L326-L351
[ "def", "get_metrics_data_queue", "(", "self", ",", "name", ",", "queue_name", ",", "metric", ",", "rollup", ",", "filter_expresssion", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_get_metrics_data_queue_path", "(", "name", ",",...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.get_metrics_data_topic
Retrieves the list of supported metrics for this namespace and topic name: Name of the service bus namespace. topic_name: Name of the service bus queue in this namespace. metric: name of a supported metric rollup: name of a supported rollu...
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def get_metrics_data_topic(self, name, topic_name, metric, rollup, filter_expresssion): ''' Retrieves the list of supported metrics for this namespace and topic name: Name of the service bus namespace. topic_name: Name of the service bus queue in this namespace. ...
def get_metrics_data_topic(self, name, topic_name, metric, rollup, filter_expresssion): ''' Retrieves the list of supported metrics for this namespace and topic name: Name of the service bus namespace. topic_name: Name of the service bus queue in this namespace. ...
[ "Retrieves", "the", "list", "of", "supported", "metrics", "for", "this", "namespace", "and", "topic" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L353-L378
[ "def", "get_metrics_data_topic", "(", "self", ",", "name", ",", "topic_name", ",", "metric", ",", "rollup", ",", "filter_expresssion", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_get_metrics_data_topic_path", "(", "name", ",",...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.get_metrics_data_notification_hub
Retrieves the list of supported metrics for this namespace and topic name: Name of the service bus namespace. hub_name: Name of the service bus notification hub in this namespace. metric: name of a supported metric rollup: name of a suppor...
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def get_metrics_data_notification_hub(self, name, hub_name, metric, rollup, filter_expresssion): ''' Retrieves the list of supported metrics for this namespace and topic name: Name of the service bus namespace. hub_name: Name of the service bus notification hub i...
def get_metrics_data_notification_hub(self, name, hub_name, metric, rollup, filter_expresssion): ''' Retrieves the list of supported metrics for this namespace and topic name: Name of the service bus namespace. hub_name: Name of the service bus notification hub i...
[ "Retrieves", "the", "list", "of", "supported", "metrics", "for", "this", "namespace", "and", "topic" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L380-L405
[ "def", "get_metrics_data_notification_hub", "(", "self", ",", "name", ",", "hub_name", ",", "metric", ",", "rollup", ",", "filter_expresssion", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_get_metrics_data_hub_path", "(", "name",...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.get_metrics_data_relay
Retrieves the list of supported metrics for this namespace and relay name: Name of the service bus namespace. relay_name: Name of the service bus relay in this namespace. metric: name of a supported metric rollup: name of a supported rollu...
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def get_metrics_data_relay(self, name, relay_name, metric, rollup, filter_expresssion): ''' Retrieves the list of supported metrics for this namespace and relay name: Name of the service bus namespace. relay_name: Name of the service bus relay in this namespace. ...
def get_metrics_data_relay(self, name, relay_name, metric, rollup, filter_expresssion): ''' Retrieves the list of supported metrics for this namespace and relay name: Name of the service bus namespace. relay_name: Name of the service bus relay in this namespace. ...
[ "Retrieves", "the", "list", "of", "supported", "metrics", "for", "this", "namespace", "and", "relay" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L407-L432
[ "def", "get_metrics_data_relay", "(", "self", ",", "name", ",", "relay_name", ",", "metric", ",", "rollup", ",", "filter_expresssion", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_get_metrics_data_relay_path", "(", "name", ",",...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.get_metrics_rollups_queue
This operation gets rollup data for Service Bus metrics queue. Rollup data includes the time granularity for the telemetry aggregation as well as the retention settings for each time granularity. name: Name of the service bus namespace. queue_name: Name of the se...
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def get_metrics_rollups_queue(self, name, queue_name, metric): ''' This operation gets rollup data for Service Bus metrics queue. Rollup data includes the time granularity for the telemetry aggregation as well as the retention settings for each time granularity. name: ...
def get_metrics_rollups_queue(self, name, queue_name, metric): ''' This operation gets rollup data for Service Bus metrics queue. Rollup data includes the time granularity for the telemetry aggregation as well as the retention settings for each time granularity. name: ...
[ "This", "operation", "gets", "rollup", "data", "for", "Service", "Bus", "metrics", "queue", ".", "Rollup", "data", "includes", "the", "time", "granularity", "for", "the", "telemetry", "aggregation", "as", "well", "as", "the", "retention", "settings", "for", "e...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L434-L457
[ "def", "get_metrics_rollups_queue", "(", "self", ",", "name", ",", "queue_name", ",", "metric", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_get_metrics_rollup_queue_path", "(", "name", ",", "queue_name", ",", "metric", ")", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.get_metrics_rollups_topic
This operation gets rollup data for Service Bus metrics topic. Rollup data includes the time granularity for the telemetry aggregation as well as the retention settings for each time granularity. name: Name of the service bus namespace. topic_name: Name of the se...
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def get_metrics_rollups_topic(self, name, topic_name, metric): ''' This operation gets rollup data for Service Bus metrics topic. Rollup data includes the time granularity for the telemetry aggregation as well as the retention settings for each time granularity. name: ...
def get_metrics_rollups_topic(self, name, topic_name, metric): ''' This operation gets rollup data for Service Bus metrics topic. Rollup data includes the time granularity for the telemetry aggregation as well as the retention settings for each time granularity. name: ...
[ "This", "operation", "gets", "rollup", "data", "for", "Service", "Bus", "metrics", "topic", ".", "Rollup", "data", "includes", "the", "time", "granularity", "for", "the", "telemetry", "aggregation", "as", "well", "as", "the", "retention", "settings", "for", "e...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L459-L482
[ "def", "get_metrics_rollups_topic", "(", "self", ",", "name", ",", "topic_name", ",", "metric", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_get_metrics_rollup_topic_path", "(", "name", ",", "topic_name", ",", "metric", ")", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.get_metrics_rollups_notification_hub
This operation gets rollup data for Service Bus metrics notification hub. Rollup data includes the time granularity for the telemetry aggregation as well as the retention settings for each time granularity. name: Name of the service bus namespace. hub_name: Name ...
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def get_metrics_rollups_notification_hub(self, name, hub_name, metric): ''' This operation gets rollup data for Service Bus metrics notification hub. Rollup data includes the time granularity for the telemetry aggregation as well as the retention settings for each time granularity. ...
def get_metrics_rollups_notification_hub(self, name, hub_name, metric): ''' This operation gets rollup data for Service Bus metrics notification hub. Rollup data includes the time granularity for the telemetry aggregation as well as the retention settings for each time granularity. ...
[ "This", "operation", "gets", "rollup", "data", "for", "Service", "Bus", "metrics", "notification", "hub", ".", "Rollup", "data", "includes", "the", "time", "granularity", "for", "the", "telemetry", "aggregation", "as", "well", "as", "the", "retention", "settings...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L484-L507
[ "def", "get_metrics_rollups_notification_hub", "(", "self", ",", "name", ",", "hub_name", ",", "metric", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_get_metrics_rollup_hub_path", "(", "name", ",", "hub_name", ",", "metric", ")...
d7306fde32f60a293a7567678692bdad31e4b667
test
ServiceBusManagementService.get_metrics_rollups_relay
This operation gets rollup data for Service Bus metrics relay. Rollup data includes the time granularity for the telemetry aggregation as well as the retention settings for each time granularity. name: Name of the service bus namespace. relay_name: Name of the se...
azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py
def get_metrics_rollups_relay(self, name, relay_name, metric): ''' This operation gets rollup data for Service Bus metrics relay. Rollup data includes the time granularity for the telemetry aggregation as well as the retention settings for each time granularity. name: ...
def get_metrics_rollups_relay(self, name, relay_name, metric): ''' This operation gets rollup data for Service Bus metrics relay. Rollup data includes the time granularity for the telemetry aggregation as well as the retention settings for each time granularity. name: ...
[ "This", "operation", "gets", "rollup", "data", "for", "Service", "Bus", "metrics", "relay", ".", "Rollup", "data", "includes", "the", "time", "granularity", "for", "the", "telemetry", "aggregation", "as", "well", "as", "the", "retention", "settings", "for", "e...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/servicebusmanagementservice.py#L509-L532
[ "def", "get_metrics_rollups_relay", "(", "self", ",", "name", ",", "relay_name", ",", "metric", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_get_metrics_rollup_relay_path", "(", "name", ",", "relay_name", ",", "metric", ")", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
create
Create a virtual environment in a directory.
azure-sdk-tools/packaging_tools/venvtools.py
def create(env_dir, system_site_packages=False, clear=False, symlinks=False, with_pip=False, prompt=None): """Create a virtual environment in a directory.""" builder = ExtendedEnvBuilder(system_site_packages=system_site_packages, clear=clear, symlinks=symlink...
def create(env_dir, system_site_packages=False, clear=False, symlinks=False, with_pip=False, prompt=None): """Create a virtual environment in a directory.""" builder = ExtendedEnvBuilder(system_site_packages=system_site_packages, clear=clear, symlinks=symlink...
[ "Create", "a", "virtual", "environment", "in", "a", "directory", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-sdk-tools/packaging_tools/venvtools.py#L20-L27
[ "def", "create", "(", "env_dir", ",", "system_site_packages", "=", "False", ",", "clear", "=", "False", ",", "symlinks", "=", "False", ",", "with_pip", "=", "False", ",", "prompt", "=", "None", ")", ":", "builder", "=", "ExtendedEnvBuilder", "(", "system_s...
d7306fde32f60a293a7567678692bdad31e4b667
test
create_venv_with_package
Create a venv with these packages in a temp dir and yielf the env. packages should be an iterable of pip version instructio (e.g. package~=1.2.3)
azure-sdk-tools/packaging_tools/venvtools.py
def create_venv_with_package(packages): """Create a venv with these packages in a temp dir and yielf the env. packages should be an iterable of pip version instructio (e.g. package~=1.2.3) """ with tempfile.TemporaryDirectory() as tempdir: myenv = create(tempdir, with_pip=True) pip_call...
def create_venv_with_package(packages): """Create a venv with these packages in a temp dir and yielf the env. packages should be an iterable of pip version instructio (e.g. package~=1.2.3) """ with tempfile.TemporaryDirectory() as tempdir: myenv = create(tempdir, with_pip=True) pip_call...
[ "Create", "a", "venv", "with", "these", "packages", "in", "a", "temp", "dir", "and", "yielf", "the", "env", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-sdk-tools/packaging_tools/venvtools.py#L30-L46
[ "def", "create_venv_with_package", "(", "packages", ")", ":", "with", "tempfile", ".", "TemporaryDirectory", "(", ")", "as", "tempdir", ":", "myenv", "=", "create", "(", "tempdir", ",", "with_pip", "=", "True", ")", "pip_call", "=", "[", "myenv", ".", "env...
d7306fde32f60a293a7567678692bdad31e4b667
test
ComputerVisionClient.generate_thumbnail_in_stream
This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, identifies the region of interest (ROI), and generates smart cropping coordinates based on the ROI. Smart cropping helps when you specify an aspect ratio that ...
azure-cognitiveservices-vision-computervision/azure/cognitiveservices/vision/computervision/computer_vision_client.py
def generate_thumbnail_in_stream( self, width, height, image, smart_cropping=False, custom_headers=None, raw=False, callback=None, **operation_config): """This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, ...
def generate_thumbnail_in_stream( self, width, height, image, smart_cropping=False, custom_headers=None, raw=False, callback=None, **operation_config): """This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, ...
[ "This", "operation", "generates", "a", "thumbnail", "image", "with", "the", "user", "-", "specified", "width", "and", "height", ".", "By", "default", "the", "service", "analyzes", "the", "image", "identifies", "the", "region", "of", "interest", "(", "ROI", "...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-cognitiveservices-vision-computervision/azure/cognitiveservices/vision/computervision/computer_vision_client.py#L1335-L1415
[ "def", "generate_thumbnail_in_stream", "(", "self", ",", "width", ",", "height", ",", "image", ",", "smart_cropping", "=", "False", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "callback", "=", "None", ",", "*", "*", "operation_config",...
d7306fde32f60a293a7567678692bdad31e4b667
test
SqlDatabaseManagementService.create_server
Create a new Azure SQL Database server. admin_login: The administrator login name for the new server. admin_password: The administrator login password for the new server. location: The region to deploy the new server.
azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py
def create_server(self, admin_login, admin_password, location): ''' Create a new Azure SQL Database server. admin_login: The administrator login name for the new server. admin_password: The administrator login password for the new server. location: ...
def create_server(self, admin_login, admin_password, location): ''' Create a new Azure SQL Database server. admin_login: The administrator login name for the new server. admin_password: The administrator login password for the new server. location: ...
[ "Create", "a", "new", "Azure", "SQL", "Database", "server", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py#L77-L101
[ "def", "create_server", "(", "self", ",", "admin_login", ",", "admin_password", ",", "location", ")", ":", "_validate_not_none", "(", "'admin_login'", ",", "admin_login", ")", "_validate_not_none", "(", "'admin_password'", ",", "admin_password", ")", "_validate_not_no...
d7306fde32f60a293a7567678692bdad31e4b667
test
SqlDatabaseManagementService.set_server_admin_password
Reset the administrator password for a server. server_name: Name of the server to change the password. admin_password: The new administrator password for the server.
azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py
def set_server_admin_password(self, server_name, admin_password): ''' Reset the administrator password for a server. server_name: Name of the server to change the password. admin_password: The new administrator password for the server. ''' _valida...
def set_server_admin_password(self, server_name, admin_password): ''' Reset the administrator password for a server. server_name: Name of the server to change the password. admin_password: The new administrator password for the server. ''' _valida...
[ "Reset", "the", "administrator", "password", "for", "a", "server", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py#L103-L119
[ "def", "set_server_admin_password", "(", "self", ",", "server_name", ",", "admin_password", ")", ":", "_validate_not_none", "(", "'server_name'", ",", "server_name", ")", "_validate_not_none", "(", "'admin_password'", ",", "admin_password", ")", "return", "self", ".",...
d7306fde32f60a293a7567678692bdad31e4b667
test
SqlDatabaseManagementService.delete_server
Deletes an Azure SQL Database server (including all its databases). server_name: Name of the server you want to delete.
azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py
def delete_server(self, server_name): ''' Deletes an Azure SQL Database server (including all its databases). server_name: Name of the server you want to delete. ''' _validate_not_none('server_name', server_name) return self._perform_delete( self....
def delete_server(self, server_name): ''' Deletes an Azure SQL Database server (including all its databases). server_name: Name of the server you want to delete. ''' _validate_not_none('server_name', server_name) return self._perform_delete( self....
[ "Deletes", "an", "Azure", "SQL", "Database", "server", "(", "including", "all", "its", "databases", ")", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py#L121-L130
[ "def", "delete_server", "(", "self", ",", "server_name", ")", ":", "_validate_not_none", "(", "'server_name'", ",", "server_name", ")", "return", "self", ".", "_perform_delete", "(", "self", ".", "_get_servers_path", "(", "server_name", ")", ")" ]
d7306fde32f60a293a7567678692bdad31e4b667
test
SqlDatabaseManagementService.list_quotas
Gets quotas for an Azure SQL Database Server. server_name: Name of the server.
azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py
def list_quotas(self, server_name): ''' Gets quotas for an Azure SQL Database Server. server_name: Name of the server. ''' _validate_not_none('server_name', server_name) response = self._perform_get(self._get_quotas_path(server_name), ...
def list_quotas(self, server_name): ''' Gets quotas for an Azure SQL Database Server. server_name: Name of the server. ''' _validate_not_none('server_name', server_name) response = self._perform_get(self._get_quotas_path(server_name), ...
[ "Gets", "quotas", "for", "an", "Azure", "SQL", "Database", "Server", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py#L139-L150
[ "def", "list_quotas", "(", "self", ",", "server_name", ")", ":", "_validate_not_none", "(", "'server_name'", ",", "server_name", ")", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_quotas_path", "(", "server_name", ")", ",", "None", ")",...
d7306fde32f60a293a7567678692bdad31e4b667
test
SqlDatabaseManagementService.get_server_event_logs
Gets the event logs for an Azure SQL Database Server. server_name: Name of the server to retrieve the event logs from. start_date: The starting date and time of the events to retrieve in UTC format, for example '2011-09-28 16:05:00'. interval_size_in_minutes:...
azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py
def get_server_event_logs(self, server_name, start_date, interval_size_in_minutes, event_types=''): ''' Gets the event logs for an Azure SQL Database Server. server_name: Name of the server to retrieve the event logs from. start_date: ...
def get_server_event_logs(self, server_name, start_date, interval_size_in_minutes, event_types=''): ''' Gets the event logs for an Azure SQL Database Server. server_name: Name of the server to retrieve the event logs from. start_date: ...
[ "Gets", "the", "event", "logs", "for", "an", "Azure", "SQL", "Database", "Server", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py#L152-L185
[ "def", "get_server_event_logs", "(", "self", ",", "server_name", ",", "start_date", ",", "interval_size_in_minutes", ",", "event_types", "=", "''", ")", ":", "_validate_not_none", "(", "'server_name'", ",", "server_name", ")", "_validate_not_none", "(", "'start_date'"...
d7306fde32f60a293a7567678692bdad31e4b667
test
SqlDatabaseManagementService.create_firewall_rule
Creates an Azure SQL Database server firewall rule. server_name: Name of the server to set the firewall rule on. name: The name of the new firewall rule. start_ip_address: The lowest IP address in the range of the server-level firewall setting. I...
azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py
def create_firewall_rule(self, server_name, name, start_ip_address, end_ip_address): ''' Creates an Azure SQL Database server firewall rule. server_name: Name of the server to set the firewall rule on. name: The name of the new firew...
def create_firewall_rule(self, server_name, name, start_ip_address, end_ip_address): ''' Creates an Azure SQL Database server firewall rule. server_name: Name of the server to set the firewall rule on. name: The name of the new firew...
[ "Creates", "an", "Azure", "SQL", "Database", "server", "firewall", "rule", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py#L188-L216
[ "def", "create_firewall_rule", "(", "self", ",", "server_name", ",", "name", ",", "start_ip_address", ",", "end_ip_address", ")", ":", "_validate_not_none", "(", "'server_name'", ",", "server_name", ")", "_validate_not_none", "(", "'name'", ",", "name", ")", "_val...
d7306fde32f60a293a7567678692bdad31e4b667
test
SqlDatabaseManagementService.update_firewall_rule
Update a firewall rule for an Azure SQL Database server. server_name: Name of the server to set the firewall rule on. name: The name of the firewall rule to update. start_ip_address: The lowest IP address in the range of the server-level firewall ...
azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py
def update_firewall_rule(self, server_name, name, start_ip_address, end_ip_address): ''' Update a firewall rule for an Azure SQL Database server. server_name: Name of the server to set the firewall rule on. name: The name of the fire...
def update_firewall_rule(self, server_name, name, start_ip_address, end_ip_address): ''' Update a firewall rule for an Azure SQL Database server. server_name: Name of the server to set the firewall rule on. name: The name of the fire...
[ "Update", "a", "firewall", "rule", "for", "an", "Azure", "SQL", "Database", "server", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py#L218-L246
[ "def", "update_firewall_rule", "(", "self", ",", "server_name", ",", "name", ",", "start_ip_address", ",", "end_ip_address", ")", ":", "_validate_not_none", "(", "'server_name'", ",", "server_name", ")", "_validate_not_none", "(", "'name'", ",", "name", ")", "_val...
d7306fde32f60a293a7567678692bdad31e4b667
test
SqlDatabaseManagementService.delete_firewall_rule
Deletes an Azure SQL Database server firewall rule. server_name: Name of the server with the firewall rule you want to delete. name: Name of the firewall rule you want to delete.
azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py
def delete_firewall_rule(self, server_name, name): ''' Deletes an Azure SQL Database server firewall rule. server_name: Name of the server with the firewall rule you want to delete. name: Name of the firewall rule you want to delete. ''' _validate...
def delete_firewall_rule(self, server_name, name): ''' Deletes an Azure SQL Database server firewall rule. server_name: Name of the server with the firewall rule you want to delete. name: Name of the firewall rule you want to delete. ''' _validate...
[ "Deletes", "an", "Azure", "SQL", "Database", "server", "firewall", "rule", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py#L248-L260
[ "def", "delete_firewall_rule", "(", "self", ",", "server_name", ",", "name", ")", ":", "_validate_not_none", "(", "'server_name'", ",", "server_name", ")", "_validate_not_none", "(", "'name'", ",", "name", ")", "return", "self", ".", "_perform_delete", "(", "sel...
d7306fde32f60a293a7567678692bdad31e4b667
test
SqlDatabaseManagementService.list_firewall_rules
Retrieves the set of firewall rules for an Azure SQL Database Server. server_name: Name of the server.
azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py
def list_firewall_rules(self, server_name): ''' Retrieves the set of firewall rules for an Azure SQL Database Server. server_name: Name of the server. ''' _validate_not_none('server_name', server_name) response = self._perform_get(self._get_firewall_rules_pat...
def list_firewall_rules(self, server_name): ''' Retrieves the set of firewall rules for an Azure SQL Database Server. server_name: Name of the server. ''' _validate_not_none('server_name', server_name) response = self._perform_get(self._get_firewall_rules_pat...
[ "Retrieves", "the", "set", "of", "firewall", "rules", "for", "an", "Azure", "SQL", "Database", "Server", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py#L262-L273
[ "def", "list_firewall_rules", "(", "self", ",", "server_name", ")", ":", "_validate_not_none", "(", "'server_name'", ",", "server_name", ")", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_firewall_rules_path", "(", "server_name", ")", ",", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
SqlDatabaseManagementService.list_service_level_objectives
Gets the service level objectives for an Azure SQL Database server. server_name: Name of the server.
azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py
def list_service_level_objectives(self, server_name): ''' Gets the service level objectives for an Azure SQL Database server. server_name: Name of the server. ''' _validate_not_none('server_name', server_name) response = self._perform_get( self._g...
def list_service_level_objectives(self, server_name): ''' Gets the service level objectives for an Azure SQL Database server. server_name: Name of the server. ''' _validate_not_none('server_name', server_name) response = self._perform_get( self._g...
[ "Gets", "the", "service", "level", "objectives", "for", "an", "Azure", "SQL", "Database", "server", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py#L275-L286
[ "def", "list_service_level_objectives", "(", "self", ",", "server_name", ")", ":", "_validate_not_none", "(", "'server_name'", ",", "server_name", ")", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_service_objectives_path", "(", "server_name", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
SqlDatabaseManagementService.create_database
Creates a new Azure SQL Database. server_name: Name of the server to contain the new database. name: Required. The name for the new database. See Naming Requirements in Azure SQL Database General Guidelines and Limitations and Database Identifiers for mor...
azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py
def create_database(self, server_name, name, service_objective_id, edition=None, collation_name=None, max_size_bytes=None): ''' Creates a new Azure SQL Database. server_name: Name of the server to contain the new database. name...
def create_database(self, server_name, name, service_objective_id, edition=None, collation_name=None, max_size_bytes=None): ''' Creates a new Azure SQL Database. server_name: Name of the server to contain the new database. name...
[ "Creates", "a", "new", "Azure", "SQL", "Database", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py#L289-L332
[ "def", "create_database", "(", "self", ",", "server_name", ",", "name", ",", "service_objective_id", ",", "edition", "=", "None", ",", "collation_name", "=", "None", ",", "max_size_bytes", "=", "None", ")", ":", "_validate_not_none", "(", "'server_name'", ",", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
SqlDatabaseManagementService.update_database
Updates existing database details. server_name: Name of the server to contain the new database. name: Required. The name for the new database. See Naming Requirements in Azure SQL Database General Guidelines and Limitations and Database Identifiers for mo...
azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py
def update_database(self, server_name, name, new_database_name=None, service_objective_id=None, edition=None, max_size_bytes=None): ''' Updates existing database details. server_name: Name of the server to contain the new database. ...
def update_database(self, server_name, name, new_database_name=None, service_objective_id=None, edition=None, max_size_bytes=None): ''' Updates existing database details. server_name: Name of the server to contain the new database. ...
[ "Updates", "existing", "database", "details", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py#L334-L368
[ "def", "update_database", "(", "self", ",", "server_name", ",", "name", ",", "new_database_name", "=", "None", ",", "service_objective_id", "=", "None", ",", "edition", "=", "None", ",", "max_size_bytes", "=", "None", ")", ":", "_validate_not_none", "(", "'ser...
d7306fde32f60a293a7567678692bdad31e4b667
test
SqlDatabaseManagementService.delete_database
Deletes an Azure SQL Database. server_name: Name of the server where the database is located. name: Name of the database to delete.
azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py
def delete_database(self, server_name, name): ''' Deletes an Azure SQL Database. server_name: Name of the server where the database is located. name: Name of the database to delete. ''' return self._perform_delete(self._get_databases_path(server_n...
def delete_database(self, server_name, name): ''' Deletes an Azure SQL Database. server_name: Name of the server where the database is located. name: Name of the database to delete. ''' return self._perform_delete(self._get_databases_path(server_n...
[ "Deletes", "an", "Azure", "SQL", "Database", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py#L370-L379
[ "def", "delete_database", "(", "self", ",", "server_name", ",", "name", ")", ":", "return", "self", ".", "_perform_delete", "(", "self", ".", "_get_databases_path", "(", "server_name", ",", "name", ")", ")" ]
d7306fde32f60a293a7567678692bdad31e4b667
test
SqlDatabaseManagementService.list_databases
List the SQL databases defined on the specified server name
azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py
def list_databases(self, name): ''' List the SQL databases defined on the specified server name ''' response = self._perform_get(self._get_list_databases_path(name), None) return _MinidomXmlToObject.parse_service_resources_response( ...
def list_databases(self, name): ''' List the SQL databases defined on the specified server name ''' response = self._perform_get(self._get_list_databases_path(name), None) return _MinidomXmlToObject.parse_service_resources_response( ...
[ "List", "the", "SQL", "databases", "defined", "on", "the", "specified", "server", "name" ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicemanagement-legacy/azure/servicemanagement/sqldatabasemanagementservice.py#L381-L388
[ "def", "list_databases", "(", "self", ",", "name", ")", ":", "response", "=", "self", ".", "_perform_get", "(", "self", ".", "_get_list_databases_path", "(", "name", ")", ",", "None", ")", "return", "_MinidomXmlToObject", ".", "parse_service_resources_response", ...
d7306fde32f60a293a7567678692bdad31e4b667
test
ImagesOperations.visual_search
Visual Search API lets you discover insights about an image such as visually similar images, shopping sources, and related searches. The API can also perform text recognition, identify entities (people, places, things), return other topical content for the user to explore, and more. For ...
azure-cognitiveservices-search-visualsearch/azure/cognitiveservices/search/visualsearch/operations/images_operations.py
def visual_search( self, accept_language=None, content_type=None, user_agent=None, client_id=None, client_ip=None, location=None, market=None, safe_search=None, set_lang=None, knowledge_request=None, image=None, custom_headers=None, raw=False, **operation_config): """Visual Search API lets you disco...
def visual_search( self, accept_language=None, content_type=None, user_agent=None, client_id=None, client_ip=None, location=None, market=None, safe_search=None, set_lang=None, knowledge_request=None, image=None, custom_headers=None, raw=False, **operation_config): """Visual Search API lets you disco...
[ "Visual", "Search", "API", "lets", "you", "discover", "insights", "about", "an", "image", "such", "as", "visually", "similar", "images", "shopping", "sources", "and", "related", "searches", ".", "The", "API", "can", "also", "perform", "text", "recognition", "i...
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-cognitiveservices-search-visualsearch/azure/cognitiveservices/search/visualsearch/operations/images_operations.py#L38-L307
[ "def", "visual_search", "(", "self", ",", "accept_language", "=", "None", ",", "content_type", "=", "None", ",", "user_agent", "=", "None", ",", "client_id", "=", "None", ",", "client_ip", "=", "None", ",", "location", "=", "None", ",", "market", "=", "N...
d7306fde32f60a293a7567678692bdad31e4b667
test
TopLevelDomainsOperations.list_agreements
Gets all legal agreements that user needs to accept before purchasing a domain. Gets all legal agreements that user needs to accept before purchasing a domain. :param name: Name of the top-level domain. :type name: str :param include_privacy: If <code>true</code>, then ...
azure-mgmt-web/azure/mgmt/web/operations/top_level_domains_operations.py
def list_agreements( self, name, include_privacy=None, for_transfer=None, custom_headers=None, raw=False, **operation_config): """Gets all legal agreements that user needs to accept before purchasing a domain. Gets all legal agreements that user needs to accept before purchasing a ...
def list_agreements( self, name, include_privacy=None, for_transfer=None, custom_headers=None, raw=False, **operation_config): """Gets all legal agreements that user needs to accept before purchasing a domain. Gets all legal agreements that user needs to accept before purchasing a ...
[ "Gets", "all", "legal", "agreements", "that", "user", "needs", "to", "accept", "before", "purchasing", "a", "domain", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-mgmt-web/azure/mgmt/web/operations/top_level_domains_operations.py#L164-L245
[ "def", "list_agreements", "(", "self", ",", "name", ",", "include_privacy", "=", "None", ",", "for_transfer", "=", "None", ",", "custom_headers", "=", "None", ",", "raw", "=", "False", ",", "*", "*", "operation_config", ")", ":", "agreement_option", "=", "...
d7306fde32f60a293a7567678692bdad31e4b667
test
BaseHandler.open
Open handler connection and authenticate session. If the handler is already open, this operation will do nothing. A handler opened with this method must be explicitly closed. It is recommended to open a handler within a context manager as opposed to calling the method directly. ...
azure-servicebus/azure/servicebus/aio/async_base_handler.py
async def open(self): """Open handler connection and authenticate session. If the handler is already open, this operation will do nothing. A handler opened with this method must be explicitly closed. It is recommended to open a handler within a context manager as opposed to call...
async def open(self): """Open handler connection and authenticate session. If the handler is already open, this operation will do nothing. A handler opened with this method must be explicitly closed. It is recommended to open a handler within a context manager as opposed to call...
[ "Open", "handler", "connection", "and", "authenticate", "session", "." ]
Azure/azure-sdk-for-python
python
https://github.com/Azure/azure-sdk-for-python/blob/d7306fde32f60a293a7567678692bdad31e4b667/azure-servicebus/azure/servicebus/aio/async_base_handler.py#L138-L169
[ "async", "def", "open", "(", "self", ")", ":", "if", "self", ".", "running", ":", "return", "self", ".", "running", "=", "True", "try", ":", "await", "self", ".", "_handler", ".", "open_async", "(", "connection", "=", "self", ".", "connection", ")", ...
d7306fde32f60a293a7567678692bdad31e4b667