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