Skip to content

Commit

Permalink
CodeGen from PR 13862 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Update all schemas.md files (Azure#13862)
  • Loading branch information
SDKAuto committed Apr 9, 2021
1 parent 977bfe9 commit 19406c0
Show file tree
Hide file tree
Showing 41 changed files with 10,080 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Release History

## 0.1.0 (1970-01-01)

* Initial Release
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure MyService Management Client Library.
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).


# Usage

For code examples, see [MyService Management](https://docs.microsoft.com/python/api/overview/azure/)
on docs.microsoft.com.


# Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project.


![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-m365securityandcompliance%2FREADME.png)
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "e9605b17939f7f9a74c78bcee61a6f0bb37a55e8",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/m365securityandcompliance/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --use=@microsoft.azure/autorest.python@~4.0.71 --version=V2",
"readme": "specification/m365securityandcompliance/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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 ._configuration import M365SecurityAndComplianceClientConfiguration
from ._m365_security_and_compliance_client import M365SecurityAndComplianceClient
__all__ = ['M365SecurityAndComplianceClient', 'M365SecurityAndComplianceClientConfiguration']

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 M365SecurityAndComplianceClientConfiguration(AzureConfiguration):
"""Configuration for M365SecurityAndComplianceClient
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 identifier.
: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(M365SecurityAndComplianceClientConfiguration, 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-m365securityandcompliance/{}'.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
@@ -0,0 +1,149 @@
# 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.service_client import SDKClient
from msrest import Serializer, Deserializer

from ._configuration import M365SecurityAndComplianceClientConfiguration
from .operations import Operations
from .operations import OperationResultsOperations
from .operations import PrivateLinkServicesForEDMUploadOperations
from .operations import ServicesOperations
from .operations import PrivateEndpointConnectionsForEDMOperations
from .operations import PrivateLinkResourcesOperations
from .operations import PrivateLinkServicesForM365ComplianceCenterOperations
from .operations import PrivateEndpointConnectionsCompOperations
from .operations import PrivateLinkResourcesCompOperations
from .operations import PrivateLinkServicesForM365SecurityCenterOperations
from .operations import PrivateEndpointConnectionsSecOperations
from .operations import PrivateLinkResourcesSecOperations
from .operations import PrivateLinkServicesForO365ManagementActivityAPIOperations
from .operations import PrivateEndpointConnectionsAdtAPIOperations
from .operations import PrivateLinkResourcesAdtAPIOperations
from .operations import PrivateLinkServicesForSCCPowershellOperations
from .operations import PrivateEndpointConnectionsForSCCPowershellOperations
from .operations import PrivateLinkResourcesForSCCPowershellOperations
from .operations import PrivateLinkServicesForMIPPolicySyncOperations
from .operations import PrivateEndpointConnectionsForMIPPolicySyncOperations
from .operations import PrivateLinkResourcesForMIPPolicySyncOperations
from . import models


class M365SecurityAndComplianceClient(SDKClient):
"""Security And Compliance Client
:ivar config: Configuration for client.
:vartype config: M365SecurityAndComplianceClientConfiguration
:ivar operations: Operations operations
:vartype operations: azure.mgmt.m365securityandcompliance.operations.Operations
:ivar operation_results: OperationResults operations
:vartype operation_results: azure.mgmt.m365securityandcompliance.operations.OperationResultsOperations
:ivar private_link_services_for_edm_upload: PrivateLinkServicesForEDMUpload operations
:vartype private_link_services_for_edm_upload: azure.mgmt.m365securityandcompliance.operations.PrivateLinkServicesForEDMUploadOperations
:ivar services: Services operations
:vartype services: azure.mgmt.m365securityandcompliance.operations.ServicesOperations
:ivar private_endpoint_connections_for_edm: PrivateEndpointConnectionsForEDM operations
:vartype private_endpoint_connections_for_edm: azure.mgmt.m365securityandcompliance.operations.PrivateEndpointConnectionsForEDMOperations
:ivar private_link_resources: PrivateLinkResources operations
:vartype private_link_resources: azure.mgmt.m365securityandcompliance.operations.PrivateLinkResourcesOperations
:ivar private_link_services_for_m365_compliance_center: PrivateLinkServicesForM365ComplianceCenter operations
:vartype private_link_services_for_m365_compliance_center: azure.mgmt.m365securityandcompliance.operations.PrivateLinkServicesForM365ComplianceCenterOperations
:ivar private_endpoint_connections_comp: PrivateEndpointConnectionsComp operations
:vartype private_endpoint_connections_comp: azure.mgmt.m365securityandcompliance.operations.PrivateEndpointConnectionsCompOperations
:ivar private_link_resources_comp: PrivateLinkResourcesComp operations
:vartype private_link_resources_comp: azure.mgmt.m365securityandcompliance.operations.PrivateLinkResourcesCompOperations
:ivar private_link_services_for_m365_security_center: PrivateLinkServicesForM365SecurityCenter operations
:vartype private_link_services_for_m365_security_center: azure.mgmt.m365securityandcompliance.operations.PrivateLinkServicesForM365SecurityCenterOperations
:ivar private_endpoint_connections_sec: PrivateEndpointConnectionsSec operations
:vartype private_endpoint_connections_sec: azure.mgmt.m365securityandcompliance.operations.PrivateEndpointConnectionsSecOperations
:ivar private_link_resources_sec: PrivateLinkResourcesSec operations
:vartype private_link_resources_sec: azure.mgmt.m365securityandcompliance.operations.PrivateLinkResourcesSecOperations
:ivar private_link_services_for_o365_management_activity_api: PrivateLinkServicesForO365ManagementActivityAPI operations
:vartype private_link_services_for_o365_management_activity_api: azure.mgmt.m365securityandcompliance.operations.PrivateLinkServicesForO365ManagementActivityAPIOperations
:ivar private_endpoint_connections_adt_api: PrivateEndpointConnectionsAdtAPI operations
:vartype private_endpoint_connections_adt_api: azure.mgmt.m365securityandcompliance.operations.PrivateEndpointConnectionsAdtAPIOperations
:ivar private_link_resources_adt_api: PrivateLinkResourcesAdtAPI operations
:vartype private_link_resources_adt_api: azure.mgmt.m365securityandcompliance.operations.PrivateLinkResourcesAdtAPIOperations
:ivar private_link_services_for_scc_powershell: PrivateLinkServicesForSCCPowershell operations
:vartype private_link_services_for_scc_powershell: azure.mgmt.m365securityandcompliance.operations.PrivateLinkServicesForSCCPowershellOperations
:ivar private_endpoint_connections_for_scc_powershell: PrivateEndpointConnectionsForSCCPowershell operations
:vartype private_endpoint_connections_for_scc_powershell: azure.mgmt.m365securityandcompliance.operations.PrivateEndpointConnectionsForSCCPowershellOperations
:ivar private_link_resources_for_scc_powershell: PrivateLinkResourcesForSCCPowershell operations
:vartype private_link_resources_for_scc_powershell: azure.mgmt.m365securityandcompliance.operations.PrivateLinkResourcesForSCCPowershellOperations
:ivar private_link_services_for_mip_policy_sync: PrivateLinkServicesForMIPPolicySync operations
:vartype private_link_services_for_mip_policy_sync: azure.mgmt.m365securityandcompliance.operations.PrivateLinkServicesForMIPPolicySyncOperations
:ivar private_endpoint_connections_for_mip_policy_sync: PrivateEndpointConnectionsForMIPPolicySync operations
:vartype private_endpoint_connections_for_mip_policy_sync: azure.mgmt.m365securityandcompliance.operations.PrivateEndpointConnectionsForMIPPolicySyncOperations
:ivar private_link_resources_for_mip_policy_sync: PrivateLinkResourcesForMIPPolicySync operations
:vartype private_link_resources_for_mip_policy_sync: azure.mgmt.m365securityandcompliance.operations.PrivateLinkResourcesForMIPPolicySyncOperations
: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 identifier.
:type subscription_id: str
:param str base_url: Service URL
"""

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

self.config = M365SecurityAndComplianceClientConfiguration(credentials, subscription_id, base_url)
super(M365SecurityAndComplianceClient, 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 = '2021-03-25-preview'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.operation_results = OperationResultsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_services_for_edm_upload = PrivateLinkServicesForEDMUploadOperations(
self._client, self.config, self._serialize, self._deserialize)
self.services = ServicesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connections_for_edm = PrivateEndpointConnectionsForEDMOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_services_for_m365_compliance_center = PrivateLinkServicesForM365ComplianceCenterOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connections_comp = PrivateEndpointConnectionsCompOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources_comp = PrivateLinkResourcesCompOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_services_for_m365_security_center = PrivateLinkServicesForM365SecurityCenterOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connections_sec = PrivateEndpointConnectionsSecOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources_sec = PrivateLinkResourcesSecOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_services_for_o365_management_activity_api = PrivateLinkServicesForO365ManagementActivityAPIOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connections_adt_api = PrivateEndpointConnectionsAdtAPIOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources_adt_api = PrivateLinkResourcesAdtAPIOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_services_for_scc_powershell = PrivateLinkServicesForSCCPowershellOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connections_for_scc_powershell = PrivateEndpointConnectionsForSCCPowershellOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources_for_scc_powershell = PrivateLinkResourcesForSCCPowershellOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_services_for_mip_policy_sync = PrivateLinkServicesForMIPPolicySyncOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connections_for_mip_policy_sync = PrivateEndpointConnectionsForMIPPolicySyncOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources_for_mip_policy_sync = PrivateLinkResourcesForMIPPolicySyncOperations(
self._client, self.config, self._serialize, self._deserialize)

0 comments on commit 19406c0

Please sign in to comment.