ResourcePolicySnapshotSchedulePolicyResponseComputeBeta.fromMap constructor

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

Implementation

factory ResourcePolicySnapshotSchedulePolicyResponseComputeBeta.fromMap(Map<String, dynamic> map) {
  return ResourcePolicySnapshotSchedulePolicyResponseComputeBeta(
    retentionPolicy: pulumi.Input.fromValue(ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponseComputeBeta.fromMap((map['retentionPolicy']! as Map).cast<String, dynamic>())),
    schedule: pulumi.Input.fromValue(ResourcePolicySnapshotSchedulePolicyScheduleResponseComputeBeta.fromMap((map['schedule']! as Map).cast<String, dynamic>())),
    snapshotProperties: pulumi.Input.fromValue(ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponseComputeBeta.fromMap((map['snapshotProperties']! as Map).cast<String, dynamic>())),
  );
}