다음을 통해 공유


MeshGateway class

MeshGateway를 나타내는 클래스입니다.

생성자

MeshGateway(ServiceFabricClientContext)

MeshGateway를 만듭니다.

메서드

createOrUpdate(string, GatewayResourceDescription, RequestOptionsBase)

지정된 이름, 설명 및 속성을 사용하여 게이트웨이 리소스를 만듭니다. 이름이 같은 게이트웨이 리소스가 있는 경우 지정된 설명 및 속성으로 업데이트됩니다. 게이트웨이 리소스를 사용하여 애플리케이션 서비스에 대한 공용 연결을 제공합니다.

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

이름으로 식별되는 게이트웨이 리소스를 삭제합니다.

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

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

get(string, RequestOptionsBase, ServiceCallback<GatewayResourceDescription>)
get(string, ServiceCallback<GatewayResourceDescription>)
list(RequestOptionsBase)

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

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

생성자 세부 정보

MeshGateway(ServiceFabricClientContext)

MeshGateway를 만듭니다.

new MeshGateway(client: ServiceFabricClientContext)

매개 변수

client
ServiceFabricClientContext

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

메서드 세부 정보

createOrUpdate(string, GatewayResourceDescription, RequestOptionsBase)

지정된 이름, 설명 및 속성을 사용하여 게이트웨이 리소스를 만듭니다. 이름이 같은 게이트웨이 리소스가 있는 경우 지정된 설명 및 속성으로 업데이트됩니다. 게이트웨이 리소스를 사용하여 애플리케이션 서비스에 대한 공용 연결을 제공합니다.

function createOrUpdate(gatewayResourceName: string, gatewayResourceDescription: GatewayResourceDescription, options?: RequestOptionsBase): Promise<MeshGatewayCreateOrUpdateResponse>

매개 변수

gatewayResourceName

string

게이트웨이의 ID입니다.

gatewayResourceDescription
GatewayResourceDescription

게이트웨이 리소스 만들기에 대한 설명입니다.

options
RequestOptionsBase

선택적 매개 변수

반환

Promise<Models.MeshGatewayCreateOrUpdateResponse>

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

function createOrUpdate(gatewayResourceName: string, gatewayResourceDescription: GatewayResourceDescription, options: RequestOptionsBase, callback: ServiceCallback<GatewayResourceDescription>)

매개 변수

gatewayResourceName

string

게이트웨이의 ID입니다.

gatewayResourceDescription
GatewayResourceDescription

게이트웨이 리소스 만들기에 대한 설명입니다.

options
RequestOptionsBase

선택적 매개 변수

createOrUpdate(string, GatewayResourceDescription, ServiceCallback<GatewayResourceDescription>)

function createOrUpdate(gatewayResourceName: string, gatewayResourceDescription: GatewayResourceDescription, callback: ServiceCallback<GatewayResourceDescription>)

매개 변수

gatewayResourceName

string

게이트웨이의 ID입니다.

gatewayResourceDescription
GatewayResourceDescription

게이트웨이 리소스 만들기에 대한 설명입니다.

deleteMethod(string, RequestOptionsBase)

이름으로 식별되는 게이트웨이 리소스를 삭제합니다.

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

매개 변수

gatewayResourceName

string

게이트웨이의 ID입니다.

options
RequestOptionsBase

선택적 매개 변수

반환

Promise<RestResponse>

promise<msRest.RestResponse>

deleteMethod(string, RequestOptionsBase, ServiceCallback<void>)

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

매개 변수

gatewayResourceName

string

게이트웨이의 ID입니다.

options
RequestOptionsBase

선택적 매개 변수

callback

ServiceCallback<void>

콜백

deleteMethod(string, ServiceCallback<void>)

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

매개 변수

gatewayResourceName

string

게이트웨이의 ID입니다.

callback

ServiceCallback<void>

콜백

get(string, RequestOptionsBase)

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

function get(gatewayResourceName: string, options?: RequestOptionsBase): Promise<MeshGatewayGetResponse>

매개 변수

gatewayResourceName

string

게이트웨이의 ID입니다.

options
RequestOptionsBase

선택적 매개 변수

반환

Promise Models.MeshGatewayGetResponse<>

get(string, RequestOptionsBase, ServiceCallback<GatewayResourceDescription>)

function get(gatewayResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<GatewayResourceDescription>)

매개 변수

gatewayResourceName

string

게이트웨이의 ID입니다.

options
RequestOptionsBase

선택적 매개 변수

get(string, ServiceCallback<GatewayResourceDescription>)

function get(gatewayResourceName: string, callback: ServiceCallback<GatewayResourceDescription>)

매개 변수

gatewayResourceName

string

게이트웨이의 ID입니다.

list(RequestOptionsBase)

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

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

매개 변수

options
RequestOptionsBase

선택적 매개 변수

반환

Promise<Models.MeshGatewayListResponse를 사용합니다.>

list(RequestOptionsBase, ServiceCallback<PagedGatewayResourceDescriptionList>)

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

매개 변수

options
RequestOptionsBase

선택적 매개 변수

list(ServiceCallback<PagedGatewayResourceDescriptionList>)

function list(callback: ServiceCallback<PagedGatewayResourceDescriptionList>)

매개 변수