def METHOD_NAME(account_name: Optional[pulumi.Input[str]] = None,
                               commitment_plan_name: Optional[pulumi.Input[str]] = None,
                               resource_group_name: Optional[pulumi.Input[str]] = None,
                               opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCommitmentPlanResult]:
    """
    Gets the specified commitmentPlans associated with the Cognitive Services account.
    Azure REST API version: 2023-05-01.
    :param str account_name: The name of Cognitive Services account.
    :param str commitment_plan_name: The name of the commitmentPlan associated with the Cognitive Services Account
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    """
    ...