Skip to content

Commit

Permalink
Update generated client SDKs
Browse files Browse the repository at this point in the history
  • Loading branch information
tsatam committed Feb 7, 2024
1 parent d8ef9cc commit 728e9fa
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .sha256sum
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ b1f1de0fe40d05de90742b17928968923b936adc294000f58974f50a297581dd swagger/redhat
01ba9562a8dac2824998ff0ad0d2465f79e6a66597bdb321e9409b9f2d12d222 swagger/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/stable/2023-04-01/redhatopenshift.json
c023515341196746454c0ae7af077d40d3ec13f6b88b33cb558f0a7ab17a5a24 swagger/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2023-07-01-preview/redhatopenshift.json
440748951dd1c3b34b5ccbdcb7cd966e3b89490887a1f1d64429561fad789515 swagger/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/stable/2023-09-04/redhatopenshift.json
98b241e3225ff4bbe96f4046aea98dae06c2bac2cc0e25ab8d85583bfc7f1861 swagger/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/stable/2023-11-22/redhatopenshift.json
a1052ac8642527343815b212823c7c22f1edf9690b1004041b9ef6bab5b10393 swagger/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/stable/2023-11-22/redhatopenshift.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
class APIServerProfile(msrest.serialization.Model):
"""APIServerProfile represents an API server profile.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar visibility: API server visibility. Possible values include: "Private", "Public".
:vartype visibility: str or ~azure.mgmt.redhatopenshift.v2023_11_22.models.Visibility
:ivar url: The URL to access the cluster API server.
Expand All @@ -28,6 +30,11 @@ class APIServerProfile(msrest.serialization.Model):
:vartype ip: str
"""

_validation = {
'url': {'readonly': True},
'ip': {'readonly': True},
}

_attribute_map = {
'visibility': {'key': 'visibility', 'type': 'str'},
'url': {'key': 'url', 'type': 'str'},
Expand All @@ -41,15 +48,11 @@ def __init__(
"""
:keyword visibility: API server visibility. Possible values include: "Private", "Public".
:paramtype visibility: str or ~azure.mgmt.redhatopenshift.v2023_11_22.models.Visibility
:keyword url: The URL to access the cluster API server.
:paramtype url: str
:keyword ip: The IP of the cluster API server.
:paramtype ip: str
"""
super(APIServerProfile, self).__init__(**kwargs)
self.visibility = kwargs.get('visibility', None)
self.url = kwargs.get('url', None)
self.ip = kwargs.get('ip', None)
self.url = None
self.ip = None


class CloudErrorBody(msrest.serialization.Model):
Expand Down Expand Up @@ -153,10 +156,16 @@ def __init__(
class ConsoleProfile(msrest.serialization.Model):
"""ConsoleProfile represents a console profile.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar url: The URL to access the cluster console.
:vartype url: str
"""

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

_attribute_map = {
'url': {'key': 'url', 'type': 'str'},
}
Expand All @@ -166,11 +175,9 @@ def __init__(
**kwargs
):
"""
:keyword url: The URL to access the cluster console.
:paramtype url: str
"""
super(ConsoleProfile, self).__init__(**kwargs)
self.url = kwargs.get('url', None)
self.url = None


class Display(msrest.serialization.Model):
Expand Down Expand Up @@ -240,6 +247,8 @@ def __init__(
class IngressProfile(msrest.serialization.Model):
"""IngressProfile represents an ingress profile.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar name: The ingress profile name.
:vartype name: str
:ivar visibility: Ingress visibility. Possible values include: "Private", "Public".
Expand All @@ -248,6 +257,10 @@ class IngressProfile(msrest.serialization.Model):
:vartype ip: str
"""

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

_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'visibility': {'key': 'visibility', 'type': 'str'},
Expand All @@ -263,13 +276,11 @@ def __init__(
:paramtype name: str
:keyword visibility: Ingress visibility. Possible values include: "Private", "Public".
:paramtype visibility: str or ~azure.mgmt.redhatopenshift.v2023_11_22.models.Visibility
:keyword ip: The IP of the ingress.
:paramtype ip: str
"""
super(IngressProfile, self).__init__(**kwargs)
self.name = kwargs.get('name', None)
self.visibility = kwargs.get('visibility', None)
self.ip = kwargs.get('ip', None)
self.ip = None


class LoadBalancerProfile(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
class APIServerProfile(msrest.serialization.Model):
"""APIServerProfile represents an API server profile.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar visibility: API server visibility. Possible values include: "Private", "Public".
:vartype visibility: str or ~azure.mgmt.redhatopenshift.v2023_11_22.models.Visibility
:ivar url: The URL to access the cluster API server.
Expand All @@ -33,6 +35,11 @@ class APIServerProfile(msrest.serialization.Model):
:vartype ip: str
"""

_validation = {
'url': {'readonly': True},
'ip': {'readonly': True},
}

_attribute_map = {
'visibility': {'key': 'visibility', 'type': 'str'},
'url': {'key': 'url', 'type': 'str'},
Expand All @@ -43,22 +50,16 @@ def __init__(
self,
*,
visibility: Optional[Union[str, "Visibility"]] = None,
url: Optional[str] = None,
ip: Optional[str] = None,
**kwargs
):
"""
:keyword visibility: API server visibility. Possible values include: "Private", "Public".
:paramtype visibility: str or ~azure.mgmt.redhatopenshift.v2023_11_22.models.Visibility
:keyword url: The URL to access the cluster API server.
:paramtype url: str
:keyword ip: The IP of the cluster API server.
:paramtype ip: str
"""
super(APIServerProfile, self).__init__(**kwargs)
self.visibility = visibility
self.url = url
self.ip = ip
self.url = None
self.ip = None


class CloudErrorBody(msrest.serialization.Model):
Expand Down Expand Up @@ -173,26 +174,28 @@ def __init__(
class ConsoleProfile(msrest.serialization.Model):
"""ConsoleProfile represents a console profile.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar url: The URL to access the cluster console.
:vartype url: str
"""

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

_attribute_map = {
'url': {'key': 'url', 'type': 'str'},
}

def __init__(
self,
*,
url: Optional[str] = None,
**kwargs
):
"""
:keyword url: The URL to access the cluster console.
:paramtype url: str
"""
super(ConsoleProfile, self).__init__(**kwargs)
self.url = url
self.url = None


class Display(msrest.serialization.Model):
Expand Down Expand Up @@ -269,6 +272,8 @@ def __init__(
class IngressProfile(msrest.serialization.Model):
"""IngressProfile represents an ingress profile.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar name: The ingress profile name.
:vartype name: str
:ivar visibility: Ingress visibility. Possible values include: "Private", "Public".
Expand All @@ -277,6 +282,10 @@ class IngressProfile(msrest.serialization.Model):
:vartype ip: str
"""

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

_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'visibility': {'key': 'visibility', 'type': 'str'},
Expand All @@ -288,21 +297,18 @@ def __init__(
*,
name: Optional[str] = None,
visibility: Optional[Union[str, "Visibility"]] = None,
ip: Optional[str] = None,
**kwargs
):
"""
:keyword name: The ingress profile name.
:paramtype name: str
:keyword visibility: Ingress visibility. Possible values include: "Private", "Public".
:paramtype visibility: str or ~azure.mgmt.redhatopenshift.v2023_11_22.models.Visibility
:keyword ip: The IP of the ingress.
:paramtype ip: str
"""
super(IngressProfile, self).__init__(**kwargs)
self.name = name
self.visibility = visibility
self.ip = ip
self.ip = None


class LoadBalancerProfile(msrest.serialization.Model):
Expand Down

0 comments on commit 728e9fa

Please sign in to comment.