Skip to content

Commit

Permalink
CodeGen from PR 13621 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 80667e235ff991ad92622afd613686f38bbfb84b into a767017
  • Loading branch information
SDKAuto committed Mar 26, 2021
1 parent dd814b1 commit d108010
Show file tree
Hide file tree
Showing 16 changed files with 50 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
# --------------------------------------------------------------------------

from ._cpim_configuration_client import CPIMConfigurationClient
from ._version import VERSION

__version__ = VERSION
__all__ = ['CPIMConfigurationClient']

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy

from ._version import VERSION

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from typing import Any

from azure.core.credentials import TokenCredential

VERSION = "unknown"

class CPIMConfigurationClientConfiguration(Configuration):
"""Configuration for CPIMConfigurationClient.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.b2_ctenants = B2CTenantsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
"client_side_validation": true
"client_side_validation": false
},
"global_parameters": {
"sync": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 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.
# --------------------------------------------------------------------------

VERSION = "1.0.0b2"
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy

from .._version import VERSION

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials_async import AsyncTokenCredential

VERSION = "unknown"

class CPIMConfigurationClientConfiguration(Configuration):
"""Configuration for CPIMConfigurationClient.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.b2_ctenants = B2CTenantsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ class B2CTenantResource(msrest.serialization.Model):
:vartype id: str
:ivar name: The name of the B2C tenant resource.
:vartype name: str
:param location: Required. The location in which the resource is hosted and data resides. Refer
to `this documentation <https://aka.ms/B2CDataResidency>`_ to see valid data residency
locations. Please choose one of 'United States', 'Europe', and 'Asia Pacific'.
:param location: Required. The location in which the resource is hosted and data resides. Can
be one of 'United States', 'Europe', 'Asia Pacific', or 'Australia' (preview). Refer to `this
documentation <https://aka.ms/B2CDataResidency>`_ for more information.
:type location: str
:param tags: A set of tags. Resource Tags.
:type tags: dict[str, str]
Expand Down Expand Up @@ -309,9 +309,9 @@ class CreateTenantRequestBody(msrest.serialization.Model):
All required parameters must be populated in order to send to Azure.
:param location: Required. The location in which the resource is hosted and data resides. Refer
to `this documentation <https://aka.ms/B2CDataResidency>`_ to see valid data residency
locations. Please choose one of 'United States', 'Europe', and 'Asia Pacific'.
:param location: Required. The location in which the resource is hosted and data resides. Can
be one of 'United States', 'Europe', 'Asia Pacific', or 'Australia' (preview). Refer to `this
documentation <https://aka.ms/B2CDataResidency>`_ for more information.
:type location: str
:param properties: Required.
:type properties: ~$(python-base-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ class B2CTenantResource(msrest.serialization.Model):
:vartype id: str
:ivar name: The name of the B2C tenant resource.
:vartype name: str
:param location: Required. The location in which the resource is hosted and data resides. Refer
to `this documentation <https://aka.ms/B2CDataResidency>`_ to see valid data residency
locations. Please choose one of 'United States', 'Europe', and 'Asia Pacific'.
:param location: Required. The location in which the resource is hosted and data resides. Can
be one of 'United States', 'Europe', 'Asia Pacific', or 'Australia' (preview). Refer to `this
documentation <https://aka.ms/B2CDataResidency>`_ for more information.
:type location: str
:param tags: A set of tags. Resource Tags.
:type tags: dict[str, str]
Expand Down Expand Up @@ -344,9 +344,9 @@ class CreateTenantRequestBody(msrest.serialization.Model):
All required parameters must be populated in order to send to Azure.
:param location: Required. The location in which the resource is hosted and data resides. Refer
to `this documentation <https://aka.ms/B2CDataResidency>`_ to see valid data residency
locations. Please choose one of 'United States', 'Europe', and 'Asia Pacific'.
:param location: Required. The location in which the resource is hosted and data resides. Can
be one of 'United States', 'Europe', 'Asia Pacific', or 'Australia' (preview). Refer to `this
documentation <https://aka.ms/B2CDataResidency>`_ for more information.
:type location: str
:param properties: Required.
:type properties: ~$(python-base-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
# --------------------------------------------------------------------------

from ._cpim_configuration_client import CPIMConfigurationClient
from ._version import VERSION

__version__ = VERSION
__all__ = ['CPIMConfigurationClient']

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy

from ._version import VERSION

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from typing import Any

from azure.core.credentials import TokenCredential

VERSION = "unknown"

class CPIMConfigurationClientConfiguration(Configuration):
"""Configuration for CPIMConfigurationClient.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.operations = Operations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": false,
"client_side_validation": true
"client_side_validation": false
},
"global_parameters": {
"sync": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 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.
# --------------------------------------------------------------------------

VERSION = "1.0.0b2"
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy

from .._version import VERSION

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials_async import AsyncTokenCredential

VERSION = "unknown"

class CPIMConfigurationClientConfiguration(Configuration):
"""Configuration for CPIMConfigurationClient.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.operations = Operations(
Expand Down

0 comments on commit d108010

Please sign in to comment.