ManagementGroupsOperations interface

Interfaccia che rappresenta le operazioni di un ManagementGroups.

Proprietà

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
createOrUpdate

Crea o aggiorna un gruppo di gestione. Se un gruppo di gestione è già stato creato e viene emessa una successiva richiesta di creazione con proprietà diverse, le proprietà del gruppo di gestione verranno aggiornate.

delete

Elimina un gruppo di gestione. Se un gruppo di gestione contiene risorse figlie, la richiesta fallirà.

get

Ottenere i dettagli del gruppo di gestione.

list

Elenca i gruppi di gestione per l'utente autenticato.

listDescendants

Elencare tutte le entità che discendono da un gruppo di gestione.

update

Aggiorna un gruppo di gestione.

Dettagli proprietà

beginCreateOrUpdate

Avviso

Questa API è ora deprecata.

use createOrUpdate instead

beginCreateOrUpdate: (groupId: string, createManagementGroupRequest: CreateManagementGroupRequest, options?: ManagementGroupsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ManagementGroup>, ManagementGroup>>

Valore della proprietà

(groupId: string, createManagementGroupRequest: CreateManagementGroupRequest, options?: ManagementGroupsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ManagementGroup>, ManagementGroup>>

beginCreateOrUpdateAndWait

Avviso

Questa API è ora deprecata.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (groupId: string, createManagementGroupRequest: CreateManagementGroupRequest, options?: ManagementGroupsCreateOrUpdateOptionalParams) => Promise<ManagementGroup>

Valore della proprietà

(groupId: string, createManagementGroupRequest: CreateManagementGroupRequest, options?: ManagementGroupsCreateOrUpdateOptionalParams) => Promise<ManagementGroup>

beginDelete

Avviso

Questa API è ora deprecata.

use delete instead

beginDelete: (groupId: string, options?: ManagementGroupsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Valore della proprietà

(groupId: string, options?: ManagementGroupsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Avviso

Questa API è ora deprecata.

use delete instead

beginDeleteAndWait: (groupId: string, options?: ManagementGroupsDeleteOptionalParams) => Promise<void>

Valore della proprietà

(groupId: string, options?: ManagementGroupsDeleteOptionalParams) => Promise<void>

createOrUpdate

Crea o aggiorna un gruppo di gestione. Se un gruppo di gestione è già stato creato e viene emessa una successiva richiesta di creazione con proprietà diverse, le proprietà del gruppo di gestione verranno aggiornate.

createOrUpdate: (groupId: string, createManagementGroupRequest: CreateManagementGroupRequest, options?: ManagementGroupsCreateOrUpdateOptionalParams) => PollerLike<OperationState<ManagementGroup>, ManagementGroup>

Valore della proprietà

(groupId: string, createManagementGroupRequest: CreateManagementGroupRequest, options?: ManagementGroupsCreateOrUpdateOptionalParams) => PollerLike<OperationState<ManagementGroup>, ManagementGroup>

delete

Elimina un gruppo di gestione. Se un gruppo di gestione contiene risorse figlie, la richiesta fallirà.

delete: (groupId: string, options?: ManagementGroupsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Valore della proprietà

(groupId: string, options?: ManagementGroupsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Ottenere i dettagli del gruppo di gestione.

get: (groupId: string, options?: ManagementGroupsGetOptionalParams) => Promise<ManagementGroup>

Valore della proprietà

(groupId: string, options?: ManagementGroupsGetOptionalParams) => Promise<ManagementGroup>

list

Elenca i gruppi di gestione per l'utente autenticato.

list: (options?: ManagementGroupsListOptionalParams) => PagedAsyncIterableIterator<ManagementGroupInfo, ManagementGroupInfo[], PageSettings>

Valore della proprietà

(options?: ManagementGroupsListOptionalParams) => PagedAsyncIterableIterator<ManagementGroupInfo, ManagementGroupInfo[], PageSettings>

listDescendants

Elencare tutte le entità che discendono da un gruppo di gestione.

listDescendants: (groupId: string, options?: ManagementGroupsListDescendantsOptionalParams) => PagedAsyncIterableIterator<DescendantInfo, DescendantInfo[], PageSettings>

Valore della proprietà

(groupId: string, options?: ManagementGroupsListDescendantsOptionalParams) => PagedAsyncIterableIterator<DescendantInfo, DescendantInfo[], PageSettings>

update

Aggiorna un gruppo di gestione.

update: (groupId: string, patchGroupRequest: PatchManagementGroupRequest, options?: ManagementGroupsUpdateOptionalParams) => Promise<ManagementGroup>

Valore della proprietà

(groupId: string, patchGroupRequest: PatchManagementGroupRequest, options?: ManagementGroupsUpdateOptionalParams) => Promise<ManagementGroup>