Skip to content

Commit

Permalink
Generated from 88ebf3a4f1e1ee254fd5622c3b8a70ca43b505c7
Browse files Browse the repository at this point in the history
updated Readme
  • Loading branch information
SDK Automation committed Aug 24, 2020
1 parent 8f168eb commit f64b0c6
Show file tree
Hide file tree
Showing 12 changed files with 2,735 additions and 979 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,48 +13,54 @@
from msrest import Serializer, Deserializer

from ._configuration import ServiceBusManagementClientConfiguration
from .operations import Operations
from .operations import NamespacesOperations
from .operations import DisasterRecoveryConfigsOperations
from .operations import MigrationConfigsOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from .operations import QueuesOperations
from .operations import TopicsOperations
from .operations import DisasterRecoveryConfigsOperations
from .operations import EventHubsOperations
from .operations import MigrationConfigsOperations
from .operations import Operations
from .operations import PremiumMessagingRegionsOperations
from .operations import RegionsOperations
from .operations import SubscriptionsOperations
from .operations import RulesOperations
from .operations import RegionsOperations
from .operations import PremiumMessagingRegionsOperations
from .operations import EventHubsOperations
from . import models


class ServiceBusManagementClient(SDKClient):
"""Azure Service Bus client
"""ServiceBusManagementClient
:ivar config: Configuration for client.
:vartype config: ServiceBusManagementClientConfiguration
:ivar operations: Operations operations
:vartype operations: azure.mgmt.servicebus.operations.Operations
:ivar namespaces: Namespaces operations
:vartype namespaces: azure.mgmt.servicebus.operations.NamespacesOperations
:ivar disaster_recovery_configs: DisasterRecoveryConfigs operations
:vartype disaster_recovery_configs: azure.mgmt.servicebus.operations.DisasterRecoveryConfigsOperations
:ivar migration_configs: MigrationConfigs operations
:vartype migration_configs: azure.mgmt.servicebus.operations.MigrationConfigsOperations
:ivar private_endpoint_connections: PrivateEndpointConnections operations
:vartype private_endpoint_connections: azure.mgmt.servicebus.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResources operations
:vartype private_link_resources: azure.mgmt.servicebus.operations.PrivateLinkResourcesOperations
:ivar queues: Queues operations
:vartype queues: azure.mgmt.servicebus.operations.QueuesOperations
:ivar topics: Topics operations
:vartype topics: azure.mgmt.servicebus.operations.TopicsOperations
:ivar disaster_recovery_configs: DisasterRecoveryConfigs operations
:vartype disaster_recovery_configs: azure.mgmt.servicebus.operations.DisasterRecoveryConfigsOperations
:ivar event_hubs: EventHubs operations
:vartype event_hubs: azure.mgmt.servicebus.operations.EventHubsOperations
:ivar migration_configs: MigrationConfigs operations
:vartype migration_configs: azure.mgmt.servicebus.operations.MigrationConfigsOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.servicebus.operations.Operations
:ivar premium_messaging_regions: PremiumMessagingRegions operations
:vartype premium_messaging_regions: azure.mgmt.servicebus.operations.PremiumMessagingRegionsOperations
:ivar regions: Regions operations
:vartype regions: azure.mgmt.servicebus.operations.RegionsOperations
:ivar subscriptions: Subscriptions operations
:vartype subscriptions: azure.mgmt.servicebus.operations.SubscriptionsOperations
:ivar rules: Rules operations
:vartype rules: azure.mgmt.servicebus.operations.RulesOperations
:ivar regions: Regions operations
:vartype regions: azure.mgmt.servicebus.operations.RegionsOperations
:ivar premium_messaging_regions: PremiumMessagingRegions operations
:vartype premium_messaging_regions: azure.mgmt.servicebus.operations.PremiumMessagingRegionsOperations
:ivar event_hubs: EventHubs operations
:vartype event_hubs: azure.mgmt.servicebus.operations.EventHubsOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -73,29 +79,32 @@ def __init__(
super(ServiceBusManagementClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2017-04-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.namespaces = NamespacesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.disaster_recovery_configs = DisasterRecoveryConfigsOperations(
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.migration_configs = MigrationConfigsOperations(
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.queues = QueuesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.topics = TopicsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.subscriptions = SubscriptionsOperations(
self.disaster_recovery_configs = DisasterRecoveryConfigsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.rules = RulesOperations(
self.event_hubs = EventHubsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.regions = RegionsOperations(
self.migration_configs = MigrationConfigsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.premium_messaging_regions = PremiumMessagingRegionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.event_hubs = EventHubsOperations(
self.regions = RegionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.subscriptions = SubscriptionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.rules = RulesOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,20 @@
from ._models_py3 import AccessKeys
from ._models_py3 import Action
from ._models_py3 import ArmDisasterRecovery
from ._models_py3 import AuthorizationRuleProperties
from ._models_py3 import CaptureDescription
from ._models_py3 import CheckNameAvailability
from ._models_py3 import CheckNameAvailabilityResult
from ._models_py3 import ConnectionState
from ._models_py3 import CorrelationFilter
from ._models_py3 import Destination
from ._models_py3 import Encryption
from ._models_py3 import ErrorAdditionalInfo
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import ErrorResponseError
from ._models_py3 import Eventhub
from ._models_py3 import Identity
from ._models_py3 import IpFilterRule
from ._models_py3 import KeyVaultProperties
from ._models_py3 import MessageCountDetails
from ._models_py3 import MigrationConfigProperties
from ._models_py3 import NetworkRuleSet
Expand All @@ -30,6 +36,11 @@
from ._models_py3 import OperationDisplay
from ._models_py3 import PremiumMessagingRegions
from ._models_py3 import PremiumMessagingRegionsProperties
from ._models_py3 import PrivateEndpoint
from ._models_py3 import PrivateEndpointConnection
from ._models_py3 import PrivateEndpointConnectionListResult
from ._models_py3 import PrivateLinkResource
from ._models_py3 import PrivateLinkResourcesListResult
from ._models_py3 import RegenerateAccessKeyParameters
from ._models_py3 import Resource
from ._models_py3 import ResourceNamespacePatch
Expand All @@ -46,18 +57,25 @@
from ._models_py3 import SqlRuleAction
from ._models_py3 import Subnet
from ._models_py3 import TrackedResource
from ._models_py3 import VirtualNetworkRule
except (SyntaxError, ImportError):
from ._models import AccessKeys
from ._models import Action
from ._models import ArmDisasterRecovery
from ._models import AuthorizationRuleProperties
from ._models import CaptureDescription
from ._models import CheckNameAvailability
from ._models import CheckNameAvailabilityResult
from ._models import ConnectionState
from ._models import CorrelationFilter
from ._models import Destination
from ._models import Encryption
from ._models import ErrorAdditionalInfo
from ._models import ErrorResponse, ErrorResponseException
from ._models import ErrorResponseError
from ._models import Eventhub
from ._models import Identity
from ._models import IpFilterRule
from ._models import KeyVaultProperties
from ._models import MessageCountDetails
from ._models import MigrationConfigProperties
from ._models import NetworkRuleSet
Expand All @@ -67,6 +85,11 @@
from ._models import OperationDisplay
from ._models import PremiumMessagingRegions
from ._models import PremiumMessagingRegionsProperties
from ._models import PrivateEndpoint
from ._models import PrivateEndpointConnection
from ._models import PrivateEndpointConnectionListResult
from ._models import PrivateLinkResource
from ._models import PrivateLinkResourcesListResult
from ._models import RegenerateAccessKeyParameters
from ._models import Resource
from ._models import ResourceNamespacePatch
Expand All @@ -83,10 +106,11 @@
from ._models import SqlRuleAction
from ._models import Subnet
from ._models import TrackedResource
from ._models import VirtualNetworkRule
from ._paged_models import ArmDisasterRecoveryPaged
from ._paged_models import EventhubPaged
from ._paged_models import IpFilterRulePaged
from ._paged_models import MigrationConfigPropertiesPaged
from ._paged_models import NetworkRuleSetPaged
from ._paged_models import OperationPaged
from ._paged_models import PremiumMessagingRegionsPaged
from ._paged_models import RulePaged
Expand All @@ -95,34 +119,46 @@
from ._paged_models import SBQueuePaged
from ._paged_models import SBSubscriptionPaged
from ._paged_models import SBTopicPaged
from ._paged_models import VirtualNetworkRulePaged
from ._service_bus_management_client_enums import (
IPAction,
SkuName,
SkuTier,
NameSpaceType,
KeySource,
PrivateLinkConnectionStatus,
EndPointProvisioningState,
IdentityType,
NetworkRuleIPAction,
DefaultAction,
AccessRights,
KeyType,
EntityStatus,
UnavailableReason,
FilterType,
EncodingCaptureDescription,
ProvisioningStateDR,
RoleDisasterRecovery,
NetworkRuleIPAction,
DefaultAction,
EntityStatus,
EncodingCaptureDescription,
NameSpaceType,
FilterType,
)

__all__ = [
'AccessKeys',
'Action',
'ArmDisasterRecovery',
'AuthorizationRuleProperties',
'CaptureDescription',
'CheckNameAvailability',
'CheckNameAvailabilityResult',
'ConnectionState',
'CorrelationFilter',
'Destination',
'Encryption',
'ErrorAdditionalInfo',
'ErrorResponse', 'ErrorResponseException',
'ErrorResponseError',
'Eventhub',
'Identity',
'IpFilterRule',
'KeyVaultProperties',
'MessageCountDetails',
'MigrationConfigProperties',
'NetworkRuleSet',
Expand All @@ -132,6 +168,11 @@
'OperationDisplay',
'PremiumMessagingRegions',
'PremiumMessagingRegionsProperties',
'PrivateEndpoint',
'PrivateEndpointConnection',
'PrivateEndpointConnectionListResult',
'PrivateLinkResource',
'PrivateLinkResourcesListResult',
'RegenerateAccessKeyParameters',
'Resource',
'ResourceNamespacePatch',
Expand All @@ -148,29 +189,36 @@
'SqlRuleAction',
'Subnet',
'TrackedResource',
'OperationPaged',
'VirtualNetworkRule',
'IpFilterRulePaged',
'SBNamespacePaged',
'VirtualNetworkRulePaged',
'SBAuthorizationRulePaged',
'NetworkRuleSetPaged',
'ArmDisasterRecoveryPaged',
'MigrationConfigPropertiesPaged',
'SBQueuePaged',
'SBTopicPaged',
'ArmDisasterRecoveryPaged',
'EventhubPaged',
'MigrationConfigPropertiesPaged',
'OperationPaged',
'PremiumMessagingRegionsPaged',
'SBSubscriptionPaged',
'RulePaged',
'PremiumMessagingRegionsPaged',
'EventhubPaged',
'IPAction',
'SkuName',
'SkuTier',
'NameSpaceType',
'KeySource',
'PrivateLinkConnectionStatus',
'EndPointProvisioningState',
'IdentityType',
'NetworkRuleIPAction',
'DefaultAction',
'AccessRights',
'KeyType',
'EntityStatus',
'UnavailableReason',
'FilterType',
'EncodingCaptureDescription',
'ProvisioningStateDR',
'RoleDisasterRecovery',
'NetworkRuleIPAction',
'DefaultAction',
'EntityStatus',
'EncodingCaptureDescription',
'NameSpaceType',
'FilterType',
]
Loading

0 comments on commit f64b0c6

Please sign in to comment.