다음을 통해 공유


MeshApplication class

MeshApplication을 나타내는 클래스입니다.

생성자

MeshApplication(ServiceFabricClientContext)

MeshApplication을 만듭니다.

메서드

createOrUpdate(string, ApplicationResourceDescription, RequestOptionsBase)

지정된 이름, 설명 및 속성을 사용하여 애플리케이션 리소스를 만듭니다. 이름이 같은 애플리케이션 리소스가 있는 경우 지정된 설명 및 속성으로 업데이트됩니다.

createOrUpdate(string, ApplicationResourceDescription, RequestOptionsBase, ServiceCallback<ApplicationResourceDescription>)
createOrUpdate(string, ApplicationResourceDescription, ServiceCallback<ApplicationResourceDescription>)
deleteMethod(string, RequestOptionsBase)

이름으로 식별되는 애플리케이션 리소스를 삭제합니다.

deleteMethod(string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, ServiceCallback<void>)
get(string, RequestOptionsBase)

지정된 이름의 애플리케이션 리소스에 대한 정보를 가져옵니다. 정보에는 애플리케이션의 설명 및 기타 속성이 포함됩니다.

get(string, RequestOptionsBase, ServiceCallback<ApplicationResourceDescription>)
get(string, ServiceCallback<ApplicationResourceDescription>)
getUpgradeProgress(string, RequestOptionsBase)

지정된 이름을 가진 애플리케이션 리소스에 대한 업그레이드 진행률 정보를 가져옵니다. 이 정보에는 완료율 및 애플리케이션 리소스의 기타 업그레이드 상태 정보가 포함됩니다.

getUpgradeProgress(string, RequestOptionsBase, ServiceCallback<ApplicationResourceUpgradeProgressInfo>)
getUpgradeProgress(string, ServiceCallback<ApplicationResourceUpgradeProgressInfo>)
list(RequestOptionsBase)

지정된 리소스 그룹의 모든 애플리케이션 리소스에 대한 정보를 가져옵니다. 정보에는 애플리케이션의 설명 및 기타 속성이 포함됩니다.

list(RequestOptionsBase, ServiceCallback<PagedApplicationResourceDescriptionList>)
list(ServiceCallback<PagedApplicationResourceDescriptionList>)

생성자 세부 정보

MeshApplication(ServiceFabricClientContext)

MeshApplication을 만듭니다.

new MeshApplication(client: ServiceFabricClientContext)

매개 변수

client
ServiceFabricClientContext

서비스 클라이언트에 대한 참조입니다.

메서드 세부 정보

createOrUpdate(string, ApplicationResourceDescription, RequestOptionsBase)

지정된 이름, 설명 및 속성을 사용하여 애플리케이션 리소스를 만듭니다. 이름이 같은 애플리케이션 리소스가 있는 경우 지정된 설명 및 속성으로 업데이트됩니다.

function createOrUpdate(applicationResourceName: string, applicationResourceDescription: ApplicationResourceDescription, options?: RequestOptionsBase): Promise<MeshApplicationCreateOrUpdateResponse>

매개 변수

applicationResourceName

string

애플리케이션의 ID입니다.

applicationResourceDescription
ApplicationResourceDescription

애플리케이션 리소스 만들기에 대한 설명입니다.

options
RequestOptionsBase

선택적 매개 변수

반환

Models.MeshApplicationCreateOrUpdateResponse를 약속<합니다.>

createOrUpdate(string, ApplicationResourceDescription, RequestOptionsBase, ServiceCallback<ApplicationResourceDescription>)

function createOrUpdate(applicationResourceName: string, applicationResourceDescription: ApplicationResourceDescription, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceDescription>)

매개 변수

applicationResourceName

string

애플리케이션의 ID입니다.

applicationResourceDescription
ApplicationResourceDescription

애플리케이션 리소스 만들기에 대한 설명입니다.

options
RequestOptionsBase

선택적 매개 변수

createOrUpdate(string, ApplicationResourceDescription, ServiceCallback<ApplicationResourceDescription>)

function createOrUpdate(applicationResourceName: string, applicationResourceDescription: ApplicationResourceDescription, callback: ServiceCallback<ApplicationResourceDescription>)

매개 변수

applicationResourceName

string

애플리케이션의 ID입니다.

applicationResourceDescription
ApplicationResourceDescription

애플리케이션 리소스 만들기에 대한 설명입니다.

deleteMethod(string, RequestOptionsBase)

이름으로 식별되는 애플리케이션 리소스를 삭제합니다.

function deleteMethod(applicationResourceName: string, options?: RequestOptionsBase): Promise<RestResponse>

매개 변수

applicationResourceName

string

애플리케이션의 ID입니다.

options
RequestOptionsBase

선택적 매개 변수

반환

Promise<RestResponse>

promise<msRest.RestResponse>

deleteMethod(string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(applicationResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

매개 변수

applicationResourceName

string

애플리케이션의 ID입니다.

options
RequestOptionsBase

선택적 매개 변수

callback

ServiceCallback<void>

콜백

deleteMethod(string, ServiceCallback<void>)

function deleteMethod(applicationResourceName: string, callback: ServiceCallback<void>)

매개 변수

applicationResourceName

string

애플리케이션의 ID입니다.

callback

ServiceCallback<void>

콜백

get(string, RequestOptionsBase)

지정된 이름의 애플리케이션 리소스에 대한 정보를 가져옵니다. 정보에는 애플리케이션의 설명 및 기타 속성이 포함됩니다.

function get(applicationResourceName: string, options?: RequestOptionsBase): Promise<MeshApplicationGetResponse>

매개 변수

applicationResourceName

string

애플리케이션의 ID입니다.

options
RequestOptionsBase

선택적 매개 변수

반환

Models.MeshApplicationGetResponse를 약속<합니다.>

get(string, RequestOptionsBase, ServiceCallback<ApplicationResourceDescription>)

function get(applicationResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceDescription>)

매개 변수

applicationResourceName

string

애플리케이션의 ID입니다.

options
RequestOptionsBase

선택적 매개 변수

get(string, ServiceCallback<ApplicationResourceDescription>)

function get(applicationResourceName: string, callback: ServiceCallback<ApplicationResourceDescription>)

매개 변수

applicationResourceName

string

애플리케이션의 ID입니다.

getUpgradeProgress(string, RequestOptionsBase)

지정된 이름을 가진 애플리케이션 리소스에 대한 업그레이드 진행률 정보를 가져옵니다. 이 정보에는 완료율 및 애플리케이션 리소스의 기타 업그레이드 상태 정보가 포함됩니다.

function getUpgradeProgress(applicationResourceName: string, options?: RequestOptionsBase): Promise<MeshApplicationGetUpgradeProgressResponse>

매개 변수

applicationResourceName

string

애플리케이션의 ID입니다.

options
RequestOptionsBase

선택적 매개 변수

반환

Models.MeshApplicationGetUpgradeProgressResponse를 약속합니다<.>

getUpgradeProgress(string, RequestOptionsBase, ServiceCallback<ApplicationResourceUpgradeProgressInfo>)

function getUpgradeProgress(applicationResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceUpgradeProgressInfo>)

매개 변수

applicationResourceName

string

애플리케이션의 ID입니다.

options
RequestOptionsBase

선택적 매개 변수

getUpgradeProgress(string, ServiceCallback<ApplicationResourceUpgradeProgressInfo>)

function getUpgradeProgress(applicationResourceName: string, callback: ServiceCallback<ApplicationResourceUpgradeProgressInfo>)

매개 변수

applicationResourceName

string

애플리케이션의 ID입니다.

list(RequestOptionsBase)

지정된 리소스 그룹의 모든 애플리케이션 리소스에 대한 정보를 가져옵니다. 정보에는 애플리케이션의 설명 및 기타 속성이 포함됩니다.

function list(options?: RequestOptionsBase): Promise<MeshApplicationListResponse>

매개 변수

options
RequestOptionsBase

선택적 매개 변수

반환

Models.MeshApplicationListResponse를 약속<합니다.>

list(RequestOptionsBase, ServiceCallback<PagedApplicationResourceDescriptionList>)

function list(options: RequestOptionsBase, callback: ServiceCallback<PagedApplicationResourceDescriptionList>)

매개 변수

options
RequestOptionsBase

선택적 매개 변수

list(ServiceCallback<PagedApplicationResourceDescriptionList>)

function list(callback: ServiceCallback<PagedApplicationResourceDescriptionList>)

매개 변수