SecurityGatewayApplicationUpstreamExternalEndpoint.fromMap constructor

SecurityGatewayApplicationUpstreamExternalEndpoint.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory SecurityGatewayApplicationUpstreamExternalEndpoint.fromMap(Map<String, dynamic> map) {
  return SecurityGatewayApplicationUpstreamExternalEndpoint(
    hostname: pulumi.Input.fromValue(map['hostname'] as String),
    port: pulumi.Input.fromValue((map['port'] as num).toInt()),
  );
}