Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
:param not_after: The expiry time.
:type not_after: datetime
: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: WorkflowTriggerCallbackUrl or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.logic.models.WorkflowTriggerCallbackUrl or
~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError`
"""
list_content_callback_url1 = models.GetCallbackUrlParameters(not_after=not_after, key_type=key_type)
# Construct URL
url = self.list_content_callback_url.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'),
'schemaName': self._serialize.url("schema_name", schema_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
:param not_after: The expiry time.
:type not_after: datetime
: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: WorkflowTriggerCallbackUrl or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.logic.models.WorkflowTriggerCallbackUrl or
~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError`
"""
list_callback_url1 = models.GetCallbackUrlParameters(not_after=not_after, key_type=key_type)
# Construct URL
url = self.list_callback_url.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 not_after: The expiry time.
:type not_after: datetime
: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: WorkflowTriggerCallbackUrl or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.logic.models.WorkflowTriggerCallbackUrl or
~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError`
"""
list_content_callback_url1 = models.GetCallbackUrlParameters(not_after=not_after, key_type=key_type)
# Construct URL
url = self.list_content_callback_url.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'),
'partnerName': self._serialize.url("partner_name", partner_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
:param not_after: The expiry time.
:type not_after: datetime
: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: WorkflowTriggerCallbackUrl or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.logic.models.WorkflowTriggerCallbackUrl or
~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError`
"""
list_content_callback_url1 = models.GetCallbackUrlParameters(not_after=not_after, key_type=key_type)
# Construct URL
url = self.list_content_callback_url.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'),
'agreementName': self._serialize.url("agreement_name", agreement_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
:param not_after: The expiry time.
:type not_after: datetime
: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: WorkflowTriggerCallbackUrl or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.logic.models.WorkflowTriggerCallbackUrl or
~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError`
"""
list_content_callback_url1 = models.GetCallbackUrlParameters(not_after=not_after, key_type=key_type)
# Construct URL
url = self.list_content_callback_url.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'),
'mapName': self._serialize.url("map_name", map_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
:param not_after: The expiry time.
:type not_after: datetime
: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: CallbackUrl or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.logic.models.CallbackUrl or
~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError`
"""
parameters = models.GetCallbackUrlParameters(not_after=not_after, key_type=key_type)
# Construct URL
url = self.list_callback_url.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 = {}