GetDistributionTenantCustomizationGeoRestriction.fromMap constructor

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

Implementation

factory GetDistributionTenantCustomizationGeoRestriction.fromMap(Map<String, dynamic> map) {
  return GetDistributionTenantCustomizationGeoRestriction(
    locations: pulumi.Input.fromValue((map['locations'] as List).cast<String>()),
    restrictionType: pulumi.Input.fromValue(map['restrictionType'] as String),
  );
}