forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 16949 in Azure/azure-rest-api-specs
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
- Loading branch information
SDKAuto
committed
Jan 5, 2022
1 parent
3a14782
commit 59c73e8
Showing
41 changed files
with
10,089 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
sdk/m365securityandcompliance/azure-mgmt-m365securityandcompliance/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Release History | ||
|
||
## 0.1.0 (1970-01-01) | ||
|
||
* Initial Release |
6 changes: 6 additions & 0 deletions
6
sdk/m365securityandcompliance/azure-mgmt-m365securityandcompliance/MANIFEST.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
27 changes: 27 additions & 0 deletions
27
sdk/m365securityandcompliance/azure-mgmt-m365securityandcompliance/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# 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 | ||
|
||
|
||
To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) | ||
|
||
|
||
|
||
For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/) | ||
Code samples for this package can be found at [MyService Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com. | ||
Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) | ||
|
||
|
||
# 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) |
8 changes: 8 additions & 0 deletions
8
sdk/m365securityandcompliance/azure-mgmt-m365securityandcompliance/_meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "e8c6db17dc13a00155936dcaeacf4da0a1fabf77", | ||
"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" | ||
} |
1 change: 1 addition & 0 deletions
1
sdk/m365securityandcompliance/azure-mgmt-m365securityandcompliance/azure/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
1 change: 1 addition & 0 deletions
1
sdk/m365securityandcompliance/azure-mgmt-m365securityandcompliance/azure/mgmt/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
19 changes: 19 additions & 0 deletions
19
...nce/azure-mgmt-m365securityandcompliance/azure/mgmt/m365securityandcompliance/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
48 changes: 48 additions & 0 deletions
48
...ure-mgmt-m365securityandcompliance/azure/mgmt/m365securityandcompliance/_configuration.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
149 changes: 149 additions & 0 deletions
149
...ndcompliance/azure/mgmt/m365securityandcompliance/_m365_security_and_compliance_client.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Oops, something went wrong.