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