• Retrieves the intent with the specified name from the given resource type.

    Parameters

    • resourceType: ResourceType

      The resource type containing the intents.

    • intentName: string

      The name of the intent to retrieve.

    Returns ResourceIntent

    The intent with the specified name.

    If the intent is not found on the resource type.