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