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

	if args.ApplicationObjectId == nil {
		return nil, errors.New("invalid value for required argument 'ApplicationObjectId'")
	}
	if args.Audiences == nil {
		return nil, errors.New("invalid value for required argument 'Audiences'")
	}
	if args.DisplayName == nil {
		return nil, errors.New("invalid value for required argument 'DisplayName'")
	}
	if args.Issuer == nil {
		return nil, errors.New("invalid value for required argument 'Issuer'")
	}
	if args.Subject == nil {
		return nil, errors.New("invalid value for required argument 'Subject'")
	}
	var resource ApplicationFederatedIdentityCredential
	err := ctx.RegisterResource("azuread:index/applicationFederatedIdentityCredential:ApplicationFederatedIdentityCredential", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// NewApplicationFederatedIdentityCredential registers a new resource with the given unique name, arguments, and options.
NewApplicationFederatedIdentityCredential registers a new resource with the given unique name, arguments, and options.
// NewApplicationFederatedIdentityCredential registers a new resource with the given unique name arguments and options .
func NewApplicationFederatedIdentityCredential(ctx *pulumi.Context,
	name string, args *ApplicationFederatedIdentityCredentialArgs, opts ...pulumi.ResourceOption) (*ApplicationFederatedIdentityCredential, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}
	if args.ApplicationObjectId == nil {
		return nil, errors.New("invalid value for required argument 'ApplicationObjectId'")
	}
	if args.Audiences == nil {
		return nil, errors.New("invalid value for required argument 'Audiences'")
	}
	if args.DisplayName == nil {
		return nil, errors.New("invalid value for required argument 'DisplayName'")
	}
	if args.Issuer == nil {
		return nil, errors.New("invalid value for required argument 'Issuer'")
	}
	if args.Subject == nil {
		return nil, errors.New("invalid value for required argument 'Subject'")
	}
	var resource ApplicationFederatedIdentityCredential
	err := ctx.RegisterResource("azuread:index/applicationFederatedIdentityCredential:ApplicationFederatedIdentityCredential", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewApplicationFederatedIdentityCredential ( ctx * pulumi . Context , name string , args * ApplicationFederatedIdentityCredentialArgs , opts ... pulumi . ResourceOption ) ( * ApplicationFederatedIdentityCredential , error ) { if args == nil { return nil , errors . New ( " " ) } if args . ApplicationObjectId == nil { return nil , errors . New ( " " ) } if args . Audiences == nil { return nil , errors . New ( " " ) } if args . DisplayName == nil { return nil , errors . New ( " " ) } if args . Issuer == nil { return nil , errors . New ( " " ) } if args . Subject == nil { return nil , errors . New ( " " ) } var resource ApplicationFederatedIdentityCredential err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewApplicationFederatedIdentityCredential registers a new resource with the given unique name, arguments, and options.
NewApplicationFederatedIdentityCredential registers a new resource with the given unique name arguments and options .