Udostępnij przez


CloudServiceRoles interface

Interfejs reprezentujący element CloudServiceRoles.

Metody

get(string, string, string, CloudServiceRolesGetOptionalParams)

Pobiera rolę z usługi w chmurze.

list(string, string, CloudServiceRolesListOptionalParams)

Pobiera listę wszystkich ról w usłudze w chmurze. Użyj właściwości nextLink w odpowiedzi, aby uzyskać następną stronę ról. Zrób to, dopóki nextLink ma wartość null, aby pobrać wszystkie role.

Szczegóły metody

get(string, string, string, CloudServiceRolesGetOptionalParams)

Pobiera rolę z usługi w chmurze.

function get(roleName: string, resourceGroupName: string, cloudServiceName: string, options?: CloudServiceRolesGetOptionalParams): Promise<CloudServiceRole>

Parametry

roleName

string

Nazwa roli.

resourceGroupName

string

Nazwa grupy zasobów.

cloudServiceName

string

Nazwa usługi w chmurze.

options
CloudServiceRolesGetOptionalParams

Parametry opcji.

Zwraca

Promise<CloudServiceRole>

list(string, string, CloudServiceRolesListOptionalParams)

Pobiera listę wszystkich ról w usłudze w chmurze. Użyj właściwości nextLink w odpowiedzi, aby uzyskać następną stronę ról. Zrób to, dopóki nextLink ma wartość null, aby pobrać wszystkie role.

function list(resourceGroupName: string, cloudServiceName: string, options?: CloudServiceRolesListOptionalParams): PagedAsyncIterableIterator<CloudServiceRole, CloudServiceRole[], PageSettings>

Parametry

resourceGroupName

string

Nazwa grupy zasobów.

cloudServiceName

string

Nazwa usługi w chmurze.

options
CloudServiceRolesListOptionalParams

Parametry opcji.

Zwraca