Skip to content

Commit

Permalink
make client
Browse files Browse the repository at this point in the history
  • Loading branch information
cadenmarchese committed Jul 29, 2024
1 parent 36d7ee6 commit 83f43ef
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .sha256sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ b1f1de0fe40d05de90742b17928968923b936adc294000f58974f50a297581dd swagger/redhat
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
74a46fdde6ceb0121fe1515c7e11e902dd921b54cffe693307fb02b3dc88f26e swagger/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/stable/2023-11-22/redhatopenshift.json
7eca34ebaf0422d0ef5dbb90640cf7b1b24cdd10e16d63f71ef69f7fa460a806 swagger/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2024-08-12-preview/redhatopenshift.json
018f1a62138bcbfddd626a0cd7f98606e7891510ac426f0cc5f98f3744175930 swagger/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2024-08-12-preview/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 @@ -284,8 +284,9 @@ class Identity(msrest.serialization.Model):
Variables are only populated by the server, and will be ignored when sending a request.
:ivar type: The identity type. Possible values include: "SystemAssigned", "UserAssigned".
:vartype type: str or
:ivar resource_identity_type: The identity type. Possible values include: "SystemAssigned",
"UserAssigned".
:vartype resource_identity_type: str or
~azure.mgmt.redhatopenshift.v2024_08_12_preview.models.ResourceIdentityType
:ivar principal_id:
:vartype principal_id: str
Expand All @@ -302,7 +303,7 @@ class Identity(msrest.serialization.Model):
}

_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'resource_identity_type': {'key': 'resourceIdentityType', 'type': 'str'},
'principal_id': {'key': 'principalId', 'type': 'str'},
'tenant_id': {'key': 'tenantId', 'type': 'str'},
'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{ClusterUserAssignedIdentity}'},
Expand All @@ -313,15 +314,16 @@ def __init__(
**kwargs
):
"""
:keyword type: The identity type. Possible values include: "SystemAssigned", "UserAssigned".
:paramtype type: str or
:keyword resource_identity_type: The identity type. Possible values include: "SystemAssigned",
"UserAssigned".
:paramtype resource_identity_type: str or
~azure.mgmt.redhatopenshift.v2024_08_12_preview.models.ResourceIdentityType
:keyword user_assigned_identities: Dictionary of :code:`<ClusterUserAssignedIdentity>`.
:paramtype user_assigned_identities: dict[str,
~azure.mgmt.redhatopenshift.v2024_08_12_preview.models.ClusterUserAssignedIdentity]
"""
super(Identity, self).__init__(**kwargs)
self.type = kwargs.get('type', None)
self.resource_identity_type = kwargs.get('resource_identity_type', None)
self.principal_id = None
self.tenant_id = None
self.user_assigned_identities = kwargs.get('user_assigned_identities', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,9 @@ class Identity(msrest.serialization.Model):
Variables are only populated by the server, and will be ignored when sending a request.
:ivar type: The identity type. Possible values include: "SystemAssigned", "UserAssigned".
:vartype type: str or
:ivar resource_identity_type: The identity type. Possible values include: "SystemAssigned",
"UserAssigned".
:vartype resource_identity_type: str or
~azure.mgmt.redhatopenshift.v2024_08_12_preview.models.ResourceIdentityType
:ivar principal_id:
:vartype principal_id: str
Expand All @@ -331,7 +332,7 @@ class Identity(msrest.serialization.Model):
}

_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'resource_identity_type': {'key': 'resourceIdentityType', 'type': 'str'},
'principal_id': {'key': 'principalId', 'type': 'str'},
'tenant_id': {'key': 'tenantId', 'type': 'str'},
'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{ClusterUserAssignedIdentity}'},
Expand All @@ -340,20 +341,21 @@ class Identity(msrest.serialization.Model):
def __init__(
self,
*,
type: Optional[Union[str, "ResourceIdentityType"]] = None,
resource_identity_type: Optional[Union[str, "ResourceIdentityType"]] = None,
user_assigned_identities: Optional[Dict[str, "ClusterUserAssignedIdentity"]] = None,
**kwargs
):
"""
:keyword type: The identity type. Possible values include: "SystemAssigned", "UserAssigned".
:paramtype type: str or
:keyword resource_identity_type: The identity type. Possible values include: "SystemAssigned",
"UserAssigned".
:paramtype resource_identity_type: str or
~azure.mgmt.redhatopenshift.v2024_08_12_preview.models.ResourceIdentityType
:keyword user_assigned_identities: Dictionary of :code:`<ClusterUserAssignedIdentity>`.
:paramtype user_assigned_identities: dict[str,
~azure.mgmt.redhatopenshift.v2024_08_12_preview.models.ClusterUserAssignedIdentity]
"""
super(Identity, self).__init__(**kwargs)
self.type = type
self.resource_identity_type = resource_identity_type
self.principal_id = None
self.tenant_id = None
self.user_assigned_identities = user_assigned_identities
Expand Down

0 comments on commit 83f43ef

Please sign in to comment.