GetNetworkInsightsAnalysisForwardPathComponentInboundHeader.fromMap constructor
GetNetworkInsightsAnalysisForwardPathComponentInboundHeader.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetNetworkInsightsAnalysisForwardPathComponentInboundHeader.fromMap(Map<String, dynamic> map) {
return GetNetworkInsightsAnalysisForwardPathComponentInboundHeader(
destinationAddresses: pulumi.Input.fromValue((map['destinationAddresses'] as List).cast<String>()),
destinationPortRanges: pulumi.Input.fromValue(pulumi.Input.decodeList<GetNetworkInsightsAnalysisForwardPathComponentInboundHeaderDestinationPortRange>(map['destinationPortRanges']!, (value) => GetNetworkInsightsAnalysisForwardPathComponentInboundHeaderDestinationPortRange.fromMap((value as Map).cast<String, dynamic>()))),
protocol: pulumi.Input.fromValue(map['protocol'] as String),
sourceAddresses: pulumi.Input.fromValue((map['sourceAddresses'] as List).cast<String>()),
sourcePortRanges: pulumi.Input.fromValue(pulumi.Input.decodeList<GetNetworkInsightsAnalysisForwardPathComponentInboundHeaderSourcePortRange>(map['sourcePortRanges']!, (value) => GetNetworkInsightsAnalysisForwardPathComponentInboundHeaderSourcePortRange.fromMap((value as Map).cast<String, dynamic>()))),
);
}