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 azure-mgmt-appplatform] [Hub Generated] Review request for Microsoft.AppPlatform to add version preview/2019-05-01-preview #1687

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
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,11 @@ class BindingResourceProperties(Model):
Variables are only populated by the server, and will be ignored when
sending a request.

:param resource_name: The name of the bound resource
:type resource_name: str
:param resource_type: The standard Azure resource type of the bound
:ivar resource_name: The name of the bound resource
:vartype resource_name: str
:ivar resource_type: The standard Azure resource type of the bound
resource
:type resource_type: str
:vartype resource_type: str
:param resource_id: The Azure resource id of the bound resource
:type resource_id: str
:param key: The key of the bound resource
Expand All @@ -240,6 +240,8 @@ class BindingResourceProperties(Model):
"""

_validation = {
'resource_name': {'readonly': True},
'resource_type': {'readonly': True},
'generated_properties': {'readonly': True},
'created_at': {'readonly': True},
'updated_at': {'readonly': True},
Expand All @@ -258,8 +260,8 @@ class BindingResourceProperties(Model):

def __init__(self, **kwargs):
super(BindingResourceProperties, self).__init__(**kwargs)
self.resource_name = kwargs.get('resource_name', None)
self.resource_type = kwargs.get('resource_type', None)
self.resource_name = None
self.resource_type = None
self.resource_id = kwargs.get('resource_id', None)
self.key = kwargs.get('key', None)
self.binding_parameters = kwargs.get('binding_parameters', None)
Expand Down Expand Up @@ -587,14 +589,21 @@ def __init__(self, **kwargs):
class CustomDomainProperties(Model):
"""Custom domain of app resource payload.

Variables are only populated by the server, and will be ignored when
sending a request.

:param thumbprint: The thumbprint of bound certificate.
:type thumbprint: str
:param app_name: The app name of domain.
:type app_name: str
:ivar app_name: The app name of domain.
:vartype app_name: str
:param cert_name: The bound certificate name of domain.
:type cert_name: str
"""

_validation = {
'app_name': {'readonly': True},
}

_attribute_map = {
'thumbprint': {'key': 'thumbprint', 'type': 'str'},
'app_name': {'key': 'appName', 'type': 'str'},
Expand All @@ -604,7 +613,7 @@ class CustomDomainProperties(Model):
def __init__(self, **kwargs):
super(CustomDomainProperties, self).__init__(**kwargs)
self.thumbprint = kwargs.get('thumbprint', None)
self.app_name = kwargs.get('app_name', None)
self.app_name = None
self.cert_name = kwargs.get('cert_name', None)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,11 @@ class BindingResourceProperties(Model):
Variables are only populated by the server, and will be ignored when
sending a request.

:param resource_name: The name of the bound resource
:type resource_name: str
:param resource_type: The standard Azure resource type of the bound
:ivar resource_name: The name of the bound resource
:vartype resource_name: str
:ivar resource_type: The standard Azure resource type of the bound
resource
:type resource_type: str
:vartype resource_type: str
:param resource_id: The Azure resource id of the bound resource
:type resource_id: str
:param key: The key of the bound resource
Expand All @@ -240,6 +240,8 @@ class BindingResourceProperties(Model):
"""

_validation = {
'resource_name': {'readonly': True},
'resource_type': {'readonly': True},
'generated_properties': {'readonly': True},
'created_at': {'readonly': True},
'updated_at': {'readonly': True},
Expand All @@ -256,10 +258,10 @@ class BindingResourceProperties(Model):
'updated_at': {'key': 'updatedAt', 'type': 'str'},
}

def __init__(self, *, resource_name: str=None, resource_type: str=None, resource_id: str=None, key: str=None, binding_parameters=None, **kwargs) -> None:
def __init__(self, *, resource_id: str=None, key: str=None, binding_parameters=None, **kwargs) -> None:
super(BindingResourceProperties, self).__init__(**kwargs)
self.resource_name = resource_name
self.resource_type = resource_type
self.resource_name = None
self.resource_type = None
self.resource_id = resource_id
self.key = key
self.binding_parameters = binding_parameters
Expand Down Expand Up @@ -587,24 +589,31 @@ def __init__(self, *, git_property=None, **kwargs) -> None:
class CustomDomainProperties(Model):
"""Custom domain of app resource payload.

Variables are only populated by the server, and will be ignored when
sending a request.

:param thumbprint: The thumbprint of bound certificate.
:type thumbprint: str
:param app_name: The app name of domain.
:type app_name: str
:ivar app_name: The app name of domain.
:vartype app_name: str
:param cert_name: The bound certificate name of domain.
:type cert_name: str
"""

_validation = {
'app_name': {'readonly': True},
}

_attribute_map = {
'thumbprint': {'key': 'thumbprint', 'type': 'str'},
'app_name': {'key': 'appName', 'type': 'str'},
'cert_name': {'key': 'certName', 'type': 'str'},
}

def __init__(self, *, thumbprint: str=None, app_name: str=None, cert_name: str=None, **kwargs) -> None:
def __init__(self, *, thumbprint: str=None, cert_name: str=None, **kwargs) -> None:
super(CustomDomainProperties, self).__init__(**kwargs)
self.thumbprint = thumbprint
self.app_name = app_name
self.app_name = None
self.cert_name = cert_name


Expand Down