MeshApplication class
Klasse, die eine MeshApplication darstellt.
Konstruktoren
| Mesh |
Erstellen Sie eine MeshApplication. |
Methoden
Details zum Konstruktor
MeshApplication(ServiceFabricClientContext)
Erstellen Sie eine MeshApplication.
new MeshApplication(client: ServiceFabricClientContext)
Parameter
- client
- ServiceFabricClientContext
Verweisen auf den Dienstclient.
Details zur Methode
createOrUpdate(string, ApplicationResourceDescription, RequestOptionsBase)
Erstellt eine Anwendungsressource mit dem angegebenen Namen, der Angegebenen Beschreibung und den Eigenschaften. Wenn die Anwendungsressource mit demselben Namen vorhanden ist, wird sie mit der angegebenen Beschreibung und den angegebenen Eigenschaften aktualisiert.
function createOrUpdate(applicationResourceName: string, applicationResourceDescription: ApplicationResourceDescription, options?: RequestOptionsBase): Promise<MeshApplicationCreateOrUpdateResponse>
Parameter
- applicationResourceName
-
string
Die Identität der Anwendung.
- applicationResourceDescription
- ApplicationResourceDescription
Beschreibung zum Erstellen einer Anwendungsressource.
- options
- RequestOptionsBase
Die optionalen Parameter
Gibt zurück
Promise<Models.MeshApplicationCreateOrUpdateResponse>
createOrUpdate(string, ApplicationResourceDescription, RequestOptionsBase, ServiceCallback<ApplicationResourceDescription>)
function createOrUpdate(applicationResourceName: string, applicationResourceDescription: ApplicationResourceDescription, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceDescription>)
Parameter
- applicationResourceName
-
string
Die Identität der Anwendung.
- applicationResourceDescription
- ApplicationResourceDescription
Beschreibung zum Erstellen einer Anwendungsressource.
- options
- RequestOptionsBase
Die optionalen Parameter
Der Rückruf
createOrUpdate(string, ApplicationResourceDescription, ServiceCallback<ApplicationResourceDescription>)
function createOrUpdate(applicationResourceName: string, applicationResourceDescription: ApplicationResourceDescription, callback: ServiceCallback<ApplicationResourceDescription>)
Parameter
- applicationResourceName
-
string
Die Identität der Anwendung.
- applicationResourceDescription
- ApplicationResourceDescription
Beschreibung zum Erstellen einer Anwendungsressource.
Der Rückruf
deleteMethod(string, RequestOptionsBase)
Löscht die durch den Namen identifizierte Anwendungsressource.
function deleteMethod(applicationResourceName: string, options?: RequestOptionsBase): Promise<RestResponse>
Parameter
- applicationResourceName
-
string
Die Identität der Anwendung.
- options
- RequestOptionsBase
Die optionalen Parameter
Gibt zurück
Promise<RestResponse>
Zusage<msRest.RestResponse>
deleteMethod(string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(applicationResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameter
- applicationResourceName
-
string
Die Identität der Anwendung.
- options
- RequestOptionsBase
Die optionalen Parameter
- callback
-
ServiceCallback<void>
Der Rückruf
deleteMethod(string, ServiceCallback<void>)
function deleteMethod(applicationResourceName: string, callback: ServiceCallback<void>)
Parameter
- applicationResourceName
-
string
Die Identität der Anwendung.
- callback
-
ServiceCallback<void>
Der Rückruf
get(string, RequestOptionsBase)
Ruft die Informationen zur Application-Ressource mit dem angegebenen Namen ab. Die Informationen enthalten die Beschreibung und andere Eigenschaften der Anwendung.
function get(applicationResourceName: string, options?: RequestOptionsBase): Promise<MeshApplicationGetResponse>
Parameter
- applicationResourceName
-
string
Die Identität der Anwendung.
- options
- RequestOptionsBase
Die optionalen Parameter
Gibt zurück
Promise<MeshApplicationGetResponse>
Zusage<Models.MeshApplicationGetResponse>
get(string, RequestOptionsBase, ServiceCallback<ApplicationResourceDescription>)
function get(applicationResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceDescription>)
Parameter
- applicationResourceName
-
string
Die Identität der Anwendung.
- options
- RequestOptionsBase
Die optionalen Parameter
Der Rückruf
get(string, ServiceCallback<ApplicationResourceDescription>)
function get(applicationResourceName: string, callback: ServiceCallback<ApplicationResourceDescription>)
Parameter
- applicationResourceName
-
string
Die Identität der Anwendung.
Der Rückruf
getUpgradeProgress(string, RequestOptionsBase)
Ruft die Statusinformationen zum Upgrade über die Anwendungsressource mit dem angegebenen Namen ab. Die Informationen umfassen den Prozentsatz des Abschlusses und andere Aktualisierungsstatusinformationen der Anwendungsressource.
function getUpgradeProgress(applicationResourceName: string, options?: RequestOptionsBase): Promise<MeshApplicationGetUpgradeProgressResponse>
Parameter
- applicationResourceName
-
string
Die Identität der Anwendung.
- options
- RequestOptionsBase
Die optionalen Parameter
Gibt zurück
Promise<Models.MeshApplicationGetUpgradeProgressResponse>
getUpgradeProgress(string, RequestOptionsBase, ServiceCallback<ApplicationResourceUpgradeProgressInfo>)
function getUpgradeProgress(applicationResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceUpgradeProgressInfo>)
Parameter
- applicationResourceName
-
string
Die Identität der Anwendung.
- options
- RequestOptionsBase
Die optionalen Parameter
Der Rückruf
getUpgradeProgress(string, ServiceCallback<ApplicationResourceUpgradeProgressInfo>)
function getUpgradeProgress(applicationResourceName: string, callback: ServiceCallback<ApplicationResourceUpgradeProgressInfo>)
Parameter
- applicationResourceName
-
string
Die Identität der Anwendung.
Der Rückruf
list(RequestOptionsBase)
Ruft die Informationen zu allen Anwendungsressourcen in einer bestimmten Ressourcengruppe ab. Die Informationen enthalten die Beschreibung und andere Eigenschaften der Anwendung.
function list(options?: RequestOptionsBase): Promise<MeshApplicationListResponse>
Parameter
- options
- RequestOptionsBase
Die optionalen Parameter
Gibt zurück
Promise<MeshApplicationListResponse>
Promise<Models.MeshApplicationListResponse>
list(RequestOptionsBase, ServiceCallback<PagedApplicationResourceDescriptionList>)
function list(options: RequestOptionsBase, callback: ServiceCallback<PagedApplicationResourceDescriptionList>)
Parameter
- options
- RequestOptionsBase
Die optionalen Parameter
Der Rückruf
list(ServiceCallback<PagedApplicationResourceDescriptionList>)
function list(callback: ServiceCallback<PagedApplicationResourceDescriptionList>)
Parameter
Der Rückruf