func GetReplicationPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReplicationPolicyState, opts ...pulumi.ResourceOption) (*ReplicationPolicy, error) {
	var resource ReplicationPolicy
	err := ctx.ReadResource("azure:siterecovery/replicationPolicy:ReplicationPolicy", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// GetReplicationPolicy gets an existing ReplicationPolicy resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
GetReplicationPolicy gets an existing ReplicationPolicy resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
// GetReplicationPolicy gets an existing ReplicationPolicy resource ' s state with the given name ID and optional // state properties that are used to uniquely qualify the lookup ( nil if not required ) .
func GetReplicationPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReplicationPolicyState, opts ...pulumi.ResourceOption) (*ReplicationPolicy, error) {
	var resource ReplicationPolicy
	err := ctx.ReadResource("azure:siterecovery/replicationPolicy:ReplicationPolicy", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func GetReplicationPolicy ( ctx * pulumi . Context , name string , id pulumi . IDInput , state * ReplicationPolicyState , opts ... pulumi . ResourceOption ) ( * ReplicationPolicy , error ) { var resource ReplicationPolicy err := ctx . ReadResource ( " " , name , id , state , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
GetReplicationPolicy gets an existing ReplicationPolicy resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
GetReplicationPolicy gets an existing ReplicationPolicy resource ' s state with the given name ID and optional state properties that are used to uniquely qualify the lookup ( nil if not required ) .