Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param key_type: The key type. Possible values include:
'NotSpecified', 'Primary', 'Secondary'
:type key_type: str or ~azure.mgmt.logic.models.KeyType
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides`.
:return: None or ClientRawResponse if raw=true
:rtype: None or ~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError`
"""
key_type1 = models.RegenerateActionParameter(key_type=key_type)
# Construct URL
url = self.regenerate_access_key.metadata['url']
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
'workflowName': self._serialize.url("workflow_name", workflow_name, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
# Construct headers
header_parameters = {}
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param key_type: The key type. Possible values include:
'NotSpecified', 'Primary', 'Secondary'
:type key_type: str or ~azure.mgmt.logic.models.KeyType
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides`.
:return: IntegrationAccount or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.logic.models.IntegrationAccount or
~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError`
"""
regenerate_access_key1 = models.RegenerateActionParameter(key_type=key_type)
# Construct URL
url = self.regenerate_access_key.metadata['url']
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
'integrationAccountName': self._serialize.url("integration_account_name", integration_account_name, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
# Construct headers
header_parameters = {}