How to use the msrest.paging.Paged function in msrest

To help you get started, we’ve selected a few msrest examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azure / azure-cli-extensions / src / azure-firewall / azext_firewall / vendored_sdks / v2020_05_01 / v2020_05_01 / models / _paged_models.py View on Github external
super(PublicIPPrefixPaged, self).__init__(*args, **kwargs)
class RouteFilterPaged(Paged):
    """
    A paging container for iterating over a list of :class:`RouteFilter ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[RouteFilter]'}
    }

    def __init__(self, *args, **kwargs):

        super(RouteFilterPaged, self).__init__(*args, **kwargs)
class RouteFilterRulePaged(Paged):
    """
    A paging container for iterating over a list of :class:`RouteFilterRule ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[RouteFilterRule]'}
    }

    def __init__(self, *args, **kwargs):

        super(RouteFilterRulePaged, self).__init__(*args, **kwargs)
class RouteTablePaged(Paged):
    """
    A paging container for iterating over a list of :class:`RouteTable ` object
    """
github Azure / azure-sdk-for-python / sdk / logic / azure-mgmt-logic / azure / mgmt / logic / models / _paged_models.py View on Github external
super(IntegrationAccountAgreementPaged, self).__init__(*args, **kwargs)
class IntegrationAccountCertificatePaged(Paged):
    """
    A paging container for iterating over a list of :class:`IntegrationAccountCertificate ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[IntegrationAccountCertificate]'}
    }

    def __init__(self, *args, **kwargs):

        super(IntegrationAccountCertificatePaged, self).__init__(*args, **kwargs)
class IntegrationAccountSessionPaged(Paged):
    """
    A paging container for iterating over a list of :class:`IntegrationAccountSession ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[IntegrationAccountSession]'}
    }

    def __init__(self, *args, **kwargs):

        super(IntegrationAccountSessionPaged, self).__init__(*args, **kwargs)
class IntegrationServiceEnvironmentPaged(Paged):
    """
    A paging container for iterating over a list of :class:`IntegrationServiceEnvironment ` object
    """
github Azure / azure-sdk-for-python / sdk / compute / azure-mgmt-vmwarecloudsimple / azure / mgmt / vmwarecloudsimple / models / _paged_models.py View on Github external
super(PrivateCloudPaged, self).__init__(*args, **kwargs)
class CustomizationPolicyPaged(Paged):
    """
    A paging container for iterating over a list of :class:`CustomizationPolicy ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[CustomizationPolicy]'}
    }

    def __init__(self, *args, **kwargs):

        super(CustomizationPolicyPaged, self).__init__(*args, **kwargs)
class ResourcePoolPaged(Paged):
    """
    A paging container for iterating over a list of :class:`ResourcePool ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[ResourcePool]'}
    }

    def __init__(self, *args, **kwargs):

        super(ResourcePoolPaged, self).__init__(*args, **kwargs)
class VirtualMachineTemplatePaged(Paged):
    """
    A paging container for iterating over a list of :class:`VirtualMachineTemplate ` object
    """
github Azure / azure-sdk-for-python / sdk / security / azure-mgmt-security / azure / mgmt / security / models / _paged_models.py View on Github external
super(TopologyResourcePaged, self).__init__(*args, **kwargs)
class AutoProvisioningSettingPaged(Paged):
    """
    A paging container for iterating over a list of :class:`AutoProvisioningSetting ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[AutoProvisioningSetting]'}
    }

    def __init__(self, *args, **kwargs):

        super(AutoProvisioningSettingPaged, self).__init__(*args, **kwargs)
class CompliancePaged(Paged):
    """
    A paging container for iterating over a list of :class:`Compliance ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[Compliance]'}
    }

    def __init__(self, *args, **kwargs):

        super(CompliancePaged, self).__init__(*args, **kwargs)
class InformationProtectionPolicyPaged(Paged):
    """
    A paging container for iterating over a list of :class:`InformationProtectionPolicy ` object
    """
github Azure / azure-sdk-for-python / azure-mgmt-scheduler / azure / mgmt / scheduler / models / job_history_definition_paged.py View on Github external
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.paging import Paged


class JobHistoryDefinitionPaged(Paged):
    """
    A paging container for iterating over a list of :class:`JobHistoryDefinition ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[JobHistoryDefinition]'}
    }

    def __init__(self, *args, **kwargs):

        super(JobHistoryDefinitionPaged, self).__init__(*args, **kwargs)
github Azure / azure-sdk-for-python / sdk / apimanagement / azure-mgmt-apimanagement / azure / mgmt / apimanagement / models / certificate_contract_paged.py View on Github external
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.paging import Paged


class CertificateContractPaged(Paged):
    """
    A paging container for iterating over a list of :class:`CertificateContract ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[CertificateContract]'}
    }

    def __init__(self, *args, **kwargs):

        super(CertificateContractPaged, self).__init__(*args, **kwargs)
github Azure / azure-sdk-for-python / sdk / managednetwork / azure-mgmt-managednetwork / azure / mgmt / managednetwork / models / _paged_models.py View on Github external
super(ManagedNetworkGroupPaged, self).__init__(*args, **kwargs)
class ManagedNetworkPeeringPolicyPaged(Paged):
    """
    A paging container for iterating over a list of :class:`ManagedNetworkPeeringPolicy ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[ManagedNetworkPeeringPolicy]'}
    }

    def __init__(self, *args, **kwargs):

        super(ManagedNetworkPeeringPolicyPaged, self).__init__(*args, **kwargs)
class OperationPaged(Paged):
    """
    A paging container for iterating over a list of :class:`Operation ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[Operation]'}
    }

    def __init__(self, *args, **kwargs):

        super(OperationPaged, self).__init__(*args, **kwargs)
github Azure / azure-sdk-for-python / sdk / appservice / azure-mgmt-web / azure / mgmt / web / v2016_09_01 / models / _paged_models.py View on Github external
super(ResourceMetricDefinitionPaged, self).__init__(*args, **kwargs)
class SkuInfoPaged(Paged):
    """
    A paging container for iterating over a list of :class:`SkuInfo ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[SkuInfo]'}
    }

    def __init__(self, *args, **kwargs):

        super(SkuInfoPaged, self).__init__(*args, **kwargs)
class UsagePaged(Paged):
    """
    A paging container for iterating over a list of :class:`Usage ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[Usage]'}
    }

    def __init__(self, *args, **kwargs):

        super(UsagePaged, self).__init__(*args, **kwargs)
class AppServicePlanPaged(Paged):
    """
    A paging container for iterating over a list of :class:`AppServicePlan ` object
    """
github Azure / azure-cli-extensions / src / spring-cloud / azext_spring_cloud / vendored_sdks / appplatform / models / _paged_models.py View on Github external
super(CertificateResourcePaged, self).__init__(*args, **kwargs)
class CustomDomainResourcePaged(Paged):
    """
    A paging container for iterating over a list of :class:`CustomDomainResource ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[CustomDomainResource]'}
    }

    def __init__(self, *args, **kwargs):

        super(CustomDomainResourcePaged, self).__init__(*args, **kwargs)
class DeploymentResourcePaged(Paged):
    """
    A paging container for iterating over a list of :class:`DeploymentResource ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[DeploymentResource]'}
    }

    def __init__(self, *args, **kwargs):

        super(DeploymentResourcePaged, self).__init__(*args, **kwargs)
class OperationDetailPaged(Paged):
    """
    A paging container for iterating over a list of :class:`OperationDetail ` object
    """
github Azure / azure-cli-extensions / src / azure-firewall / azext_firewall / vendored_sdks / v2020_05_01 / v2020_05_01 / models / _paged_models.py View on Github external
super(IpGroupPaged, self).__init__(*args, **kwargs)
class LoadBalancerPaged(Paged):
    """
    A paging container for iterating over a list of :class:`LoadBalancer ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[LoadBalancer]'}
    }

    def __init__(self, *args, **kwargs):

        super(LoadBalancerPaged, self).__init__(*args, **kwargs)
class BackendAddressPoolPaged(Paged):
    """
    A paging container for iterating over a list of :class:`BackendAddressPool ` object
    """

    _attribute_map = {
        'next_link': {'key': 'nextLink', 'type': 'str'},
        'current_page': {'key': 'value', 'type': '[BackendAddressPool]'}
    }

    def __init__(self, *args, **kwargs):

        super(BackendAddressPoolPaged, self).__init__(*args, **kwargs)
class FrontendIPConfigurationPaged(Paged):
    """
    A paging container for iterating over a list of :class:`FrontendIPConfiguration ` object
    """