src/tools/azure-cli-extension/cleanroom/azext_cleanroom/vendored_sdks/keyvault/models/_models.py [637:751]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
class Resource(msrest.serialization.Model):
    """Key Vault resource.

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

    :ivar id: Fully qualified identifier of the key vault resource.
    :vartype id: str
    :ivar name: Name of the key vault resource.
    :vartype name: str
    :ivar type: Resource type of the key vault resource.
    :vartype type: str
    :ivar location: Azure location of the key vault resource.
    :vartype location: str
    :ivar tags: A set of tags. Tags assigned to the key vault resource.
    :vartype tags: dict[str, str]
    """

    _validation = {
        'id': {'readonly': True},
        'name': {'readonly': True},
        'type': {'readonly': True},
        'location': {'readonly': True},
        'tags': {'readonly': True},
    }

    _attribute_map = {
        'id': {'key': 'id', 'type': 'str'},
        'name': {'key': 'name', 'type': 'str'},
        'type': {'key': 'type', 'type': 'str'},
        'location': {'key': 'location', 'type': 'str'},
        'tags': {'key': 'tags', 'type': '{str}'},
    }

    def __init__(
        self,
        **kwargs
    ):
        """
        """
        super(Resource, self).__init__(**kwargs)
        self.id = None
        self.name = None
        self.type = None
        self.location = None
        self.tags = None


class Key(Resource):
    """The key resource.

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

    :ivar id: Fully qualified identifier of the key vault resource.
    :vartype id: str
    :ivar name: Name of the key vault resource.
    :vartype name: str
    :ivar type: Resource type of the key vault resource.
    :vartype type: str
    :ivar location: Azure location of the key vault resource.
    :vartype location: str
    :ivar tags: A set of tags. Tags assigned to the key vault resource.
    :vartype tags: dict[str, str]
    :ivar attributes: The attributes of the key.
    :vartype attributes: ~azure.mgmt.keyvault.v2023_07_01.models.KeyAttributes
    :ivar kty: The type of the key. For valid values, see JsonWebKeyType. Possible values include:
     "EC", "EC-HSM", "RSA", "RSA-HSM".
    :vartype kty: str or ~azure.mgmt.keyvault.v2023_07_01.models.JsonWebKeyType
    :ivar key_ops:
    :vartype key_ops: list[str or ~azure.mgmt.keyvault.v2023_07_01.models.JsonWebKeyOperation]
    :ivar key_size: The key size in bits. For example: 2048, 3072, or 4096 for RSA.
    :vartype key_size: int
    :ivar curve_name: The elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible
     values include: "P-256", "P-384", "P-521", "P-256K".
    :vartype curve_name: str or ~azure.mgmt.keyvault.v2023_07_01.models.JsonWebKeyCurveName
    :ivar key_uri: The URI to retrieve the current version of the key.
    :vartype key_uri: str
    :ivar key_uri_with_version: The URI to retrieve the specific version of the key.
    :vartype key_uri_with_version: str
    :ivar rotation_policy: Key rotation policy in response. It will be used for both output and
     input. Omitted if empty.
    :vartype rotation_policy: ~azure.mgmt.keyvault.v2023_07_01.models.RotationPolicy
    :ivar release_policy: Key release policy in response. It will be used for both output and
     input. Omitted if empty.
    :vartype release_policy: ~azure.mgmt.keyvault.v2023_07_01.models.KeyReleasePolicy
    """

    _validation = {
        'id': {'readonly': True},
        'name': {'readonly': True},
        'type': {'readonly': True},
        'location': {'readonly': True},
        'tags': {'readonly': True},
        'key_uri': {'readonly': True},
        'key_uri_with_version': {'readonly': True},
    }

    _attribute_map = {
        'id': {'key': 'id', 'type': 'str'},
        'name': {'key': 'name', 'type': 'str'},
        'type': {'key': 'type', 'type': 'str'},
        'location': {'key': 'location', 'type': 'str'},
        'tags': {'key': 'tags', 'type': '{str}'},
        'attributes': {'key': 'properties.attributes', 'type': 'KeyAttributes'},
        'kty': {'key': 'properties.kty', 'type': 'str'},
        'key_ops': {'key': 'properties.keyOps', 'type': '[str]'},
        'key_size': {'key': 'properties.keySize', 'type': 'int'},
        'curve_name': {'key': 'properties.curveName', 'type': 'str'},
        'key_uri': {'key': 'properties.keyUri', 'type': 'str'},
        'key_uri_with_version': {'key': 'properties.keyUriWithVersion', 'type': 'str'},
        'rotation_policy': {'key': 'properties.rotationPolicy', 'type': 'RotationPolicy'},
        'release_policy': {'key': 'properties.release_policy', 'type': 'KeyReleasePolicy'},
    }

    def __init__(
        self,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/tools/azure-cli-extension/cleanroom/azext_cleanroom/vendored_sdks/keyvault/models/_models_py3.py [674:788]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
class Resource(msrest.serialization.Model):
    """Key Vault resource.

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

    :ivar id: Fully qualified identifier of the key vault resource.
    :vartype id: str
    :ivar name: Name of the key vault resource.
    :vartype name: str
    :ivar type: Resource type of the key vault resource.
    :vartype type: str
    :ivar location: Azure location of the key vault resource.
    :vartype location: str
    :ivar tags: A set of tags. Tags assigned to the key vault resource.
    :vartype tags: dict[str, str]
    """

    _validation = {
        'id': {'readonly': True},
        'name': {'readonly': True},
        'type': {'readonly': True},
        'location': {'readonly': True},
        'tags': {'readonly': True},
    }

    _attribute_map = {
        'id': {'key': 'id', 'type': 'str'},
        'name': {'key': 'name', 'type': 'str'},
        'type': {'key': 'type', 'type': 'str'},
        'location': {'key': 'location', 'type': 'str'},
        'tags': {'key': 'tags', 'type': '{str}'},
    }

    def __init__(
        self,
        **kwargs
    ):
        """
        """
        super(Resource, self).__init__(**kwargs)
        self.id = None
        self.name = None
        self.type = None
        self.location = None
        self.tags = None


class Key(Resource):
    """The key resource.

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

    :ivar id: Fully qualified identifier of the key vault resource.
    :vartype id: str
    :ivar name: Name of the key vault resource.
    :vartype name: str
    :ivar type: Resource type of the key vault resource.
    :vartype type: str
    :ivar location: Azure location of the key vault resource.
    :vartype location: str
    :ivar tags: A set of tags. Tags assigned to the key vault resource.
    :vartype tags: dict[str, str]
    :ivar attributes: The attributes of the key.
    :vartype attributes: ~azure.mgmt.keyvault.v2023_07_01.models.KeyAttributes
    :ivar kty: The type of the key. For valid values, see JsonWebKeyType. Possible values include:
     "EC", "EC-HSM", "RSA", "RSA-HSM".
    :vartype kty: str or ~azure.mgmt.keyvault.v2023_07_01.models.JsonWebKeyType
    :ivar key_ops:
    :vartype key_ops: list[str or ~azure.mgmt.keyvault.v2023_07_01.models.JsonWebKeyOperation]
    :ivar key_size: The key size in bits. For example: 2048, 3072, or 4096 for RSA.
    :vartype key_size: int
    :ivar curve_name: The elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible
     values include: "P-256", "P-384", "P-521", "P-256K".
    :vartype curve_name: str or ~azure.mgmt.keyvault.v2023_07_01.models.JsonWebKeyCurveName
    :ivar key_uri: The URI to retrieve the current version of the key.
    :vartype key_uri: str
    :ivar key_uri_with_version: The URI to retrieve the specific version of the key.
    :vartype key_uri_with_version: str
    :ivar rotation_policy: Key rotation policy in response. It will be used for both output and
     input. Omitted if empty.
    :vartype rotation_policy: ~azure.mgmt.keyvault.v2023_07_01.models.RotationPolicy
    :ivar release_policy: Key release policy in response. It will be used for both output and
     input. Omitted if empty.
    :vartype release_policy: ~azure.mgmt.keyvault.v2023_07_01.models.KeyReleasePolicy
    """

    _validation = {
        'id': {'readonly': True},
        'name': {'readonly': True},
        'type': {'readonly': True},
        'location': {'readonly': True},
        'tags': {'readonly': True},
        'key_uri': {'readonly': True},
        'key_uri_with_version': {'readonly': True},
    }

    _attribute_map = {
        'id': {'key': 'id', 'type': 'str'},
        'name': {'key': 'name', 'type': 'str'},
        'type': {'key': 'type', 'type': 'str'},
        'location': {'key': 'location', 'type': 'str'},
        'tags': {'key': 'tags', 'type': '{str}'},
        'attributes': {'key': 'properties.attributes', 'type': 'KeyAttributes'},
        'kty': {'key': 'properties.kty', 'type': 'str'},
        'key_ops': {'key': 'properties.keyOps', 'type': '[str]'},
        'key_size': {'key': 'properties.keySize', 'type': 'int'},
        'curve_name': {'key': 'properties.curveName', 'type': 'str'},
        'key_uri': {'key': 'properties.keyUri', 'type': 'str'},
        'key_uri_with_version': {'key': 'properties.keyUriWithVersion', 'type': 'str'},
        'rotation_policy': {'key': 'properties.rotationPolicy', 'type': 'RotationPolicy'},
        'release_policy': {'key': 'properties.release_policy', 'type': 'KeyReleasePolicy'},
    }

    def __init__(
        self,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



