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

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