CommitmentPlans interface
Interface représentant un Plan d’engagement.
Méthodes
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.
Paramètres d’options.
Retours
Promise<@azure/core-lro.SimplePollerLike<OperationState<CommitmentPlanAccountAssociation>, CommitmentPlanAccountAssociation>>
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.
Paramètres d’options.
Retours
Promise<CommitmentPlanAccountAssociation>
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éé.
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éé.
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
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
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
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
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
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
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éé.
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éé.
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.
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
Paramètres d’options.
Retours
Promise<CommitmentPlanAccountAssociation>
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
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.
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
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.
Paramètres d’options.
Retours
listPlansBySubscription(CommitmentPlansListPlansBySubscriptionOptionalParams)
Retourne toutes les ressources d’un type particulier appartenant à un abonnement.
function listPlansBySubscription(options?: CommitmentPlansListPlansBySubscriptionOptionalParams): PagedAsyncIterableIterator<CommitmentPlan, CommitmentPlan[], PageSettings>
Paramètres
Paramètres d’options.