func NewDataConnectorMicrosoftDefenderAdvancedThreatProtection(ctx *pulumi.Context,
	name string, args *DataConnectorMicrosoftDefenderAdvancedThreatProtectionArgs, opts ...pulumi.ResourceOption) (*DataConnectorMicrosoftDefenderAdvancedThreatProtection, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}

	if args.LogAnalyticsWorkspaceId == nil {
		return nil, errors.New("invalid value for required argument 'LogAnalyticsWorkspaceId'")
	}
	var resource DataConnectorMicrosoftDefenderAdvancedThreatProtection
	err := ctx.RegisterResource("azure:sentinel/dataConnectorMicrosoftDefenderAdvancedThreatProtection:DataConnectorMicrosoftDefenderAdvancedThreatProtection", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// NewDataConnectorMicrosoftDefenderAdvancedThreatProtection registers a new resource with the given unique name, arguments, and options.
NewDataConnectorMicrosoftDefenderAdvancedThreatProtection registers a new resource with the given unique name, arguments, and options.
// NewDataConnectorMicrosoftDefenderAdvancedThreatProtection registers a new resource with the given unique name arguments and options .
func NewDataConnectorMicrosoftDefenderAdvancedThreatProtection(ctx *pulumi.Context,
	name string, args *DataConnectorMicrosoftDefenderAdvancedThreatProtectionArgs, opts ...pulumi.ResourceOption) (*DataConnectorMicrosoftDefenderAdvancedThreatProtection, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}
	if args.LogAnalyticsWorkspaceId == nil {
		return nil, errors.New("invalid value for required argument 'LogAnalyticsWorkspaceId'")
	}
	var resource DataConnectorMicrosoftDefenderAdvancedThreatProtection
	err := ctx.RegisterResource("azure:sentinel/dataConnectorMicrosoftDefenderAdvancedThreatProtection:DataConnectorMicrosoftDefenderAdvancedThreatProtection", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewDataConnectorMicrosoftDefenderAdvancedThreatProtection ( ctx * pulumi . Context , name string , args * DataConnectorMicrosoftDefenderAdvancedThreatProtectionArgs , opts ... pulumi . ResourceOption ) ( * DataConnectorMicrosoftDefenderAdvancedThreatProtection , error ) { if args == nil { return nil , errors . New ( " " ) } if args . LogAnalyticsWorkspaceId == nil { return nil , errors . New ( " " ) } var resource DataConnectorMicrosoftDefenderAdvancedThreatProtection err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewDataConnectorMicrosoftDefenderAdvancedThreatProtection registers a new resource with the given unique name, arguments, and options.
NewDataConnectorMicrosoftDefenderAdvancedThreatProtection registers a new resource with the given unique name arguments and options .