Class ProductUsageRuleResource

Updated: March 10, 2021
Contents

    Classes

    ProductActionResource

    The ProductActionResource class provides methods to access the
    Action objects for a product.

    ProductVersionResourceGenericResource

    The ProductVersionResource class provides methods to access the
    Version objects for a product.

    ProductConfigurationResourceGenericResource

    The ProductConfigurationResource class provides methods to access the
    ProductConfiguration objects for a product.

    ProductParameterResourceGenericResource

    The ProductParameterResource class provides methods to access the
    Productpameter objects for a product.

    ProductConnectionsResourceGenericResource

    The ProductConnectionsResource class provides methods to access the
    ProductConnection objects for a product.

    ProductUsageRuleResourceGenericResource

    The ProductUsageRulesResource class provides methods to access the
    ProductUsageRule objects for a product.

    ProductResourceGenericResource

    The ProductResource class provides methods to access the products
    endpoint of the Cloud Blue Connect API.

    ProductActionResource

    The ProductActionResource class provides methods to access the
    Action objects for a product.

    Kind: global class
    Category: Resources

    productActionResource.link(id, assetId) ⇒ object

    Returns the ActionLink object for a product and asset.

    Kind: instance method of ProductActionResource
    Returns: object – The ActionLink object.

    Param Type Description
    id string The unique identifier of the Action.
    assetId string The unique identifier of the Asset.

    ProductVersionResource ⇐ GenericResource

    The ProductVersionResource class provides methods to access the
    Version objects for a product.

    Kind: global class
    Extends: GenericResource
    Category: Resources

    new ProductVersionResource(client, baseUri)

    Creates a new instance of the ProductVersionResource class.

    Returns: ProductVersionResource – An instance of the ProductVersionResource class.

    Param Type Description
    client ConnectClient An instance of the ConnectClient class.
    baseUri string The base uri for this resource.

    productVersionResource.actions(id) ⇒ ProductActionResource

    Returns an instance of the ProductActionResource class
    to access the Action objects configured for a specific
    version of a Product.

    Kind: instance method of ProductVersionResource
    Returns: ProductActionResource – The instance of the ProductActionResource
    class for a product/version.

    Param Type Description
    id string The unique identifier of the Version object for a Product.

    ProductConfigurationResource ⇐ GenericResource

    The ProductConfigurationResource class provides methods to access the
    ProductConfiguration objects for a product.

    Kind: global class
    Extends: GenericResource
    Category: Resources

    ProductParameterResource ⇐ GenericResource

    The ProductParameterResource class provides methods to access the
    Productpameter objects for a product.

    Kind: global class
    Extends: GenericResource
    Category: Resources

    ProductConnectionsResource ⇐ GenericResource

    The ProductConnectionsResource class provides methods to access the
    ProductConnection objects for a product.

    Kind: global class
    Extends: GenericResource
    Category: Resources

    ProductUsageRuleResource ⇐ GenericResource

    The ProductUsageRulesResource class provides methods to access the
    ProductUsageRule objects for a product.

    Kind: global class
    Extends: GenericResource
    Category: Resources

    ProductResource ⇐ GenericResource

    The ProductResource class provides methods to access the products
    endpoint of the Cloud Blue Connect API.

    Kind: global class
    Extends: GenericResource
    Category: Resources

    new ProductResource(client)

    Creates a new instance of the ProductResource class.

    Returns: ProductResource – An instance of the ProductResource class.

    Param Type Description
    client ConnectClient An instance of the ConnectClient class.

    productResource.actions(id) ⇒ ProductActionResource

    Returns an instance of the ProductActionResource for a Product.

    Kind: instance method of ProductResource
    Returns: ProductActionResource – An instance of the ProductActionResource
    for the product.

    Param Type Description
    id string The unique identifier of the Product.

    productResource.versions(id) ⇒ ProductVersionResource

    Returns an instance of the ProductVersionResource for a Product.

    Kind: instance method of ProductResource
    Returns: ProductVersionResource – An instance of the ProductVersionResource
    for the product.

    Param Type Description
    id string The unique identifier of the Product.

    productResource.configurations(id) ⇒ ProductConfigurationResource

    Returns an instance of the ProductConfigurationResource for a ProductConfiguration.

    Kind: instance method of ProductResource
    Returns: ProductConfigurationResource – An instance of the ProductConfigurationResource
    for the product.

    Param Type Description
    id string The unique identifier of the Product.

    productResource.parameters(id) ⇒ ProductParameterResource

    Returns an instance of the ProductParameterResource for a Product.

    Kind: instance method of ProductResource
    Returns: ProductParameterResource – An instance of the ProductParameterResource
    for the product.

    Param Type Description
    id string The unique identifier of the Product.

    productResource.connections(id) ⇒ ProductConnectionsResource

    Returns an instance of the ProductConnectionsResource for a Product.

    Kind: instance method of ProductResource
    Returns: ProductConnectionsResource – An instance of the ProductParameterResource
    for the product.

    Param Type Description
    id string The unique identifier of the Product.

    productResource.usageRules(id) ⇒ ProductUsageRuleResource

    Returns an instance of the ProductUsageRulesResource for a Product.

    Kind: instance method of ProductResource
    Returns: ProductUsageRuleResource – An instance of the ProductUsageRuleResource
    for the product.

    Param Type Description
    id string The unique identifier of the Product.

    productResource.getTemplates(id) ⇒ Array

    Returns the list of Template objects configured for the Product.

    Kind: instance method of ProductResource
    Returns: Array – The list of Template objects.

    Param Type Description
    id string The unique identifier of the Product.

    productResource.getParameters(id) ⇒ Array

    Deprecated

    Returns the list of Parameter objects configured for the Product.

    Kind: instance method of ProductResource
    Returns: Array – The list of Parameter objects.

    Param Type Description
    id string The unique identifier of the Product.

    productResource.getItems(id) ⇒ Array

    Returns the list of ProductItem objects configured for the Product.

    Kind: instance method of ProductResource
    Returns: Array – The list of ProductItem objects.

    Param Type Description
    id string The unique identifier of the Product.

    productResource.getConnections(id) ⇒ Array

    Returns the list of Connection objects configured for the Product.

    Kind: instance method of ProductResource
    Returns: Array – The list of Connection objects.

    Param Type Description
    id string The unique identifier of the Product.
    Is this page helpful?
    Translate with Google
    Copied to clipboard