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