Skip to content

Resource

Source code in docs_src/capo_marketplace_agreement/types/resource.py
class Resource(TypedDict, closed=True):
    id: NotRequired["capo_marketplace_agreement.types.resource_id.ResourceId"]
    """<p>The unique identifier of the resource.</p> <note> <p>We mention the term resource, which is most commonly a product, so a <code>resourceId</code> is also a <code>productId</code>.</p> </note>"""
    type: NotRequired[
        "capo_marketplace_agreement.types.agreement_resource_type.AgreementResourceType"
    ]
    """<p>Type of the resource, which is the product (for example, <code>SaaSProduct</code>, <code>AmiProduct</code>, <code>ContainerProduct</code>).</p>"""

id instance-attribute

id: NotRequired[ResourceId]

The unique identifier of the resource.

We mention the term resource, which is most commonly a product, so a resourceId is also a productId.

type instance-attribute

type: NotRequired[AgreementResourceType]

Type of the resource, which is the product (for example, SaaSProduct, AmiProduct, ContainerProduct).