MeshApplication class
Bir MeshApplication'i temsil eden sınıf.
Oluşturucular
| Mesh |
MeshApplication oluşturun. |
Yöntemler
Oluşturucu Ayrıntıları
MeshApplication(ServiceFabricClientContext)
MeshApplication oluşturun.
new MeshApplication(client: ServiceFabricClientContext)
Parametreler
- client
- ServiceFabricClientContext
Hizmet istemcisine başvuru.
Yöntem Ayrıntıları
createOrUpdate(string, ApplicationResourceDescription, RequestOptionsBase)
Belirtilen ad, açıklama ve özelliklere sahip bir Uygulama kaynağı oluşturur. Aynı ada sahip Uygulama kaynağı varsa, belirtilen açıklama ve özelliklerle güncelleştirilir.
function createOrUpdate(applicationResourceName: string, applicationResourceDescription: ApplicationResourceDescription, options?: RequestOptionsBase): Promise<MeshApplicationCreateOrUpdateResponse>
Parametreler
- applicationResourceName
-
string
Uygulamanın kimliği.
- applicationResourceDescription
- ApplicationResourceDescription
Uygulama kaynağı oluşturma açıklaması.
- options
- RequestOptionsBase
İsteğe bağlı parametreler
Döndürülenler
Promise<Models.MeshApplicationCreateOrUpdateResponse>
createOrUpdate(string, ApplicationResourceDescription, RequestOptionsBase, ServiceCallback<ApplicationResourceDescription>)
function createOrUpdate(applicationResourceName: string, applicationResourceDescription: ApplicationResourceDescription, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceDescription>)
Parametreler
- applicationResourceName
-
string
Uygulamanın kimliği.
- applicationResourceDescription
- ApplicationResourceDescription
Uygulama kaynağı oluşturma açıklaması.
- options
- RequestOptionsBase
İsteğe bağlı parametreler
Geri çağırma
createOrUpdate(string, ApplicationResourceDescription, ServiceCallback<ApplicationResourceDescription>)
function createOrUpdate(applicationResourceName: string, applicationResourceDescription: ApplicationResourceDescription, callback: ServiceCallback<ApplicationResourceDescription>)
Parametreler
- applicationResourceName
-
string
Uygulamanın kimliği.
- applicationResourceDescription
- ApplicationResourceDescription
Uygulama kaynağı oluşturma açıklaması.
Geri çağırma
deleteMethod(string, RequestOptionsBase)
Adıyla tanımlanan Uygulama kaynağını siler.
function deleteMethod(applicationResourceName: string, options?: RequestOptionsBase): Promise<RestResponse>
Parametreler
- applicationResourceName
-
string
Uygulamanın kimliği.
- options
- RequestOptionsBase
İsteğe bağlı parametreler
Döndürülenler
Promise<RestResponse>
promise<msRest.RestResponse>
deleteMethod(string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(applicationResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parametreler
- applicationResourceName
-
string
Uygulamanın kimliği.
- options
- RequestOptionsBase
İsteğe bağlı parametreler
- callback
-
ServiceCallback<void>
Geri çağırma
deleteMethod(string, ServiceCallback<void>)
function deleteMethod(applicationResourceName: string, callback: ServiceCallback<void>)
Parametreler
- applicationResourceName
-
string
Uygulamanın kimliği.
- callback
-
ServiceCallback<void>
Geri çağırma
get(string, RequestOptionsBase)
Verilen ada sahip Uygulama kaynağı hakkındaki bilgileri alır. Bilgiler, Uygulamanın açıklamasını ve diğer özelliklerini içerir.
function get(applicationResourceName: string, options?: RequestOptionsBase): Promise<MeshApplicationGetResponse>
Parametreler
- applicationResourceName
-
string
Uygulamanın kimliği.
- options
- RequestOptionsBase
İsteğe bağlı parametreler
Döndürülenler
Promise<MeshApplicationGetResponse>
Promise<Models.MeshApplicationGetResponse>
get(string, RequestOptionsBase, ServiceCallback<ApplicationResourceDescription>)
function get(applicationResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceDescription>)
Parametreler
- applicationResourceName
-
string
Uygulamanın kimliği.
- options
- RequestOptionsBase
İsteğe bağlı parametreler
Geri çağırma
get(string, ServiceCallback<ApplicationResourceDescription>)
function get(applicationResourceName: string, callback: ServiceCallback<ApplicationResourceDescription>)
Parametreler
- applicationResourceName
-
string
Uygulamanın kimliği.
Geri çağırma
getUpgradeProgress(string, RequestOptionsBase)
Belirtilen ada sahip Uygulama kaynağı hakkındaki yükseltme ilerleme durumu bilgilerini alır. Bilgiler, Uygulama kaynağının tamamlanma yüzdesini ve diğer yükseltme durumu bilgilerini içerir.
function getUpgradeProgress(applicationResourceName: string, options?: RequestOptionsBase): Promise<MeshApplicationGetUpgradeProgressResponse>
Parametreler
- applicationResourceName
-
string
Uygulamanın kimliği.
- options
- RequestOptionsBase
İsteğe bağlı parametreler
Döndürülenler
Promise<Models.MeshApplicationGetUpgradeProgressResponse>
getUpgradeProgress(string, RequestOptionsBase, ServiceCallback<ApplicationResourceUpgradeProgressInfo>)
function getUpgradeProgress(applicationResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceUpgradeProgressInfo>)
Parametreler
- applicationResourceName
-
string
Uygulamanın kimliği.
- options
- RequestOptionsBase
İsteğe bağlı parametreler
Geri çağırma
getUpgradeProgress(string, ServiceCallback<ApplicationResourceUpgradeProgressInfo>)
function getUpgradeProgress(applicationResourceName: string, callback: ServiceCallback<ApplicationResourceUpgradeProgressInfo>)
Parametreler
- applicationResourceName
-
string
Uygulamanın kimliği.
Geri çağırma
list(RequestOptionsBase)
Belirli bir kaynak grubundaki tüm uygulama kaynakları hakkındaki bilgileri alır. Bilgiler, Uygulamanın açıklamasını ve diğer özelliklerini içerir.
function list(options?: RequestOptionsBase): Promise<MeshApplicationListResponse>
Parametreler
- options
- RequestOptionsBase
İsteğe bağlı parametreler
Döndürülenler
Promise<MeshApplicationListResponse>
Promise<Models.MeshApplicationListResponse>
list(RequestOptionsBase, ServiceCallback<PagedApplicationResourceDescriptionList>)
function list(options: RequestOptionsBase, callback: ServiceCallback<PagedApplicationResourceDescriptionList>)
Parametreler
- options
- RequestOptionsBase
İsteğe bağlı parametreler
Geri çağırma
list(ServiceCallback<PagedApplicationResourceDescriptionList>)
function list(callback: ServiceCallback<PagedApplicationResourceDescriptionList>)
Parametreler
Geri çağırma