Partager via


CommitmentPlans interface

Interface représentant un Plan d’engagement.

Méthodes

beginCreateOrUpdateAssociation(string, string, string, CommitmentPlanAccountAssociation, CommitmentPlansCreateOrUpdateAssociationOptionalParams)

Créez ou mettez à jour l’association du plan d’engagement Cognitive Services.

beginCreateOrUpdateAssociationAndWait(string, string, string, CommitmentPlanAccountAssociation, CommitmentPlansCreateOrUpdateAssociationOptionalParams)

Créez ou mettez à jour l’association du plan d’engagement Cognitive Services.

beginCreateOrUpdatePlan(string, string, CommitmentPlan, CommitmentPlansCreateOrUpdatePlanOptionalParams)

Créez un plan d’engagement Cognitive Services.

beginCreateOrUpdatePlanAndWait(string, string, CommitmentPlan, CommitmentPlansCreateOrUpdatePlanOptionalParams)

Créez un plan d’engagement Cognitive Services.

beginDelete(string, string, string, CommitmentPlansDeleteOptionalParams)

Supprime le plan d’engagement spécifié associé au compte Cognitive Services.

beginDeleteAndWait(string, string, string, CommitmentPlansDeleteOptionalParams)

Supprime le plan d’engagement spécifié associé au compte Cognitive Services.

beginDeleteAssociation(string, string, string, CommitmentPlansDeleteAssociationOptionalParams)

Supprime l’association du plan d’engagement Cognitive Services.

beginDeleteAssociationAndWait(string, string, string, CommitmentPlansDeleteAssociationOptionalParams)

Supprime l’association du plan d’engagement Cognitive Services.

beginDeletePlan(string, string, CommitmentPlansDeletePlanOptionalParams)

Supprime un plan d’engagement Cognitive Services du groupe de ressources.

beginDeletePlanAndWait(string, string, CommitmentPlansDeletePlanOptionalParams)

Supprime un plan d’engagement Cognitive Services du groupe de ressources.

beginUpdatePlan(string, string, PatchResourceTagsAndSku, CommitmentPlansUpdatePlanOptionalParams)

Créez un plan d’engagement Cognitive Services.

beginUpdatePlanAndWait(string, string, PatchResourceTagsAndSku, CommitmentPlansUpdatePlanOptionalParams)

Créez un plan d’engagement Cognitive Services.

createOrUpdate(string, string, string, CommitmentPlan, CommitmentPlansCreateOrUpdateOptionalParams)

Mettez à jour l’état des plans d’engagement spécifiés associés au compte Cognitive Services.

get(string, string, string, CommitmentPlansGetOptionalParams)

Obtient les plans d’engagement spécifiés associés au compte Cognitive Services.

getAssociation(string, string, string, CommitmentPlansGetAssociationOptionalParams)

Obtient l’association du plan d’engagement Cognitive Services.

getPlan(string, string, CommitmentPlansGetPlanOptionalParams)

Retourne un plan d’engagement Cognitive Services spécifié par les paramètres.

list(string, string, CommitmentPlansListOptionalParams)

Obtient les plans d’engagement associés au compte Cognitive Services.

listAssociations(string, string, CommitmentPlansListAssociationsOptionalParams)

Obtient les associations du plan d’engagement Cognitive Services.

listPlansByResourceGroup(string, CommitmentPlansListPlansByResourceGroupOptionalParams)

Retourne toutes les ressources d’un type particulier appartenant à un groupe de ressources

listPlansBySubscription(CommitmentPlansListPlansBySubscriptionOptionalParams)

Retourne toutes les ressources d’un type particulier appartenant à un abonnement.

Détails de la méthode

beginCreateOrUpdateAssociation(string, string, string, CommitmentPlanAccountAssociation, CommitmentPlansCreateOrUpdateAssociationOptionalParams)

Créez ou mettez à jour l’association du plan d’engagement Cognitive Services.

function beginCreateOrUpdateAssociation(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, association: CommitmentPlanAccountAssociation, options?: CommitmentPlansCreateOrUpdateAssociationOptionalParams): Promise<SimplePollerLike<OperationState<CommitmentPlanAccountAssociation>, CommitmentPlanAccountAssociation>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

commitmentPlanAssociationName

string

Nom de l’association du plan d’engagement avec le compte Cognitive Services

association
CommitmentPlanAccountAssociation

Propriétés commitmentPlan.

Retours

beginCreateOrUpdateAssociationAndWait(string, string, string, CommitmentPlanAccountAssociation, CommitmentPlansCreateOrUpdateAssociationOptionalParams)

Créez ou mettez à jour l’association du plan d’engagement Cognitive Services.

function beginCreateOrUpdateAssociationAndWait(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, association: CommitmentPlanAccountAssociation, options?: CommitmentPlansCreateOrUpdateAssociationOptionalParams): Promise<CommitmentPlanAccountAssociation>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

commitmentPlanAssociationName

string

Nom de l’association du plan d’engagement avec le compte Cognitive Services

association
CommitmentPlanAccountAssociation

Propriétés commitmentPlan.

Retours

beginCreateOrUpdatePlan(string, string, CommitmentPlan, CommitmentPlansCreateOrUpdatePlanOptionalParams)

Créez un plan d’engagement Cognitive Services.

function beginCreateOrUpdatePlan(resourceGroupName: string, commitmentPlanName: string, commitmentPlan: CommitmentPlan, options?: CommitmentPlansCreateOrUpdatePlanOptionalParams): Promise<SimplePollerLike<OperationState<CommitmentPlan>, CommitmentPlan>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

commitmentPlan
CommitmentPlan

Paramètres à fournir pour le plan d’engagement créé.

options
CommitmentPlansCreateOrUpdatePlanOptionalParams

Paramètres d’options.

Retours

Promise<@azure/core-lro.SimplePollerLike<OperationState<CommitmentPlan>, CommitmentPlan>>

beginCreateOrUpdatePlanAndWait(string, string, CommitmentPlan, CommitmentPlansCreateOrUpdatePlanOptionalParams)

Créez un plan d’engagement Cognitive Services.

function beginCreateOrUpdatePlanAndWait(resourceGroupName: string, commitmentPlanName: string, commitmentPlan: CommitmentPlan, options?: CommitmentPlansCreateOrUpdatePlanOptionalParams): Promise<CommitmentPlan>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

commitmentPlan
CommitmentPlan

Paramètres à fournir pour le plan d’engagement créé.

options
CommitmentPlansCreateOrUpdatePlanOptionalParams

Paramètres d’options.

Retours

Promise<CommitmentPlan>

beginDelete(string, string, string, CommitmentPlansDeleteOptionalParams)

Supprime le plan d’engagement spécifié associé au compte Cognitive Services.

function beginDelete(resourceGroupName: string, accountName: string, commitmentPlanName: string, options?: CommitmentPlansDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

accountName

string

Nom du compte Cognitive Services.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

options
CommitmentPlansDeleteOptionalParams

Paramètres d’options.

Retours

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, CommitmentPlansDeleteOptionalParams)

Supprime le plan d’engagement spécifié associé au compte Cognitive Services.

function beginDeleteAndWait(resourceGroupName: string, accountName: string, commitmentPlanName: string, options?: CommitmentPlansDeleteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

accountName

string

Nom du compte Cognitive Services.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

options
CommitmentPlansDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

beginDeleteAssociation(string, string, string, CommitmentPlansDeleteAssociationOptionalParams)

Supprime l’association du plan d’engagement Cognitive Services.

function beginDeleteAssociation(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, options?: CommitmentPlansDeleteAssociationOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

commitmentPlanAssociationName

string

Nom de l’association du plan d’engagement avec le compte Cognitive Services

options
CommitmentPlansDeleteAssociationOptionalParams

Paramètres d’options.

Retours

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAssociationAndWait(string, string, string, CommitmentPlansDeleteAssociationOptionalParams)

Supprime l’association du plan d’engagement Cognitive Services.

function beginDeleteAssociationAndWait(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, options?: CommitmentPlansDeleteAssociationOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

commitmentPlanAssociationName

string

Nom de l’association du plan d’engagement avec le compte Cognitive Services

options
CommitmentPlansDeleteAssociationOptionalParams

Paramètres d’options.

Retours

Promise<void>

beginDeletePlan(string, string, CommitmentPlansDeletePlanOptionalParams)

Supprime un plan d’engagement Cognitive Services du groupe de ressources.

function beginDeletePlan(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansDeletePlanOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

options
CommitmentPlansDeletePlanOptionalParams

Paramètres d’options.

Retours

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeletePlanAndWait(string, string, CommitmentPlansDeletePlanOptionalParams)

Supprime un plan d’engagement Cognitive Services du groupe de ressources.

function beginDeletePlanAndWait(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansDeletePlanOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

options
CommitmentPlansDeletePlanOptionalParams

Paramètres d’options.

Retours

Promise<void>

beginUpdatePlan(string, string, PatchResourceTagsAndSku, CommitmentPlansUpdatePlanOptionalParams)

Créez un plan d’engagement Cognitive Services.

function beginUpdatePlan(resourceGroupName: string, commitmentPlanName: string, commitmentPlan: PatchResourceTagsAndSku, options?: CommitmentPlansUpdatePlanOptionalParams): Promise<SimplePollerLike<OperationState<CommitmentPlan>, CommitmentPlan>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

commitmentPlan
PatchResourceTagsAndSku

Paramètres à fournir pour le plan d’engagement créé.

options
CommitmentPlansUpdatePlanOptionalParams

Paramètres d’options.

Retours

Promise<@azure/core-lro.SimplePollerLike<OperationState<CommitmentPlan>, CommitmentPlan>>

beginUpdatePlanAndWait(string, string, PatchResourceTagsAndSku, CommitmentPlansUpdatePlanOptionalParams)

Créez un plan d’engagement Cognitive Services.

function beginUpdatePlanAndWait(resourceGroupName: string, commitmentPlanName: string, commitmentPlan: PatchResourceTagsAndSku, options?: CommitmentPlansUpdatePlanOptionalParams): Promise<CommitmentPlan>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

commitmentPlan
PatchResourceTagsAndSku

Paramètres à fournir pour le plan d’engagement créé.

options
CommitmentPlansUpdatePlanOptionalParams

Paramètres d’options.

Retours

Promise<CommitmentPlan>

createOrUpdate(string, string, string, CommitmentPlan, CommitmentPlansCreateOrUpdateOptionalParams)

Mettez à jour l’état des plans d’engagement spécifiés associés au compte Cognitive Services.

function createOrUpdate(resourceGroupName: string, accountName: string, commitmentPlanName: string, commitmentPlan: CommitmentPlan, options?: CommitmentPlansCreateOrUpdateOptionalParams): Promise<CommitmentPlan>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

accountName

string

Nom du compte Cognitive Services.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

commitmentPlan
CommitmentPlan

Propriétés commitmentPlan.

options
CommitmentPlansCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

Promise<CommitmentPlan>

get(string, string, string, CommitmentPlansGetOptionalParams)

Obtient les plans d’engagement spécifiés associés au compte Cognitive Services.

function get(resourceGroupName: string, accountName: string, commitmentPlanName: string, options?: CommitmentPlansGetOptionalParams): Promise<CommitmentPlan>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

accountName

string

Nom du compte Cognitive Services.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

options
CommitmentPlansGetOptionalParams

Paramètres d’options.

Retours

Promise<CommitmentPlan>

getAssociation(string, string, string, CommitmentPlansGetAssociationOptionalParams)

Obtient l’association du plan d’engagement Cognitive Services.

function getAssociation(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, options?: CommitmentPlansGetAssociationOptionalParams): Promise<CommitmentPlanAccountAssociation>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

commitmentPlanAssociationName

string

Nom de l’association du plan d’engagement avec le compte Cognitive Services

options
CommitmentPlansGetAssociationOptionalParams

Paramètres d’options.

Retours

getPlan(string, string, CommitmentPlansGetPlanOptionalParams)

Retourne un plan d’engagement Cognitive Services spécifié par les paramètres.

function getPlan(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansGetPlanOptionalParams): Promise<CommitmentPlan>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

options
CommitmentPlansGetPlanOptionalParams

Paramètres d’options.

Retours

Promise<CommitmentPlan>

list(string, string, CommitmentPlansListOptionalParams)

Obtient les plans d’engagement associés au compte Cognitive Services.

function list(resourceGroupName: string, accountName: string, options?: CommitmentPlansListOptionalParams): PagedAsyncIterableIterator<CommitmentPlan, CommitmentPlan[], PageSettings>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

accountName

string

Nom du compte Cognitive Services.

options
CommitmentPlansListOptionalParams

Paramètres d’options.

Retours

listAssociations(string, string, CommitmentPlansListAssociationsOptionalParams)

Obtient les associations du plan d’engagement Cognitive Services.

function listAssociations(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansListAssociationsOptionalParams): PagedAsyncIterableIterator<CommitmentPlanAccountAssociation, CommitmentPlanAccountAssociation[], PageSettings>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

commitmentPlanName

string

Nom du plan d’engagement associé au compte Cognitive Services

options
CommitmentPlansListAssociationsOptionalParams

Paramètres d’options.

Retours

listPlansByResourceGroup(string, CommitmentPlansListPlansByResourceGroupOptionalParams)

Retourne toutes les ressources d’un type particulier appartenant à un groupe de ressources

function listPlansByResourceGroup(resourceGroupName: string, options?: CommitmentPlansListPlansByResourceGroupOptionalParams): PagedAsyncIterableIterator<CommitmentPlan, CommitmentPlan[], PageSettings>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

Retours

listPlansBySubscription(CommitmentPlansListPlansBySubscriptionOptionalParams)

Retourne toutes les ressources d’un type particulier appartenant à un abonnement.

function listPlansBySubscription(options?: CommitmentPlansListPlansBySubscriptionOptionalParams): PagedAsyncIterableIterator<CommitmentPlan, CommitmentPlan[], PageSettings>

Paramètres

options
CommitmentPlansListPlansBySubscriptionOptionalParams

Paramètres d’options.

Retours