GetNetworkInsightsAnalysisReturnPathComponentOutboundHeader.fromMap constructor
GetNetworkInsightsAnalysisReturnPathComponentOutboundHeader.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetNetworkInsightsAnalysisReturnPathComponentOutboundHeader.fromMap(Map<String, dynamic> map) {
return GetNetworkInsightsAnalysisReturnPathComponentOutboundHeader(
destinationAddresses: pulumi.Input.fromValue((map['destinationAddresses'] as List).cast<String>()),
destinationPortRanges: pulumi.Input.fromValue(pulumi.Input.decodeList<GetNetworkInsightsAnalysisReturnPathComponentOutboundHeaderDestinationPortRange>(map['destinationPortRanges']!, (value) => GetNetworkInsightsAnalysisReturnPathComponentOutboundHeaderDestinationPortRange.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<GetNetworkInsightsAnalysisReturnPathComponentOutboundHeaderSourcePortRange>(map['sourcePortRanges']!, (value) => GetNetworkInsightsAnalysisReturnPathComponentOutboundHeaderSourcePortRange.fromMap((value as Map).cast<String, dynamic>()))),
);
}