func GetPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyState, opts ...pulumi.ResourceOption) (*Policy, error) {
	var resource Policy
	err := ctx.ReadResource("azure:devtest/policy:Policy", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// GetPolicy gets an existing Policy resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
GetPolicy gets an existing Policy resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
// GetPolicy gets an existing Policy 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 GetPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyState, opts ...pulumi.ResourceOption) (*Policy, error) {
	var resource Policy
	err := ctx.ReadResource("azure:devtest/policy:Policy", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func GetPolicy ( ctx * pulumi . Context , name string , id pulumi . IDInput , state * PolicyState , opts ... pulumi . ResourceOption ) ( * Policy , error ) { var resource Policy err := ctx . ReadResource ( " " , name , id , state , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
GetPolicy gets an existing Policy resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
GetPolicy gets an existing Policy resource ' s state with the given name ID and optional state properties that are used to uniquely qualify the lookup ( nil if not required ) .