Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR] apimanagement/resource-manager #7206

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/apimanagement/azure-mgmt-apimanagement/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is the Microsoft Azure API Management Client Library.
Azure Resource Manager (ARM) is the next generation of management APIs that
replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.

For the older Azure Service Management (ASM) libraries, see
`azure-servicemanagement-legacy <https://pypi.python.org/pypi/azure-servicemanagement-legacy>`__ library.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,36 @@ class ApiManagementServiceBaseProperties(Model):
Management service.
:type additional_locations:
list[~azure.mgmt.apimanagement.models.AdditionalLocation]
:param custom_properties: Custom properties of the API Management service.
Setting
:param custom_properties: Custom properties of the API Management
service.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168`
will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1
and 1.2). Setting
and 1.2).</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11`
can be used to disable just TLS 1.1 and setting
can be used to disable just TLS 1.1.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10`
can be used to disable TLS 1.0 on an API Management service.
can be used to disable TLS 1.0 on an API Management service.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11`
can be used to disable just TLS 1.1 for communications with
backends.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10`
can be used to disable TLS 1.0 for communications with
backends.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can
be used to enable HTTP2 protocol on an API Management service.</br>Not
specifying any of these properties on PATCH operation will reset omitted
properties' values to their defaults. For all the settings except Http2
the default value is `True` if the service was created on or before April
1st 2018 and `False` otherwise. Http2 setting's default value is
`False`.</br></br>You can disable any of next ciphers by using settings
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`:
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example,
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`.
The default value is `true` for them.
:type custom_properties: dict[str, str]
:param certificates: List of Certificates that need to be installed in the
API Management service. Max supported certificates that can be installed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,36 @@ class ApiManagementServiceBaseProperties(Model):
Management service.
:type additional_locations:
list[~azure.mgmt.apimanagement.models.AdditionalLocation]
:param custom_properties: Custom properties of the API Management service.
Setting
:param custom_properties: Custom properties of the API Management
service.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168`
will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1
and 1.2). Setting
and 1.2).</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11`
can be used to disable just TLS 1.1 and setting
can be used to disable just TLS 1.1.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10`
can be used to disable TLS 1.0 on an API Management service.
can be used to disable TLS 1.0 on an API Management service.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11`
can be used to disable just TLS 1.1 for communications with
backends.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10`
can be used to disable TLS 1.0 for communications with
backends.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can
be used to enable HTTP2 protocol on an API Management service.</br>Not
specifying any of these properties on PATCH operation will reset omitted
properties' values to their defaults. For all the settings except Http2
the default value is `True` if the service was created on or before April
1st 2018 and `False` otherwise. Http2 setting's default value is
`False`.</br></br>You can disable any of next ciphers by using settings
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`:
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example,
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`.
The default value is `true` for them.
:type custom_properties: dict[str, str]
:param certificates: List of Certificates that need to be installed in the
API Management service. Max supported certificates that can be installed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,36 @@ class ApiManagementServiceResource(ApimResource):
Management service.
:type additional_locations:
list[~azure.mgmt.apimanagement.models.AdditionalLocation]
:param custom_properties: Custom properties of the API Management service.
Setting
:param custom_properties: Custom properties of the API Management
service.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168`
will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1
and 1.2). Setting
and 1.2).</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11`
can be used to disable just TLS 1.1 and setting
can be used to disable just TLS 1.1.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10`
can be used to disable TLS 1.0 on an API Management service.
can be used to disable TLS 1.0 on an API Management service.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11`
can be used to disable just TLS 1.1 for communications with
backends.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10`
can be used to disable TLS 1.0 for communications with
backends.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can
be used to enable HTTP2 protocol on an API Management service.</br>Not
specifying any of these properties on PATCH operation will reset omitted
properties' values to their defaults. For all the settings except Http2
the default value is `True` if the service was created on or before April
1st 2018 and `False` otherwise. Http2 setting's default value is
`False`.</br></br>You can disable any of next ciphers by using settings
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`:
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example,
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`.
The default value is `true` for them.
:type custom_properties: dict[str, str]
:param certificates: List of Certificates that need to be installed in the
API Management service. Max supported certificates that can be installed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,36 @@ class ApiManagementServiceResource(ApimResource):
Management service.
:type additional_locations:
list[~azure.mgmt.apimanagement.models.AdditionalLocation]
:param custom_properties: Custom properties of the API Management service.
Setting
:param custom_properties: Custom properties of the API Management
service.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168`
will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1
and 1.2). Setting
and 1.2).</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11`
can be used to disable just TLS 1.1 and setting
can be used to disable just TLS 1.1.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10`
can be used to disable TLS 1.0 on an API Management service.
can be used to disable TLS 1.0 on an API Management service.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11`
can be used to disable just TLS 1.1 for communications with
backends.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10`
can be used to disable TLS 1.0 for communications with
backends.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can
be used to enable HTTP2 protocol on an API Management service.</br>Not
specifying any of these properties on PATCH operation will reset omitted
properties' values to their defaults. For all the settings except Http2
the default value is `True` if the service was created on or before April
1st 2018 and `False` otherwise. Http2 setting's default value is
`False`.</br></br>You can disable any of next ciphers by using settings
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`:
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example,
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`.
The default value is `true` for them.
:type custom_properties: dict[str, str]
:param certificates: List of Certificates that need to be installed in the
API Management service. Max supported certificates that can be installed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,36 @@ class ApiManagementServiceUpdateParameters(ApimResource):
Management service.
:type additional_locations:
list[~azure.mgmt.apimanagement.models.AdditionalLocation]
:param custom_properties: Custom properties of the API Management service.
Setting
:param custom_properties: Custom properties of the API Management
service.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168`
will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1
and 1.2). Setting
and 1.2).</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11`
can be used to disable just TLS 1.1 and setting
can be used to disable just TLS 1.1.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10`
can be used to disable TLS 1.0 on an API Management service.
can be used to disable TLS 1.0 on an API Management service.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11`
can be used to disable just TLS 1.1 for communications with
backends.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10`
can be used to disable TLS 1.0 for communications with
backends.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can
be used to enable HTTP2 protocol on an API Management service.</br>Not
specifying any of these properties on PATCH operation will reset omitted
properties' values to their defaults. For all the settings except Http2
the default value is `True` if the service was created on or before April
1st 2018 and `False` otherwise. Http2 setting's default value is
`False`.</br></br>You can disable any of next ciphers by using settings
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`:
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example,
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`.
The default value is `true` for them.
:type custom_properties: dict[str, str]
:param certificates: List of Certificates that need to be installed in the
API Management service. Max supported certificates that can be installed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,36 @@ class ApiManagementServiceUpdateParameters(ApimResource):
Management service.
:type additional_locations:
list[~azure.mgmt.apimanagement.models.AdditionalLocation]
:param custom_properties: Custom properties of the API Management service.
Setting
:param custom_properties: Custom properties of the API Management
service.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168`
will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1
and 1.2). Setting
and 1.2).</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11`
can be used to disable just TLS 1.1 and setting
can be used to disable just TLS 1.1.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10`
can be used to disable TLS 1.0 on an API Management service.
can be used to disable TLS 1.0 on an API Management service.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11`
can be used to disable just TLS 1.1 for communications with
backends.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10`
can be used to disable TLS 1.0 for communications with
backends.</br>Setting
`Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can
be used to enable HTTP2 protocol on an API Management service.</br>Not
specifying any of these properties on PATCH operation will reset omitted
properties' values to their defaults. For all the settings except Http2
the default value is `True` if the service was created on or before April
1st 2018 and `False` otherwise. Http2 setting's default value is
`False`.</br></br>You can disable any of next ciphers by using settings
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`:
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example,
`Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`.
The default value is `true` for them.
:type custom_properties: dict[str, str]
:param certificates: List of Certificates that need to be installed in the
API Management service. Max supported certificates that can be installed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,14 @@ class AuthenticationSettingsContract(Model):
:param openid: OpenID Connect Authentication Settings
:type openid:
~azure.mgmt.apimanagement.models.OpenIdAuthenticationSettingsContract
:param subscription_key_required: Specifies whether subscription key is
required during call to this API, true - API is included into closed
products only, false - API is included into open products alone, null -
there is a mix of products.
:type subscription_key_required: bool
"""

_attribute_map = {
'o_auth2': {'key': 'oAuth2', 'type': 'OAuth2AuthenticationSettingsContract'},
'openid': {'key': 'openid', 'type': 'OpenIdAuthenticationSettingsContract'},
'subscription_key_required': {'key': 'subscriptionKeyRequired', 'type': 'bool'},
}

def __init__(self, **kwargs):
super(AuthenticationSettingsContract, self).__init__(**kwargs)
self.o_auth2 = kwargs.get('o_auth2', None)
self.openid = kwargs.get('openid', None)
self.subscription_key_required = kwargs.get('subscription_key_required', None)
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,14 @@ class AuthenticationSettingsContract(Model):
:param openid: OpenID Connect Authentication Settings
:type openid:
~azure.mgmt.apimanagement.models.OpenIdAuthenticationSettingsContract
:param subscription_key_required: Specifies whether subscription key is
required during call to this API, true - API is included into closed
products only, false - API is included into open products alone, null -
there is a mix of products.
:type subscription_key_required: bool
"""

_attribute_map = {
'o_auth2': {'key': 'oAuth2', 'type': 'OAuth2AuthenticationSettingsContract'},
'openid': {'key': 'openid', 'type': 'OpenIdAuthenticationSettingsContract'},
'subscription_key_required': {'key': 'subscriptionKeyRequired', 'type': 'bool'},
}

def __init__(self, *, o_auth2=None, openid=None, subscription_key_required: bool=None, **kwargs) -> None:
def __init__(self, *, o_auth2=None, openid=None, **kwargs) -> None:
super(AuthenticationSettingsContract, self).__init__(**kwargs)
self.o_auth2 = o_auth2
self.openid = openid
self.subscription_key_required = subscription_key_required
Loading