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