Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
List all apps that are assigned to a hostname.
:param name: Name of the object.
:type name: str
: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: An iterator like instance of Identifier
:rtype:
~azure.mgmt.web.models.IdentifierPaged[~azure.mgmt.web.models.Identifier]
:raises:
:class:`DefaultErrorResponseException`
"""
name_identifier = models.NameIdentifier(name=name)
api_version = "2018-02-01"
def internal_paging(next_link=None, raw=False):
if not next_link:
# Construct URL
url = self.list_site_identifiers_assigned_to_host_name.metadata['url']
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
:type resource_group_name: str
:param name: Certificate order name
:type name: str
:param name: Name of the object.
:type name: str
: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`.
:rtype: None
:rtype: :class:`ClientRawResponse`
if raw=true
:raises: :class:`CloudError`
"""
name_identifier = models.NameIdentifier(name=name)
# Construct URL
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/resendRequestEmails'
path_format_arguments = {
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern='^[-\w\._\(\)]+[^\.]$'),
'name': self._serialize.url("name", name, 'str'),
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, '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 = {}