Skip to content

Commit

Permalink
Generated from 165b7fcfae9a0dd104445193789b90f6974b0943 (#10669)
Browse files Browse the repository at this point in the history
Renaming PrivateLinkResourceList to PrivateLinkResources

Co-authored-by: SDK Automation <sdkautomation@microsoft.com>
  • Loading branch information
openapi-sdkautomation[bot] and SDK Automation authored Apr 21, 2020
1 parent 3a0e304 commit 9695ae5
Show file tree
Hide file tree
Showing 78 changed files with 3,032 additions and 3,025 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------

from .recovery_services_client import RecoveryServicesClient
from .version import VERSION
from ._configuration import RecoveryServicesClientConfiguration
from ._recovery_services_client import RecoveryServicesClient
__all__ = ['RecoveryServicesClient', 'RecoveryServicesClientConfiguration']

__all__ = ['RecoveryServicesClient']
from .version import VERSION

__version__ = VERSION

Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# 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 msrestazure import AzureConfiguration

from .version import VERSION


class RecoveryServicesClientConfiguration(AzureConfiguration):
"""Configuration for RecoveryServicesClient
Note that all parameters used to create this instance are saved as instance
attributes.
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
object<msrestazure.azure_active_directory>`
:param subscription_id: The subscription Id.
:type subscription_id: str
:param str base_url: Service URL
"""

def __init__(
self, credentials, subscription_id, base_url=None):

if credentials is None:
raise ValueError("Parameter 'credentials' must not be None.")
if subscription_id is None:
raise ValueError("Parameter 'subscription_id' must not be None.")
if not base_url:
base_url = 'https://management.azure.com'

super(RecoveryServicesClientConfiguration, self).__init__(base_url)

# Starting Autorest.Python 4.0.64, make connection pool activated by default
self.keep_alive = True

self.add_user_agent('azure-mgmt-recoveryservices/{}'.format(VERSION))
self.add_user_agent('Azure-SDK-For-Python')

self.credentials = credentials
self.subscription_id = subscription_id
Original file line number Diff line number Diff line change
Expand Up @@ -11,49 +11,18 @@

from msrest.service_client import SDKClient
from msrest import Serializer, Deserializer
from msrestazure import AzureConfiguration
from .version import VERSION
from .operations.vault_certificates_operations import VaultCertificatesOperations
from .operations.registered_identities_operations import RegisteredIdentitiesOperations
from .operations.replication_usages_operations import ReplicationUsagesOperations
from .operations.recovery_services_operations import RecoveryServicesOperations
from .operations.vaults_operations import VaultsOperations
from .operations.operations import Operations
from .operations.vault_extended_info_operations import VaultExtendedInfoOperations
from .operations.usages_operations import UsagesOperations
from . import models


class RecoveryServicesClientConfiguration(AzureConfiguration):
"""Configuration for RecoveryServicesClient
Note that all parameters used to create this instance are saved as instance
attributes.

:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
object<msrestazure.azure_active_directory>`
:param subscription_id: The subscription Id.
:type subscription_id: str
:param str base_url: Service URL
"""

def __init__(
self, credentials, subscription_id, base_url=None):

if credentials is None:
raise ValueError("Parameter 'credentials' must not be None.")
if subscription_id is None:
raise ValueError("Parameter 'subscription_id' must not be None.")
if not base_url:
base_url = 'https://management.azure.com'

super(RecoveryServicesClientConfiguration, self).__init__(base_url)

self.add_user_agent('azure-mgmt-recoveryservices/{}'.format(VERSION))
self.add_user_agent('Azure-SDK-For-Python')

self.credentials = credentials
self.subscription_id = subscription_id
from ._configuration import RecoveryServicesClientConfiguration
from .operations import VaultCertificatesOperations
from .operations import RegisteredIdentitiesOperations
from .operations import ReplicationUsagesOperations
from .operations import PrivateLinkResourcesOperations
from .operations import RecoveryServicesOperations
from .operations import VaultsOperations
from .operations import Operations
from .operations import VaultExtendedInfoOperations
from .operations import UsagesOperations
from . import models


class RecoveryServicesClient(SDKClient):
Expand All @@ -68,6 +37,8 @@ class RecoveryServicesClient(SDKClient):
:vartype registered_identities: azure.mgmt.recoveryservices.operations.RegisteredIdentitiesOperations
:ivar replication_usages: ReplicationUsages operations
:vartype replication_usages: azure.mgmt.recoveryservices.operations.ReplicationUsagesOperations
:ivar private_link_resources: PrivateLinkResources operations
:vartype private_link_resources: azure.mgmt.recoveryservices.operations.PrivateLinkResourcesOperations
:ivar recovery_services: RecoveryServices operations
:vartype recovery_services: azure.mgmt.recoveryservices.operations.RecoveryServicesOperations
:ivar vaults: Vaults operations
Expand Down Expand Up @@ -104,6 +75,8 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.replication_usages = ReplicationUsagesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.recovery_services = RecoveryServicesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.vaults = VaultsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,111 +10,136 @@
# --------------------------------------------------------------------------

try:
from .raw_certificate_data_py3 import RawCertificateData
from .certificate_request_py3 import CertificateRequest
from .resource_certificate_and_aad_details_py3 import ResourceCertificateAndAadDetails
from .resource_certificate_and_acs_details_py3 import ResourceCertificateAndAcsDetails
from .resource_certificate_details_py3 import ResourceCertificateDetails
from .vault_certificate_response_py3 import VaultCertificateResponse
from .jobs_summary_py3 import JobsSummary
from .monitoring_summary_py3 import MonitoringSummary
from .replication_usage_py3 import ReplicationUsage
from .check_name_availability_parameters_py3 import CheckNameAvailabilityParameters
from .check_name_availability_result_py3 import CheckNameAvailabilityResult
from .check_name_availability_result_resource_py3 import CheckNameAvailabilityResultResource
from .client_discovery_display_py3 import ClientDiscoveryDisplay
from .client_discovery_for_log_specification_py3 import ClientDiscoveryForLogSpecification
from .client_discovery_for_service_specification_py3 import ClientDiscoveryForServiceSpecification
from .client_discovery_for_properties_py3 import ClientDiscoveryForProperties
from .client_discovery_value_for_single_api_py3 import ClientDiscoveryValueForSingleApi
from .resource_py3 import Resource
from .sku_py3 import Sku
from .tracked_resource_py3 import TrackedResource
from .patch_tracked_resource_py3 import PatchTrackedResource
from .upgrade_details_py3 import UpgradeDetails
from .vault_properties_py3 import VaultProperties
from .vault_py3 import Vault
from .patch_vault_py3 import PatchVault
from .vault_extended_info_resource_py3 import VaultExtendedInfoResource
from .name_info_py3 import NameInfo
from .vault_usage_py3 import VaultUsage
from ._models_py3 import CertificateRequest
from ._models_py3 import CheckNameAvailabilityParameters
from ._models_py3 import CheckNameAvailabilityResult
from ._models_py3 import ClientDiscoveryDisplay
from ._models_py3 import ClientDiscoveryForLogSpecification
from ._models_py3 import ClientDiscoveryForProperties
from ._models_py3 import ClientDiscoveryForServiceSpecification
from ._models_py3 import ClientDiscoveryValueForSingleApi
from ._models_py3 import IdentityData
from ._models_py3 import JobsSummary
from ._models_py3 import MonitoringSummary
from ._models_py3 import NameInfo
from ._models_py3 import PatchTrackedResource
from ._models_py3 import PatchVault
from ._models_py3 import PrivateEndpoint
from ._models_py3 import PrivateEndpointConnection
from ._models_py3 import PrivateEndpointConnectionVaultProperties
from ._models_py3 import PrivateLinkResource
from ._models_py3 import PrivateLinkServiceConnectionState
from ._models_py3 import RawCertificateData
from ._models_py3 import ReplicationUsage
from ._models_py3 import Resource
from ._models_py3 import ResourceCertificateAndAadDetails
from ._models_py3 import ResourceCertificateAndAcsDetails
from ._models_py3 import ResourceCertificateDetails
from ._models_py3 import Sku
from ._models_py3 import TrackedResource
from ._models_py3 import UpgradeDetails
from ._models_py3 import Vault
from ._models_py3 import VaultCertificateResponse
from ._models_py3 import VaultExtendedInfoResource
from ._models_py3 import VaultProperties
from ._models_py3 import VaultUsage
except (SyntaxError, ImportError):
from .raw_certificate_data import RawCertificateData
from .certificate_request import CertificateRequest
from .resource_certificate_and_aad_details import ResourceCertificateAndAadDetails
from .resource_certificate_and_acs_details import ResourceCertificateAndAcsDetails
from .resource_certificate_details import ResourceCertificateDetails
from .vault_certificate_response import VaultCertificateResponse
from .jobs_summary import JobsSummary
from .monitoring_summary import MonitoringSummary
from .replication_usage import ReplicationUsage
from .check_name_availability_parameters import CheckNameAvailabilityParameters
from .check_name_availability_result import CheckNameAvailabilityResult
from .check_name_availability_result_resource import CheckNameAvailabilityResultResource
from .client_discovery_display import ClientDiscoveryDisplay
from .client_discovery_for_log_specification import ClientDiscoveryForLogSpecification
from .client_discovery_for_service_specification import ClientDiscoveryForServiceSpecification
from .client_discovery_for_properties import ClientDiscoveryForProperties
from .client_discovery_value_for_single_api import ClientDiscoveryValueForSingleApi
from .resource import Resource
from .sku import Sku
from .tracked_resource import TrackedResource
from .patch_tracked_resource import PatchTrackedResource
from .upgrade_details import UpgradeDetails
from .vault_properties import VaultProperties
from .vault import Vault
from .patch_vault import PatchVault
from .vault_extended_info_resource import VaultExtendedInfoResource
from .name_info import NameInfo
from .vault_usage import VaultUsage
from .replication_usage_paged import ReplicationUsagePaged
from .vault_paged import VaultPaged
from .client_discovery_value_for_single_api_paged import ClientDiscoveryValueForSingleApiPaged
from .vault_usage_paged import VaultUsagePaged
from .recovery_services_client_enums import (
from ._models import CertificateRequest
from ._models import CheckNameAvailabilityParameters
from ._models import CheckNameAvailabilityResult
from ._models import ClientDiscoveryDisplay
from ._models import ClientDiscoveryForLogSpecification
from ._models import ClientDiscoveryForProperties
from ._models import ClientDiscoveryForServiceSpecification
from ._models import ClientDiscoveryValueForSingleApi
from ._models import IdentityData
from ._models import JobsSummary
from ._models import MonitoringSummary
from ._models import NameInfo
from ._models import PatchTrackedResource
from ._models import PatchVault
from ._models import PrivateEndpoint
from ._models import PrivateEndpointConnection
from ._models import PrivateEndpointConnectionVaultProperties
from ._models import PrivateLinkResource
from ._models import PrivateLinkServiceConnectionState
from ._models import RawCertificateData
from ._models import ReplicationUsage
from ._models import Resource
from ._models import ResourceCertificateAndAadDetails
from ._models import ResourceCertificateAndAcsDetails
from ._models import ResourceCertificateDetails
from ._models import Sku
from ._models import TrackedResource
from ._models import UpgradeDetails
from ._models import Vault
from ._models import VaultCertificateResponse
from ._models import VaultExtendedInfoResource
from ._models import VaultProperties
from ._models import VaultUsage
from ._paged_models import ClientDiscoveryValueForSingleApiPaged
from ._paged_models import PrivateLinkResourcePaged
from ._paged_models import ReplicationUsagePaged
from ._paged_models import VaultPaged
from ._paged_models import VaultUsagePaged
from ._recovery_services_client_enums import (
AuthType,
SkuName,
VaultUpgradeState,
TriggerType,
ResourceIdentityType,
ProvisioningState,
PrivateEndpointConnectionStatus,
VaultPrivateEndpointState,
UsagesUnit,
)

__all__ = [
'RawCertificateData',
'CertificateRequest',
'ResourceCertificateAndAadDetails',
'ResourceCertificateAndAcsDetails',
'ResourceCertificateDetails',
'VaultCertificateResponse',
'JobsSummary',
'MonitoringSummary',
'ReplicationUsage',
'CheckNameAvailabilityParameters',
'CheckNameAvailabilityResult',
'CheckNameAvailabilityResultResource',
'ClientDiscoveryDisplay',
'ClientDiscoveryForLogSpecification',
'ClientDiscoveryForServiceSpecification',
'ClientDiscoveryForProperties',
'ClientDiscoveryForServiceSpecification',
'ClientDiscoveryValueForSingleApi',
'IdentityData',
'JobsSummary',
'MonitoringSummary',
'NameInfo',
'PatchTrackedResource',
'PatchVault',
'PrivateEndpoint',
'PrivateEndpointConnection',
'PrivateEndpointConnectionVaultProperties',
'PrivateLinkResource',
'PrivateLinkServiceConnectionState',
'RawCertificateData',
'ReplicationUsage',
'Resource',
'ResourceCertificateAndAadDetails',
'ResourceCertificateAndAcsDetails',
'ResourceCertificateDetails',
'Sku',
'TrackedResource',
'PatchTrackedResource',
'UpgradeDetails',
'VaultProperties',
'Vault',
'PatchVault',
'VaultCertificateResponse',
'VaultExtendedInfoResource',
'NameInfo',
'VaultProperties',
'VaultUsage',
'ReplicationUsagePaged',
'PrivateLinkResourcePaged',
'VaultPaged',
'ClientDiscoveryValueForSingleApiPaged',
'VaultUsagePaged',
'AuthType',
'SkuName',
'VaultUpgradeState',
'TriggerType',
'ResourceIdentityType',
'ProvisioningState',
'PrivateEndpointConnectionStatus',
'VaultPrivateEndpointState',
'UsagesUnit',
]
Loading

0 comments on commit 9695ae5

Please sign in to comment.