@azure-rest/developer-devcenter package
Antarmuka
Alias Jenis
AzureDeveloperDevCenterClient | |
CreateDevBoxParameters | |
CreateOrReplaceEnvironmentParameters | |
DelayActionParameters | |
DelayActionsParameters | |
DeleteDevBoxParameters | |
DeleteEnvironmentParameters | |
DevBoxActionDelayResultStatusOutput |
Alias untuk DevBoxActionDelayResultStatusOutput |
DevBoxActionTypeOutput |
Alias untuk DevBoxActionTypeOutput |
DevBoxProvisioningState |
Alias untuk DevBoxProvisioningState |
DevBoxProvisioningStateOutput |
Alias untuk DevBoxProvisioningStateOutput |
EnvironmentProvisioningState |
Alias untuk EnvironmentProvisioningState |
EnvironmentProvisioningStateOutput |
Alias untuk EnvironmentProvisioningStateOutput |
EnvironmentTypeEnableStatusOutput |
Alias untuk EnvironmentTypeEnableStatusOutput |
GetActionParameters | |
GetArrayType |
Jenis pembantu untuk mengekstrak jenis array |
GetCatalogParameters | |
GetDevBoxByUserParameters | |
GetEnvironmentByUserParameters | |
GetEnvironmentDefinitionParameters | |
GetPage |
Jenis fungsi kustom yang menentukan cara mendapatkan halaman dan tautan ke yang berikutnya jika ada. |
GetParameters | |
GetPoolParameters | |
GetProjectParameters | |
GetRemoteConnectionParameters | |
GetScheduleByPoolParameters | |
HibernateSupport |
Alias untuk HibernateSupport |
HibernateSupportOutput |
Alias untuk HibernateSupportOutput |
ListActionsParameters | |
ListAllDevBoxesByUserParameters | |
ListAllDevBoxesParameters | |
ListCatalogsByProjectParameters | |
ListDevBoxesByUserParameters | |
ListEnvironmentDefinitionsByCatalogParameters | |
ListEnvironmentDefinitionsByProjectParameters | |
ListEnvironmentTypesParameters | |
ListEnvironmentsByUserParameters | |
ListEnvironmentsParameters | |
ListPoolsParameters | |
ListProjectsParameters | |
ListSchedulesByPoolParameters | |
LocalAdminStatus |
Alias untuk LocalAdminStatus |
LocalAdminStatusOutput |
Alias untuk LocalAdminStatusOutput |
OperationStateOutput |
Enum menjelaskan status operasi yang diizinkan. |
OsType |
Alias untuk OsType |
OsTypeOutput |
Alias untuk OsTypeOutput |
PagedCatalogOutput |
Kumpulan halaman item Katalog |
PagedDevBoxActionDelayResultOutput |
Kumpulan halaman item DevBoxActionDelayResult |
PagedDevBoxActionOutput |
Kumpulan halaman item DevBoxAction |
PagedDevBoxOutput |
Kumpulan halaman item DevBox |
PagedEnvironmentDefinitionOutput |
Kumpulan halaman item EnvironmentDefinition |
PagedEnvironmentOutput |
Kumpulan halaman item Lingkungan |
PagedEnvironmentTypeOutput |
Kumpulan halaman item EnvironmentType |
PagedPoolOutput |
Kumpulan halaman item Kumpulan |
PagedProjectOutput |
Kumpulan halaman item Proyek |
PagedScheduleOutput |
Kumpulan halaman item Jadwal |
PaginateReturn |
Jenis pembantu untuk menyimpulkan Jenis elemen halaman dari jenis respons Jenis ini dihasilkan berdasarkan informasi swagger untuk x-ms-pageable khususnya pada properti itemName yang menunjukkan properti respons tempat item halaman ditemukan. Nilai defaultnya adalah |
ParameterTypeOutput |
Alias untuk ParameterTypeOutput |
PoolHealthStatusOutput |
Alias untuk PoolHealthStatusOutput |
PowerState |
Alias untuk PowerState |
PowerStateOutput |
Alias untuk PowerStateOutput |
RestartDevBoxParameters | |
ScheduledFrequencyOutput |
Alias untuk ScheduledFrequencyOutput |
ScheduledTypeOutput |
Alias untuk ScheduledTypeOutput |
SkipActionParameters | |
SkuName |
Alias untuk SkuName |
SkuNameOutput |
Alias untuk SkuNameOutput |
StartDevBoxParameters | |
StopDevBoxParameters | |
StopOnDisconnectEnableStatusOutput |
Alias untuk StopOnDisconnectEnableStatusOutput |
Fungsi
Detail Fungsi
default(string, TokenCredential, ClientOptions)
Menginisialisasi instans baru AzureDeveloperDevCenterClient
function default(endpointParam: string, credentials: TokenCredential, options?: ClientOptions): AzureDeveloperDevCenterClient
Parameter
- endpointParam
-
string
URI khusus DevCenter untuk dioperasikan.
- credentials
- TokenCredential
mengidentifikasi kredensial klien secara unik
- options
- ClientOptions
parameter untuk semua parameter opsional
Mengembalikan
getLongRunningPoller<TResult>(Client, CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
Fungsi pembantu yang membangun objek Poller untuk membantu polling operasi yang berjalan lama.
function getLongRunningPoller<TResult>(client: Client, initialResponse: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>
Parameter
- client
- Client
Klien yang digunakan untuk mengirim permintaan untuk mendapatkan halaman tambahan.
- initialResponse
-
CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse
Respons awal.
- options
-
CreateHttpPollerOptions<TResult, OperationState<TResult>>
Opsi untuk mengatur status resume atau interval polling kustom.
Mengembalikan
Promise<SimplePollerLike<OperationState<TResult>, TResult>>
- Objek poller untuk polling pembaruan status operasi dan akhirnya mendapatkan respons akhir.
getLongRunningPoller<TResult>(Client, DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
function getLongRunningPoller<TResult>(client: Client, initialResponse: DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>
Parameter
- client
- Client
- initialResponse
-
DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse
- options
-
CreateHttpPollerOptions<TResult, OperationState<TResult>>
Mengembalikan
Promise<SimplePollerLike<OperationState<TResult>, TResult>>
getLongRunningPoller<TResult>(Client, StartDevBox202Response | StartDevBoxDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
function getLongRunningPoller<TResult>(client: Client, initialResponse: StartDevBox202Response | StartDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>
Parameter
- client
- Client
- initialResponse
- options
-
CreateHttpPollerOptions<TResult, OperationState<TResult>>
Mengembalikan
Promise<SimplePollerLike<OperationState<TResult>, TResult>>
getLongRunningPoller<TResult>(Client, StopDevBox202Response | StopDevBoxDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
function getLongRunningPoller<TResult>(client: Client, initialResponse: StopDevBox202Response | StopDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>
Parameter
- client
- Client
- initialResponse
- options
-
CreateHttpPollerOptions<TResult, OperationState<TResult>>
Mengembalikan
Promise<SimplePollerLike<OperationState<TResult>, TResult>>
getLongRunningPoller<TResult>(Client, RestartDevBox202Response | RestartDevBoxDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
function getLongRunningPoller<TResult>(client: Client, initialResponse: RestartDevBox202Response | RestartDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>
Parameter
- client
- Client
- initialResponse
- options
-
CreateHttpPollerOptions<TResult, OperationState<TResult>>
Mengembalikan
Promise<SimplePollerLike<OperationState<TResult>, TResult>>
getLongRunningPoller<TResult>(Client, CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
function getLongRunningPoller<TResult>(client: Client, initialResponse: CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>
Parameter
- client
- Client
- options
-
CreateHttpPollerOptions<TResult, OperationState<TResult>>
Mengembalikan
Promise<SimplePollerLike<OperationState<TResult>, TResult>>
getLongRunningPoller<TResult>(Client, DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
function getLongRunningPoller<TResult>(client: Client, initialResponse: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>
Parameter
- client
- Client
- initialResponse
-
DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse
- options
-
CreateHttpPollerOptions<TResult, OperationState<TResult>>
Mengembalikan
Promise<SimplePollerLike<OperationState<TResult>, TResult>>
isUnexpected(ListProjects200Response | ListProjectsDefaultResponse)
function isUnexpected(response: ListProjects200Response | ListProjectsDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(GetProject200Response | GetProjectDefaultResponse)
function isUnexpected(response: GetProject200Response | GetProjectDefaultResponse): response
Parameter
- response
Mengembalikan
response
isUnexpected(Get200Response | GetDefaultResponse)
function isUnexpected(response: Get200Response | GetDefaultResponse): response
Parameter
- response
Mengembalikan
response
isUnexpected(ListPools200Response | ListPoolsDefaultResponse)
function isUnexpected(response: ListPools200Response | ListPoolsDefaultResponse): response
Parameter
- response
Mengembalikan
response
isUnexpected(GetPool200Response | GetPoolDefaultResponse)
function isUnexpected(response: GetPool200Response | GetPoolDefaultResponse): response
Parameter
- response
Mengembalikan
response
isUnexpected(ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse)
function isUnexpected(response: ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse)
function isUnexpected(response: ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(ListSchedulesByPool200Response | ListSchedulesByPoolDefaultResponse)
function isUnexpected(response: ListSchedulesByPool200Response | ListSchedulesByPoolDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(GetScheduleByPool200Response | GetScheduleByPoolDefaultResponse)
function isUnexpected(response: GetScheduleByPool200Response | GetScheduleByPoolDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(ListDevBoxesByUser200Response | ListDevBoxesByUserDefaultResponse)
function isUnexpected(response: ListDevBoxesByUser200Response | ListDevBoxesByUserDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(GetDevBoxByUser200Response | GetDevBoxByUserDefaultResponse)
function isUnexpected(response: GetDevBoxByUser200Response | GetDevBoxByUserDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse | CreateDevBoxLogicalResponse)
function isUnexpected(response: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse | CreateDevBoxLogicalResponse): response
Parameter
Mengembalikan
response
isUnexpected(DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse | DeleteDevBoxLogicalResponse)
function isUnexpected(response: DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse | DeleteDevBoxLogicalResponse): response
Parameter
Mengembalikan
response
isUnexpected(StartDevBox202Response | StartDevBoxDefaultResponse | StartDevBoxLogicalResponse)
function isUnexpected(response: StartDevBox202Response | StartDevBoxDefaultResponse | StartDevBoxLogicalResponse): response
Parameter
Mengembalikan
response
isUnexpected(StopDevBox202Response | StopDevBoxDefaultResponse | StopDevBoxLogicalResponse)
function isUnexpected(response: StopDevBox202Response | StopDevBoxDefaultResponse | StopDevBoxLogicalResponse): response
Parameter
Mengembalikan
response
isUnexpected(RestartDevBox202Response | RestartDevBoxDefaultResponse | RestartDevBoxLogicalResponse)
function isUnexpected(response: RestartDevBox202Response | RestartDevBoxDefaultResponse | RestartDevBoxLogicalResponse): response
Parameter
Mengembalikan
response
isUnexpected(GetRemoteConnection200Response | GetRemoteConnectionDefaultResponse)
function isUnexpected(response: GetRemoteConnection200Response | GetRemoteConnectionDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(ListActions200Response | ListActionsDefaultResponse)
function isUnexpected(response: ListActions200Response | ListActionsDefaultResponse): response
Parameter
- response
Mengembalikan
response
isUnexpected(GetAction200Response | GetActionDefaultResponse)
function isUnexpected(response: GetAction200Response | GetActionDefaultResponse): response
Parameter
- response
Mengembalikan
response
isUnexpected(SkipAction204Response | SkipActionDefaultResponse)
function isUnexpected(response: SkipAction204Response | SkipActionDefaultResponse): response
Parameter
- response
Mengembalikan
response
isUnexpected(DelayAction200Response | DelayActionDefaultResponse)
function isUnexpected(response: DelayAction200Response | DelayActionDefaultResponse): response
Parameter
- response
Mengembalikan
response
isUnexpected(DelayActions200Response | DelayActionsDefaultResponse)
function isUnexpected(response: DelayActions200Response | DelayActionsDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(ListEnvironments200Response | ListEnvironmentsDefaultResponse)
function isUnexpected(response: ListEnvironments200Response | ListEnvironmentsDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(ListEnvironmentsByUser200Response | ListEnvironmentsByUserDefaultResponse)
function isUnexpected(response: ListEnvironmentsByUser200Response | ListEnvironmentsByUserDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(GetEnvironmentByUser200Response | GetEnvironmentByUserDefaultResponse)
function isUnexpected(response: GetEnvironmentByUser200Response | GetEnvironmentByUserDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentDefaultResponse | CreateOrReplaceEnvironmentLogicalResponse)
function isUnexpected(response: CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentDefaultResponse | CreateOrReplaceEnvironmentLogicalResponse): response
Parameter
Mengembalikan
response
isUnexpected(DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse | DeleteEnvironmentLogicalResponse)
function isUnexpected(response: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse | DeleteEnvironmentLogicalResponse): response
Parameter
Mengembalikan
response
isUnexpected(ListCatalogsByProject200Response | ListCatalogsByProjectDefaultResponse)
function isUnexpected(response: ListCatalogsByProject200Response | ListCatalogsByProjectDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(GetCatalog200Response | GetCatalogDefaultResponse)
function isUnexpected(response: GetCatalog200Response | GetCatalogDefaultResponse): response
Parameter
- response
Mengembalikan
response
isUnexpected(ListEnvironmentDefinitionsByProject200Response | ListEnvironmentDefinitionsByProjectDefaultResponse)
function isUnexpected(response: ListEnvironmentDefinitionsByProject200Response | ListEnvironmentDefinitionsByProjectDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse)
function isUnexpected(response: ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(GetEnvironmentDefinition200Response | GetEnvironmentDefinitionDefaultResponse)
function isUnexpected(response: GetEnvironmentDefinition200Response | GetEnvironmentDefinitionDefaultResponse): response
Parameter
Mengembalikan
response
isUnexpected(ListEnvironmentTypes200Response | ListEnvironmentTypesDefaultResponse)
function isUnexpected(response: ListEnvironmentTypes200Response | ListEnvironmentTypesDefaultResponse): response
Parameter
Mengembalikan
response
paginate<TResponse>(Client, TResponse, PagingOptions<TResponse>)
Pembantu untuk mem-paginate hasil dari respons awal yang mengikuti spesifikasi ekstensi Autorest x-ms-pageable
function paginate<TResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>
Parameter
- client
- Client
Klien yang digunakan untuk mengirim permintaan halaman berikutnya
- initialResponse
-
TResponse
Respons awal yang berisi nextLink dan halaman elemen saat ini
- options
-
PagingOptions<TResponse>
Mengembalikan
PagedAsyncIterableIterator<PaginateReturn<TResponse>>
- PagedAsyncIterableIterator untuk melakukan iterasi elemen