Skip to content
Merged
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 @@ -135,6 +135,7 @@
WebhookAction,
TokenCertificateName,
TokenPasswordName,
TokenStatus,
Status,
)

Expand Down Expand Up @@ -211,5 +212,6 @@
'WebhookAction',
'TokenCertificateName',
'TokenPasswordName',
'TokenStatus',
'Status',
]
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ class TokenPasswordName(str, Enum):
password2 = "password2"


class TokenStatus(str, Enum):

enabled = "enabled"
disabled = "disabled"


class Status(str, Enum):

enabled = "enabled"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ class Token(ProxyResource):
:param status: The status of the token example enabled or disabled.
Possible values include: 'enabled', 'disabled'
:type status: str or
~azure.mgmt.containerregistry.v2019_05_01_preview.models.Status
~azure.mgmt.containerregistry.v2019_05_01_preview.models.TokenStatus
"""

_validation = {
Expand Down Expand Up @@ -1463,7 +1463,7 @@ class TokenPassword(Model):
Variables are only populated by the server, and will be ignored when
sending a request.

:param creation_time: The password created datetime of the password.
:param creation_time: The creation datetime of the password.
:type creation_time: datetime
:param expiry: The expiry datetime of the password.
:type expiry: datetime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ class Token(ProxyResource):
:param status: The status of the token example enabled or disabled.
Possible values include: 'enabled', 'disabled'
:type status: str or
~azure.mgmt.containerregistry.v2019_05_01_preview.models.Status
~azure.mgmt.containerregistry.v2019_05_01_preview.models.TokenStatus
"""

_validation = {
Expand Down Expand Up @@ -1463,7 +1463,7 @@ class TokenPassword(Model):
Variables are only populated by the server, and will be ignored when
sending a request.

:param creation_time: The password created datetime of the password.
:param creation_time: The creation datetime of the password.
:type creation_time: datetime
:param expiry: The expiry datetime of the password.
:type expiry: datetime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
SecretObjectType,
TokenCertificateName,
TokenPasswordName,
TokenStatus,
Status,
)

Expand Down Expand Up @@ -397,5 +398,6 @@
'SecretObjectType',
'TokenCertificateName',
'TokenPasswordName',
'TokenStatus',
'Status',
]
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,12 @@ class TokenPasswordName(str, Enum):
password2 = "password2"


class TokenStatus(str, Enum):

enabled = "enabled"
disabled = "disabled"


class Status(str, Enum):

enabled = "enabled"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3407,7 +3407,7 @@ class Token(ProxyResource):
:param status: The status of the token example enabled or disabled.
Possible values include: 'enabled', 'disabled'
:type status: str or
~azure.mgmt.containerregistry.v2019_06_01_preview.models.Status
~azure.mgmt.containerregistry.v2019_06_01_preview.models.TokenStatus
"""

_validation = {
Expand Down Expand Up @@ -3500,7 +3500,7 @@ class TokenPassword(Model):
Variables are only populated by the server, and will be ignored when
sending a request.

:param creation_time: The password created datetime of the password.
:param creation_time: The creation datetime of the password.
:type creation_time: datetime
:param expiry: The expiry datetime of the password.
:type expiry: datetime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3407,7 +3407,7 @@ class Token(ProxyResource):
:param status: The status of the token example enabled or disabled.
Possible values include: 'enabled', 'disabled'
:type status: str or
~azure.mgmt.containerregistry.v2019_06_01_preview.models.Status
~azure.mgmt.containerregistry.v2019_06_01_preview.models.TokenStatus
"""

_validation = {
Expand Down Expand Up @@ -3500,7 +3500,7 @@ class TokenPassword(Model):
Variables are only populated by the server, and will be ignored when
sending a request.

:param creation_time: The password created datetime of the password.
:param creation_time: The creation datetime of the password.
:type creation_time: datetime
:param expiry: The expiry datetime of the password.
:type expiry: datetime
Expand Down